mbgtools-lx  4.2.8
PTP_CFG_INFO Struct Reference

A structure to used to query the current configuration and capabilities of a PTP port. More...

#include <gpsdefs.h>

Data Fields

PTP_CFG_SETTINGS settings
 the current configuration More...
 
uint8_t ptp_proto_version
 PTP protocol version, 1, or 2, usually 2 for v2. More...
 
uint8_t reserved_1
 reserved, currently always 0 More...
 
uint16_t supp_flags_ex
 A bit mask of extended supported features, see PTP_CFG_FLAG_EX_MASKS. More...
 
int16_t sync_intv_min
 log2 of minimum sync interval [s] More...
 
int16_t sync_intv_max
 log2 of maximum sync interval [s] More...
 
int16_t ann_intv_min
 log2 of minimum announce interval [s] More...
 
int16_t ann_intv_max
 log2 of maximum announce interval [s] More...
 
int16_t delay_req_intv_min
 log2 of minimum delay request interval [s] More...
 
int16_t delay_req_intv_max
 log2 of maximum delay request interval [s] More...
 
uint32_t supp_flags
 a bit mask of supported features, see PTP_CFG_FLAG_MASKS More...
 
uint32_t supp_nw_prot
 a bit mask of supported network protocols, see PTP_NW_PROT_MASKS More...
 
uint32_t supp_opt_ext
 a bit mask of supported optional extensions, see PTP_OPT_EXT_MASKS More...
 
uint32_t supp_delay_mech
 a bit mask of supported delay mechanisms, see PTP_DELAY_MECH_MASKS More...
 

Detailed Description

A structure to used to query the current configuration and capabilities of a PTP port.

Definition at line 13342 of file gpsdefs.h.

Field Documentation

◆ ann_intv_max

int16_t PTP_CFG_INFO::ann_intv_max

log2 of maximum announce interval [s]

Definition at line 13353 of file gpsdefs.h.

◆ ann_intv_min

int16_t PTP_CFG_INFO::ann_intv_min

log2 of minimum announce interval [s]

Definition at line 13352 of file gpsdefs.h.

◆ delay_req_intv_max

int16_t PTP_CFG_INFO::delay_req_intv_max

log2 of maximum delay request interval [s]

Definition at line 13355 of file gpsdefs.h.

◆ delay_req_intv_min

int16_t PTP_CFG_INFO::delay_req_intv_min

log2 of minimum delay request interval [s]

Definition at line 13354 of file gpsdefs.h.

◆ ptp_proto_version

uint8_t PTP_CFG_INFO::ptp_proto_version

PTP protocol version, 1, or 2, usually 2 for v2.

Definition at line 13346 of file gpsdefs.h.

◆ reserved_1

uint8_t PTP_CFG_INFO::reserved_1

reserved, currently always 0

Definition at line 13347 of file gpsdefs.h.

◆ settings

PTP_CFG_SETTINGS PTP_CFG_INFO::settings

the current configuration

Definition at line 13344 of file gpsdefs.h.

Referenced by mbg_save_all_ptp_cfg_info(), set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ supp_delay_mech

uint32_t PTP_CFG_INFO::supp_delay_mech

a bit mask of supported delay mechanisms, see PTP_DELAY_MECH_MASKS

Definition at line 13360 of file gpsdefs.h.

Referenced by set_ptp_cfg().

◆ supp_flags

uint32_t PTP_CFG_INFO::supp_flags

a bit mask of supported features, see PTP_CFG_FLAG_MASKS

Definition at line 13357 of file gpsdefs.h.

Referenced by mbg_get_all_ptp_cfg_info(), mbg_save_all_ptp_cfg_info(), set_ptp_cfg(), and show_ptp_cfg().

◆ supp_flags_ex

uint16_t PTP_CFG_INFO::supp_flags_ex

A bit mask of extended supported features, see PTP_CFG_FLAG_EX_MASKS.

Definition at line 13348 of file gpsdefs.h.

◆ supp_nw_prot

uint32_t PTP_CFG_INFO::supp_nw_prot

a bit mask of supported network protocols, see PTP_NW_PROT_MASKS

Definition at line 13358 of file gpsdefs.h.

Referenced by set_ptp_cfg().

◆ supp_opt_ext

uint32_t PTP_CFG_INFO::supp_opt_ext

a bit mask of supported optional extensions, see PTP_OPT_EXT_MASKS

Definition at line 13359 of file gpsdefs.h.

◆ sync_intv_max

int16_t PTP_CFG_INFO::sync_intv_max

log2 of maximum sync interval [s]

Definition at line 13351 of file gpsdefs.h.

◆ sync_intv_min

int16_t PTP_CFG_INFO::sync_intv_min

log2 of minimum sync interval [s]

Definition at line 13350 of file gpsdefs.h.


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