|
mbgtools-lx
4.2.8
|
NTP restriction. More...
#include <gpsdefs.h>
Data Fields | |
| uint8_t | type |
| Restriction type, see NTP_RESTR_TYPES. More... | |
| uint8_t | reserved_1 |
| Future use. More... | |
| uint16_t | reserved_2 |
| Future use. More... | |
| uint32_t | flags |
| Restriction flags, see NTP_RESTR_FLAG_MSKS. More... | |
| MBG_HOSTNAME | addr |
NTP restriction.
Structure contains all flags and information needed for a valid NTP restriction as described at ntp.org's manual page.
| MBG_HOSTNAME NTP_RESTR::addr |
used if NTP_RESTR::type == NTP_RESTR_TYPE_ADDRESS can contain a hostname, or an IPv4 or IPv6 address with or without CIDR extension (eg. 172.16.0.0/16).
| uint32_t NTP_RESTR::flags |
Restriction flags, see NTP_RESTR_FLAG_MSKS.
| uint8_t NTP_RESTR::type |
Restriction type, see NTP_RESTR_TYPES.