73#define NTP_FL_LI_UNKNOWN 0xc0
76#define NTP_FL_VN_1 0x20
79#define NTP_FL_MODE_CLIENT 0x03
82#define NTP_FL_MODE_SERVER 0x04
85#define NTP_FL_MODE_MASK 0x07
88#define NTP_EPOCH 2208988800UL
94#define NTP_FRACTION_MAGIC 0x69505845UL
100#define NTP_MIN_TIMEOUT ( 1 * TICKS_PER_SEC )
106#define NTP_MAX_TIMEOUT ( 10 * TICKS_PER_SEC )
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int start_ntp(struct interface *job, const char *hostname)
Start NTP client.
An NTP short-format timestamp.
uint16_t fraction
Fraction of a second.
uint32_t fraction
Fraction of a second.
An NTP reference identifier.
struct in_addr in
IPv4 address.
uint32_t opaque
Opaque integer.
char text[4]
Textual identifier.