mbgtools-lx  4.2.8
NTP_RESTR Struct Reference

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
 

Detailed Description

NTP restriction.

Structure contains all flags and information needed for a valid NTP restriction as described at ntp.org's manual page.

Definition at line 15400 of file gpsdefs.h.

Field Documentation

◆ addr

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).

Definition at line 15407 of file gpsdefs.h.

◆ flags

uint32_t NTP_RESTR::flags

Restriction flags, see NTP_RESTR_FLAG_MSKS.

Definition at line 15405 of file gpsdefs.h.

◆ reserved_1

uint8_t NTP_RESTR::reserved_1

Future use.

Definition at line 15403 of file gpsdefs.h.

◆ reserved_2

uint16_t NTP_RESTR::reserved_2

Future use.

Definition at line 15404 of file gpsdefs.h.

◆ type

uint8_t NTP_RESTR::type

Restriction type, see NTP_RESTR_TYPES.

Definition at line 15402 of file gpsdefs.h.


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