14 /* TODO BYTEORDER!!! */
33 /* Defines for which parts have been modified
35 #define NTP_MOD_LEAP (1)
36 #define NTP_MOD_STATUS (1<<1)
37 #define NTP_MOD_TYPE (1<<2)
38 #define NTP_MOD_PRECISION (1<<3)
39 #define NTP_MOD_ERROR (1<<4)
40 #define NTP_MOD_DRIFT (1<<5)
41 #define NTP_MOD_REF (1<<6)
42 #define NTP_MOD_REFERENCE (1<<7)
43 #define NTP_MOD_ORIGINATE (1<<8)
44 #define NTP_MOD_RECEIVE (1<<9)
45 #define NTP_MOD_TRANSMIT (1<<10)
49 sendip_option ntp_opts[] = {
50 {"l",1,"NTP Leap Indicator","00 (no warning)"},
51 {"s",1,"NTP status","0 (clock operating OK)"},
52 {"t",1,"NTP type","0 (unspecified)"},
53 {"p",1,"NTP precision","0"},
54 {"e",1,"NTP estimated error","0.0"},
55 {"d",1,"NTP estimated drift rate","0.0"},
56 {"r",1,"NTP reference clock ID (string or IP or number)","0"},
57 {"f",1,"NTP reference timestamp","0.0"},
58 {"o",1,"NTP originate timestamp","0.0"},
59 {"a",1,"NTP arrival (receive) timestamp","0.0"},
60 {"x",1,"NTP xmit (transmit) timestamp","0.0"}
63 #endif /* _SENDIP_NTP_H */