state-disabled.c 389 Bytes
Newer Older
1
/*
2 3
 * Copyright (C) 2011 CERN (www.cern.ch)
 * Author: Aurelio Colosimo
4
 * Based on PTPd project v. 2.1.0 (see AUTHORS for details)
5 6
 *
 * Released according to the GNU LGPL, version 2.1 or any later version.
7
 */
8

Alessandro Rubini's avatar
Alessandro Rubini committed
9
#include <ppsi/ppsi.h>
10 11 12

int pp_disabled(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
13 14
	/* nothing to do */
	ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
15 16
	return 0;
}