Data Fields
ntp_header Struct Reference

An NTP header. More...

#include <ntp.h>

Data Fields

uint8_t flags
 Flags. More...
uint8_t stratum
 Stratum. More...
int8_t poll
 Polling rate. More...
int8_t precision
 Precision. More...
struct ntp_short delay
 Root delay. More...
struct ntp_short dispersion
 Root dispersion. More...
union ntp_id id
 Reference clock identifier. More...
struct ntp_timestamp reference
 Reference timestamp. More...
struct ntp_timestamp originate
 Originate timestamp. More...
struct ntp_timestamp receive
 Receive timestamp. More...
struct ntp_timestamp transmit
 Transmit timestamp. More...

Detailed Description

An NTP header.

Definition at line 46 of file ntp.h.

Field Documentation

◆ flags

uint8_t ntp_header::flags


Definition at line 48 of file ntp.h.

◆ stratum

uint8_t ntp_header::stratum


Definition at line 50 of file ntp.h.

◆ poll

int8_t ntp_header::poll

Polling rate.

Definition at line 52 of file ntp.h.

◆ precision

int8_t ntp_header::precision


Definition at line 54 of file ntp.h.

◆ delay

struct ntp_short ntp_header::delay

Root delay.

Definition at line 56 of file ntp.h.

◆ dispersion

struct ntp_short ntp_header::dispersion

Root dispersion.

Definition at line 58 of file ntp.h.

◆ id

union ntp_id ntp_header::id

Reference clock identifier.

Definition at line 60 of file ntp.h.

◆ reference

struct ntp_timestamp ntp_header::reference

Reference timestamp.

Definition at line 62 of file ntp.h.

◆ originate

struct ntp_timestamp ntp_header::originate

Originate timestamp.

Definition at line 64 of file ntp.h.

◆ receive

struct ntp_timestamp ntp_header::receive

Receive timestamp.

Definition at line 66 of file ntp.h.

◆ transmit

struct ntp_timestamp ntp_header::transmit

Transmit timestamp.

Definition at line 68 of file ntp.h.

The documentation for this struct was generated from the following file: