mbgtools-lx  4.2.8
Definitions used with PTP/IEEE1588

Modules

 Bit masks used with PTP_CFG_INFO::supp_flags and PTP_CFG_SETTINGS::flags
 
 Bit masks used with PTP_CFG_INFO::supp_flags_ex and PTP_CFG_SETTINGS::flags_ex
 

Data Structures

struct  PTP_TABLE
 An entry for a table of parameters which can not be accessed by an enumerated index. More...
 
struct  PTP_CLOCK_ID
 A PTP clock identity. More...
 
struct  PTP_PORT_IDENTITY
 A PTP port identity. More...
 
struct  PTP_CLOCK_QUALITY
 PTP clock quality. More...
 
struct  PTP_TIME_INTERVAL
 PTP time interval. More...
 
struct  PTP_STATE
 A structure to used to read the status of the PTP protocol stack. More...
 
struct  PTP_CFG_SETTINGS
 A structure used to configure a PTP port. More...
 
struct  PTP_CFG_INFO
 A structure to used to query the current configuration and capabilities of a PTP port. More...
 
struct  PTP_POWER_PROFILE_CFG
 
struct  PTP_SMPTE_PROFILE_CFG
 Additional parameters for SMPTE ST 2059-2 profile. More...
 
struct  PTP_TELECOMG8275_PROFILE_CFG
 Additional parameters for Telecom8275.1 profile. More...
 
struct  PTP_UC_MASTER_CFG_LIMITS
 Limits to be considered when specifying PTP unicast masters. More...
 
struct  PTP_UC_MASTER_SETTINGS
 Configuration settings specifiying how to query a PTP unicast master. More...
 
struct  PTP_UC_MASTER_SETTINGS_IDX
 Configuration settings for a specific PTP unicast master. More...
 
struct  PTP_UC_MASTER_INFO
 Current settings and general capabilities of a unicast master. More...
 
struct  PTP_UC_MASTER_INFO_IDX
 Current settings and general capabilities of a specific unicast master. More...
 
struct  MBG_PTP_STATISTICS_SETTINGS
 
struct  MBG_PTP_STATISTICS_INFO
 
struct  MBG_PTP_STATISTICS_STATUS
 
struct  PTP_V1_UUID
 PTPv1 UUID structure used in MBG_PTP_V1_DEFAULT_DATASET. More...
 
struct  MBG_PTP_V1_DEFAULT_DATASET
 PTPv1 default dataset containing global information about the device. More...
 
struct  MBG_PTP_V1_CURRENT_DATASET
 PTPv1 current dataset containing information about the synchronization status of the device. More...
 
struct  MBG_PTP_V1_PARENT_DATASET
 PTPv1 parent dataset containing information about the master (parent) of the device. More...
 
struct  MBG_PTP_V1_TIME_PROPERTIES_DATASET
 PTPv1 time drop dataset. More...
 
struct  MBG_PTP_V1_PORT_DATASET
 PTPv1 port dataset containing information about the appropriate port of the device. More...
 
struct  MBG_PTP_V1_PORT_DATASET_IDX
 Index structure for PTPv1 port dataset. More...
 
struct  MBG_PTP_V2_DEFAULT_DATASET_FLAGS
 Flags structure for the PTPv2 default dataset. More...
 
struct  MBG_PTP_V2_DEFAULT_DATASET
 PTPv2 default dataset. More...
 
struct  MBG_PTP_V2_CURRENT_DATASET
 PTPv2 current dataset. More...
 
struct  MBG_PTP_V2_PARENT_DATASET_FLAGS
 Flags structure for the PTPv2 parent dataset. More...
 
struct  MBG_PTP_V2_PARENT_DATASET
 PTPv2 parent dataset. More...
 
struct  MBG_PTP_V2_TIME_PROPERTIES_DATASET_FLAGS
 Flags structure for the PTPv2 time properties dataset. More...
 
struct  MBG_PTP_V2_TIME_PROPERTIES_DATASET
 PTPv2 time properties dataset. More...
 
struct  MBG_PTP_V2_PORT_DATASET
 PTPv2 port dataset. More...
 
struct  MBG_PTP_V2_PORT_DATASET_IDX
 Index structure for PTPv2 port dataset. More...
 

Macros

#define PTP_NW_PROT_STRS
 Name strings for the protocols possibly used with PTP. More...
 
#define PTP_NW_PROT_STRS_SHORT
 Short name strings for the protocols possibly used with PTP. More...
 
#define PTP_PORT_STATE_STRS
 Name strings for the PTP port states. More...
 
#define PTP_DELAY_MECH_NAME_E2E   "E2E"
 
#define PTP_DELAY_MECH_NAME_P2P   "P2P"
 
#define PTP_DELAY_MECH_NAMES
 Name strings for the PTP delay mechanisms. More...
 
#define PTP_CLOCK_ACCURACY_STRS
 Name strings for PTP accuracy classes. More...
 
#define PTP_TIME_SOURCE_TABLE
 A table of PTP time source codes plus associated name strings. More...
 
#define PTP_ROLE_MSK_SLAVES
 
#define PTP_ROLE_MSK_MASTERS
 
#define PTP_ROLE_STRS
 Name strings for defined PTP roles. More...
 
#define PTP_ROLE_STRS_SHORT
 Short name strings for defined PTP roles. More...
 
#define _mbg_swab_ptp_clock_id(_p)   _nop_macro_fnc()
 
#define PTP_CLOCK_ID_WILDCARD   { { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } }
 
#define _mbg_swab_ptp_port_id(_p)   _mbg_swab16( _p )
 
#define PTP_PORT_ID_WILDCARD   0xFFFF
 
#define _mbg_swab_ptp_port_identity(_p)
 
#define _mbg_swab_ptp_clock_quality(_p)
 
#define _mbg_swab_ptp_time_interval(_p)
 
#define PTP_TIMESCALE_NAME_PTP   "PTP Standard (TAI)"
 Name strings for the PTP time scales. More...
 
#define PTP_TIMESCALE_NAME_ARB   "Arbitrary"
 
#define PTP_TIMESCALE_NAME_PTP_SHORT   "PTP"
 Short name strings for the PTP time scales. More...
 
#define PTP_TIMESCALE_NAME_ARB_SHORT   "Arb"
 
#define PTP_TIMESCALE_NAMES
 A table of name strings for the PTP time scales. More...
 
#define PTP_TIMESCALE_NAMES_SHORT
 A table of short name strings for the PTP time scales. More...
 
#define _mbg_swab_ptp_state(_p)
 
#define _mbg_swab_ptp_cfg_settings(_p)
 
#define _mbg_swab_ptp_cfg_info(_p)
 
#define PTP_CFG_MSK_SUPPORT_PTP_UNICAST
 A bit mask of the unicast role bits within the flag bits. More...
 
#define PTP_PRESETS_STRS
 Name strings for defined PTP presets. More...
 
#define PTP_POWER_PROFILE_GM_ID_MIN   3
 Additional parameters for Power Profile. More...
 
#define PTP_POWER_PROFILE_GM_ID_MAX   255
 
#define _mbg_swab_ptp_power_profile_cfg(_p)
 
#define SMPTE_SYSTEM_FRAME_RATE_STR
 
#define SMPTE_FRAME_RATE_NUM
 
#define SMPTE_FRAME_RATE_DENUM
 
#define _mbg_swab_ptp_smpte_profile_cfg(_p)
 
#define _mbg_swab_ptp_telecom8275_profile_cfg(_p)
 
#define N_SSM_CODES_OPTION_1   5
 
#define N_SSM_CODES_OPTION_2   9
 
#define ITU_SSM_CODE_OPT_1_STRS
 Name strings for SSM codes, network option I. More...
 
#define ITU_SSM_CODE_OPT_2_STRS
 Name strings for SSM codes, network option II. More...
 
#define ITU_SSM_CODE_STRS_COMBINED
 Name strings for SSM codes, option I and II combined. More...
 
#define MAX_T1_SSM_QLVL   8
 Maximum T1 SSM only quality levels. More...
 
#define T1_SSM_QLVL_ARRAY
 T1 SSM only quality level array. More...
 
#define T1_SSM_QLVL_STRS
 Name strings for T1 SSM quality levels. More...
 
#define SDH_NETWORK_OPTION_STRS
 Name strings for SDH network options. More...
 
#define GBIT_LINK_STATUS_STRS
 
#define _mbg_swab_ptp_uc_master_cfg_limits(_p)
 
#define _mbg_swab_ptp_uc_master_settings(_p)
 
#define _mbg_swab_ptp_uc_master_settings_idx(_p)
 
#define _mbg_swab_ptp_uc_master_info(_p)
 
#define _mbg_swab_ptp_uc_master_info_idx(_p)
 
#define PTP_CODE_STRING_LENGTH   4
 
#define PTP_SUBDOMAIN_NAME_LENGTH   16
 
#define _mbg_swab_ptp_v1_uuid(_p)
 
#define _mbg_swab_ptp_v1_default_dataset(_p)
 
#define _mbg_swab_ptp_v1_current_dataset(_p)
 
#define _mbg_swab_ptp_v1_parent_dataset(_p)
 
#define _mbg_swab_ptp_v1_time_properties_dataset(_p)
 
#define _mbg_swab_ptp_v1_port_dataset(_p)
 
#define _mbg_swab_ptp_v1_port_dataset_idx(_p)
 
#define _mbg_swab_ptp_v2_default_dataset_flags(_p)   _nop_macro_fnc()
 
#define _mbg_swab_ptp_v2_default_dataset(_p)
 
#define _mbg_swab_ptp_v2_current_dataset(_p)
 
#define _mbg_swab_ptp_v2_parent_dataset_flags(_p)   _nop_macro_fnc()
 
#define _mbg_swab_ptp_v2_parent_dataset(_p)
 
#define _mbg_swab_ptp_v2_time_properties_dataset_flags(_p)   _nop_macro_fnc()
 
#define _mbg_swab_ptp_v2_time_properties_dataset(_p)
 
#define _mbg_swab_ptp_v2_port_dataset(_p)
 
#define _mbg_swab_ptp_v2_port_dataset_idx(_p)
 

Typedefs

typedef uint16_t PTP_PORT_ID
 A PTP port ID. More...
 
typedef uint16_t PTP_HW_FEATURES
 Register in TSU-GbE FPGA to determine board features of the current TSU board revision. More...
 
typedef uint16_t ITU_SSM_CODE
 A type which holds one of the ITU-T SSM codes. More...
 

Enumerations

enum  PTP_NW_PROTS {
  PTP_NW_PROT_RESERVED, PTP_NW_PROT_UDP_IPV4, PTP_NW_PROT_UDP_IPV6, PTP_NW_PROT_IEEE_802_3,
  PTP_NW_PROT_DEVICE_NET, PTP_NW_PROT_CONTROL_NET, PTP_NW_PROT_PROFINET, N_PTP_NW_PROT
}
 Enumeration of protocols possibly used with PTP. More...
 
enum  PTP_NW_PROT_MASKS {
  PTP_NW_PROT_MSK_RESERVED = ( 1UL << PTP_NW_PROT_RESERVED ), PTP_NW_PROT_MSK_UDP_IPV4 = ( 1UL << PTP_NW_PROT_UDP_IPV4 ), PTP_NW_PROT_MSK_UDP_IPV6 = ( 1UL << PTP_NW_PROT_UDP_IPV6 ), PTP_NW_PROT_MSK_IEEE_802_3 = ( 1UL << PTP_NW_PROT_IEEE_802_3 ),
  PTP_NW_PROT_MSK_DEVICE_NET = ( 1UL << PTP_NW_PROT_DEVICE_NET ), PTP_NW_PROT_MSK_CONTROL_NET = ( 1UL << PTP_NW_PROT_CONTROL_NET ), PTP_NW_PROT_MSK_PROFINET = ( 1UL << PTP_NW_PROT_PROFINET )
}
 Bit masks for enumerated protocols possibly used with PTP. More...
 
enum  PTP_PORT_STATES {
  PTP_PORT_STATE_UNINITIALIZED, PTP_PORT_STATE_INITIALIZING, PTP_PORT_STATE_FAULTY, PTP_PORT_STATE_DISABLED,
  PTP_PORT_STATE_LISTENING, PTP_PORT_STATE_PRE_MASTER, PTP_PORT_STATE_MASTER, PTP_PORT_STATE_PASSIVE,
  PTP_PORT_STATE_UNCALIBRATED, PTP_PORT_STATE_SLAVE, N_PTP_PORT_STATE
}
 Possible states of a PTP port. More...
 
enum  PTP_DELAY_MECHS { PTP_DELAY_MECH_E2E, PTP_DELAY_MECH_P2P, N_PTP_DELAY_MECH }
 An enumeration of PTP delay mechanisms. More...
 
enum  PTP_DELAY_MECH_MASKS { PTP_DELAY_MECH_MSK_E2E = ( 1UL << PTP_DELAY_MECH_E2E ), PTP_DELAY_MECH_MSK_P2P = ( 1UL << PTP_DELAY_MECH_P2P ) }
 Bit masks associated with enumerated PTP delay mechanisms. More...
 
enum  PTP_CLOCK_ACCURACIES {
  PTP_CLOCK_ACCURACY_NUM_BIAS = 0x20, PTP_CLOCK_ACCURACY_25ns = PTP_CLOCK_ACCURACY_NUM_BIAS, PTP_CLOCK_ACCURACY_100ns, PTP_CLOCK_ACCURACY_250ns,
  PTP_CLOCK_ACCURACY_1us, PTP_CLOCK_ACCURACY_2_5us, PTP_CLOCK_ACCURACY_10us, PTP_CLOCK_ACCURACY_25us,
  PTP_CLOCK_ACCURACY_100us, PTP_CLOCK_ACCURACY_250us, PTP_CLOCK_ACCURACY_1ms, PTP_CLOCK_ACCURACY_2_5ms,
  PTP_CLOCK_ACCURACY_10ms, PTP_CLOCK_ACCURACY_25ms, PTP_CLOCK_ACCURACY_100ms, PTP_CLOCK_ACCURACY_250ms,
  PTP_CLOCK_ACCURACY_1s, PTP_CLOCK_ACCURACY_10s, PTP_CLOCK_ACCURACY_MORE_10s, PTP_CLOCK_ACCURACY_RESERVED_1,
  PTP_CLOCK_ACCURACY_RESERVED_2, PTP_CLOCK_ACCURACY_RESERVED_3, PTP_CLOCK_ACCURACY_RESERVED_4, N_PTP_CLOCK_ACCURACY
}
 An enumeration of accuracy classes used with PTP. More...
 
enum  PTP_TIME_SOURCES {
  PTP_TIME_SOURCE_ATOMIC_CLOCK = 0x10, PTP_TIME_SOURCE_GPS = 0x20, PTP_TIME_SOURCE_TERRESTRIAL_RADIO = 0x30, PTP_TIME_SOURCE_PTP = 0x40,
  PTP_TIME_SOURCE_NTP = 0x50, PTP_TIME_SOURCE_HAND_SET = 0x60, PTP_TIME_SOURCE_OTHER = 0x90, PTP_TIME_SOURCE_INTERNAL_OSCILLATOR = 0xA0
}
 Codes to specify the type of a time source used with PTP. More...
 
enum  PTP_ROLES {
  PTP_ROLE_MULTICAST_SLAVE, PTP_ROLE_UNICAST_SLAVE, PTP_ROLE_MULTICAST_MASTER, PTP_ROLE_UNICAST_MASTER,
  PTP_ROLE_MULTICAST_AUTO, PTP_ROLE_BOTH_MASTER, PTP_ROLE_NTP_SERVER, PTP_ROLE_NTP_CLIENT,
  PTP_ROLE_TIME_MONITOR, PTP_ROLE_V1_MASTER, PTP_ROLE_V1_SLAVE, N_PTP_ROLES
}
 An enumeration of roles which can be taken by a PTP node. More...
 
enum  PTP_ROLE_MASKS {
  PTP_ROLE_MSK_MULTICAST_SLAVE = ( 1UL << PTP_ROLE_MULTICAST_SLAVE ), PTP_ROLE_MSK_UNICAST_SLAVE = ( 1UL << PTP_ROLE_UNICAST_SLAVE ), PTP_ROLE_MSK_MULTICAST_MASTER = ( 1UL << PTP_ROLE_MULTICAST_MASTER ), PTP_ROLE_MSK_UNICAST_MASTER = ( 1UL << PTP_ROLE_UNICAST_MASTER ),
  PTP_ROLE_MSK_MULTICAST_AUTO = ( 1UL << PTP_ROLE_MULTICAST_AUTO ), PTP_ROLE_MSK_BOTH_MASTER = ( 1UL << PTP_ROLE_BOTH_MASTER ), PTP_ROLE_MSK_NTP_SERVER = ( 1UL << PTP_ROLE_NTP_SERVER ), PTP_ROLE_MSK_NTP_CLIENT = ( 1UL << PTP_ROLE_NTP_CLIENT ),
  PTP_ROLE_MSK_TIME_MONITOR = ( 1UL << PTP_ROLE_TIME_MONITOR ), PTP_ROLE_MSK_V1_MASTER = ( 1UL << PTP_ROLE_V1_MASTER ), PTP_ROLE_MSK_V1_SLAVE = ( 1UL << PTP_ROLE_V1_SLAVE )
}
 Bit mask associated with PTP_ROLES. More...
 
enum  PTP_TIME_SCALES { PTP_TIMESCALE_PTP, PTP_TIMESCALE_ARB, N_PTP_TIMESCALE }
 An enumeration of time scales used with PTP. More...
 
enum  PTP_STATE_FLAGS {
  PTP_FLAG_SLAVE_ONLY, PTP_FLAG_IS_SLAVE, PTP_FLAG_TIMESCALE_IS_PTP, PTP_FLAG_LS_ANN,
  PTP_FLAG_LS_ANN_NEG, PTP_FLAG_IS_UNICAST, PTP_FLAG_UTC_VALID, PTP_FLAG_ONE_STEP,
  N_PTP_STATE_FLAGS
}
 Flags bits used with PTP_STATE::flags. More...
 
enum  PTP_STATE_FLAG_MASKS {
  PTP_FLAG_MSK_SLAVE_ONLY = ( 1UL << PTP_FLAG_SLAVE_ONLY ), PTP_FLAG_MSK_IS_SLAVE = ( 1UL << PTP_FLAG_IS_SLAVE ), PTP_FLAG_MSK_TIMESCALE_IS_PTP = ( 1UL << PTP_FLAG_TIMESCALE_IS_PTP ), PTP_FLAG_MSK_LS_ANN = ( 1UL << PTP_FLAG_LS_ANN ),
  PTP_FLAG_MSK_LS_ANN_NEG = ( 1UL << PTP_FLAG_LS_ANN_NEG ), PTP_FLAG_MSK_IS_UNICAST = ( 1UL << PTP_FLAG_IS_UNICAST ), PTP_FLAG_MSK_UTC_VALID = ( 1UL << PTP_FLAG_UTC_VALID ), PTP_FLAG_MSK_ONE_STEP = ( 1UL << PTP_FLAG_ONE_STEP )
}
 Flags masks used with PTP_STATE::flags. More...
 
enum  PTP_ANN_RCPT_TIMEOUT_LIMITS { PTP_ANN_RCPT_TIMEOUT_MIN = 2, PTP_ANN_RCPT_TIMEOUT_MAX = 8, DEFAULT_PTP_ANN_RCPT_TIMEOUT = 3 }
 Possible values for PTP_CFG_SETTINGS::ann_rcpt_timeout. More...
 
enum  PTP_CFG_FLAGS {
  PTP_CFG_TIME_SCALE_IS_PTP, PTP_CFG_V1_HW_COMPAT, PTP_CFG_CAN_BE_UNICAST_SLAVE, PTP_CFG_CAN_BE_MULTICAST_MASTER,
  PTP_CFG_CAN_BE_UNICAST_MASTER, PTP_CFG_CAN_BE_MULTICAST_AUTO, PTP_CFG_SUPP_UTC_VALID, PTP_CFG_CAN_BE_BOTH_MASTER,
  PTP_CFG_HYBRID_MASTER, PTP_CFG_HYBRID_SLAVE, PTP_CFG_ONE_STEP_MASTER, PTP_CFG_MNGMNT_MSGS_DISB,
  PTP_CFG_SUPP_MCAST_SLAVE_FLAG, PTP_CFG_CAN_BE_MULTICAST_SLAVE, PTP_CFG_ONE_STEP_L2, PTP_CFG_ONE_STEP_P2P,
  PTP_CFG_TSU_RESET, PTP_CFG_NTP_HW_TS_MASTER, PTP_CFG_NTP_HW_TS_SLAVE, PTP_CFG_SYNCE_MASTER,
  PTP_CFG_SYNCE_SLAVE, PTP_CFG_HAS_MUX, PTP_CFG_CAN_BE_TIME_MONITOR, PTP_CFG_HAS_STATISTICS,
  PTP_CFG_CAN_BE_V1_MASTER, PTP_CFG_CAN_BE_V1_SLAVE, PTP_CFG_HAS_V2_COMMON_DATASETS, PTP_CFG_HAS_V1_COMMON_DATASETS,
  PTP_CFG_ATOI, PTP_CFG_HAS_SMPTE_TLV_STATE, PTP_CFG_NTP_SW_SERVER, PTP_CFG_HAS_EXT_SUPP_FLAGS,
  N_PTP_CFG_FLAGS
}
 Flags bits used with PTP configuration. More...
 
enum  PTP_CFG_FLAGS_EX {
  PTP_CFG_CAN_BE_PTP_PROBE, PTP_CFG_DISABLE_PTP, PTP_CFG_HAS_NTP_PKTGEN_IPV6, PTP_CFG_HAS_DELAY_ASYMMETRY_CFG,
  PTP_CFG_HAS_SOFT_NTP, N_PTP_CFG_FLAGS_EX
}
 Extended flags bits used with PTP configuration. More...
 
enum  PTP_HW_FEAT_BITS { PTP_FEAT_SYNCE_EXT_MUX, N_PTP_HW_FEAT }
 Bits used to define PTP_HW_FEAT_MASKS. More...
 
enum  PTP_HW_FEAT_MASKS { PTP_HW_FEAT_MSK_SYNCE_EXT_MUX = ( 1UL << PTP_FEAT_SYNCE_EXT_MUX ) }
 Bit masks used with PTP_HW_FEATURES. More...
 
enum  PTP_OPT_EXTS {
  PTP_OPT_EXT_NONE, PTP_OPT_EXT_POWER, PTP_OPT_EXT_TELECOM, PTP_OPT_EXT_TELECOM_PHASE,
  PTP_OPT_EXT_SMPTE, PTP_OPT_EXT_8021AS, PTP_OPT_EXT_6185093, PTP_OPT_EXT_TELECOM_PTS,
  PTP_OPT_EXT_C37238_2017, N_PTP_OPT_EXT
}
 Known optional PTP protocol extensions, see PTP_CFG_SETTINGS::opt_ext. More...
 
enum  PTP_OPT_EXT_MASKS {
  PTP_MSK_OPT_EXT_NONE = ( 1UL << PTP_OPT_EXT_NONE ), PTP_MSK_OPT_EXT_POWER = ( 1UL << PTP_OPT_EXT_POWER ), PTP_MSK_OPT_EXT_TELECOM = ( 1UL << PTP_OPT_EXT_TELECOM ), PTP_MSK_OPT_EXT_TELECOM_PHASE = ( 1UL << PTP_OPT_EXT_TELECOM_PHASE ),
  PTP_MSK_OPT_EXT_SMPTE = ( 1UL << PTP_OPT_EXT_SMPTE ), PTP_MSK_OPT_EXT_8021AS = ( 1UL << PTP_OPT_EXT_8021AS ), PTP_MSK_OPT_EXT_6185093 = ( 1UL << PTP_OPT_EXT_6185093 ), PTP_MSK_OPT_EXT_TELECOM_PTS = ( 1UL << PTP_OPT_EXT_TELECOM_PTS ),
  PTP_MSK_OPT_EXT_C37238_2017 = ( 1UL << PTP_OPT_EXT_C37238_2017 )
}
 Flag masks used with PTP_CFG_INFO::supp_opt_ext. More...
 
enum  PTP_PRESETS {
  PTP_PRESETS_CUSTOM, PTP_PRESETS_DFLT_E2E, PTP_PRESETS_DFLT_P2P, PTP_PRESETS_POWER,
  PTP_PRESETS_TELECOM, PTP_PRESETS_TELECOM_PHASE, PTP_PRESETS_SMPTE, PTP_PRESETS_AES67,
  PTP_PRESETS_8021AS, PTP_PRESETS_6185093, PTP_PRESETS_TELECOM_PTS, PTP_PRESETS_DOCSIS_31,
  PTP_PRESETS_C37238_2017, N_PTP_PRESETS
}
 Enumeration of PTP cfg presets used with PTP_CFG_SETTINGS::selected_presets. More...
 
enum  PTP_PRESETS_MASKS {
  PTP_MSK_PRESETS_CUSTOM = ( 1UL << PTP_PRESETS_CUSTOM ), PTP_MSK_PRESETS_DFLT_E2E = ( 1UL << PTP_PRESETS_DFLT_E2E ), PTP_MSK_PRESETS_DFLT_P2P = ( 1UL << PTP_PRESETS_DFLT_P2P ), PTP_MSK_PRESETS_POWER = ( 1UL << PTP_PRESETS_POWER ),
  PTP_MSK_PRESETS_TELECOM = ( 1UL << PTP_PRESETS_TELECOM ), PTP_MSK_PRESETS_TELECOM_PHASE = ( 1UL << PTP_PRESETS_TELECOM_PHASE ), PTP_MSK_PRESETS_SMPTE = ( 1UL << PTP_PRESETS_SMPTE ), PTP_MSK_PRESETS_AES67 = ( 1UL << PTP_PRESETS_AES67 ),
  PTP_MSK_PRESETS_8021AS = ( 1UL << PTP_PRESETS_8021AS ), PTP_MSK_PRESETS_6185093 = ( 1UL << PTP_PRESETS_6185093), PTP_MSK_PRESETS_TELECOM_PTS = ( 1UL << PTP_PRESETS_TELECOM_PTS), PTP_MSK_PRESETS_DOCSIS_31 = ( 1UL << PTP_PRESETS_DOCSIS_31),
  PTP_MSK_PRESETS_C37238_2017 = ( 1UL << PTP_PRESETS_C37238_2017)
}
 Flag masks used with PTP_CFG_INFO::supp_opt_ext. More...
 
enum  SMPTE_SYSTEM_FRAME_RATES {
  SMPTE_23_98HZ, SMPTE_24HZ, SMPTE_25HZ, SMPTE_29_97HZ,
  SMPTE_50HZ, SMPTE_59_94HZ, N_SMPTE_SYSTEM_FRAME_RATES
}
 SMPTE System Frame Rates according to SMPTE ST 2059-2. More...
 
enum  ITU_SSM_CODES {
  ITU_SSM_CODE_STU_UKN, ITU_SSM_CODE_PRS, ITU_SSM_CODE_PRC, ITU_SSM_CODE_INV3,
  ITU_SSM_CODE_SSU_A_TNC, ITU_SSM_CODE_INV5, ITU_SSM_CODE_INV6, ITU_SSM_CODE_ST2,
  ITU_SSM_CODE_SSU_B, ITU_SSM_CODE_INV9, ITU_SSM_CODE_ST3, ITU_SSM_CODE_SEC,
  ITU_SSM_CODE_SMC, ITU_SSM_CODE_ST3E, ITU_SSM_CODE_PROV, ITU_SSM_CODE_DNU_DUS,
  N_ITU_SSM_CODES
}
 ITU-T SSM codes acc. to Recommendation G.781. More...
 
enum  T1_SSM_QLVL {
  T1_SSM_QLVL_ST1_TRACE = 2, T1_SSM_QLVL_SYNC_TRACE_UNKNOWN = 4, T1_SSM_QLVL_ST2_TRACE = 6, T1_SSM_QLVL_ST3_TRACE = 8,
  T1_SSM_QLVL_SONET_MIN_CLOCK_TRACE = 17, T1_SSM_QLVL_ST4_TRACE = 20, T1_SSM_QLVL_DNU_FOR_SYNC = 24, T1_SSM_QLVL_RESERVED = 32
}
 T1 SSM only quality level (6 bit encoded) More...
 
enum  SDH_NETWORK_OPTIONS { SDH_NETWORK_OPTION_1, SDH_NETWORK_OPTION_2, N_SDH_NETWORK_OPTIONS }
 SDH network options. More...
 
enum  SDH_NETWORK_OPTION_MASKS { SDH_NETWORK_OPTION_1_MSK = ( 1UL << SDH_NETWORK_OPTION_1 ), SDH_NETWORK_OPTION_2_MSK = ( 1UL << SDH_NETWORK_OPTION_2 ) }
 Flag masks used with MBG_SYNC_E_INFO::supp_sdh_network_opts ::FIXME. More...
 
enum  GBIT_LINK_COPPER_MODES {
  GBIT_LINK_COPPER_AUTO, GBIT_LINK_COPPER_FORCE_SYNCE_AUTO, GBIT_LINK_COPPER_FORCE_OR_IS_MASTER, GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE,
  GBIT_LINK_COPPER_PREFER_MASTER, GBIT_LINK_COPPER_PREFER_SLAVE, N_GBIT_LINK_COPPER_MODES
}
 Link modes for SyncE on a 1000BASE-T interface. More...
 
enum  GBIT_LINK_COPPER_MODE_MASKS {
  GBIT_LINK_COPPER_AUTO_MSK = ( 1UL << GBIT_LINK_COPPER_AUTO ), GBIT_LINK_COPPER_FORCE_SYNCE_AUTO_MSK = ( 1UL << GBIT_LINK_COPPER_FORCE_SYNCE_AUTO ), GBIT_LINK_COPPER_FORCE_OR_IS_MASTER_MSK = ( 1UL << GBIT_LINK_COPPER_FORCE_OR_IS_MASTER ), GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE_MSK = ( 1UL << GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE ),
  GBIT_LINK_COPPER_PREFER_MASTER_MSK = ( 1UL << GBIT_LINK_COPPER_PREFER_MASTER ), GBIT_LINK_COPPER_PREFER_SLAVE_MSK = ( 1UL << GBIT_LINK_COPPER_PREFER_SLAVE )
}
 Flag masks used with MBG_SYNC_E_INFO::supp_gbit_link_copper_modes ::FIXME. More...
 
enum  GBIT_LINK_STATUS {
  GBIT_LINK_COPPER_IS_MASTER, GBIT_LINK_COPPER_IS_SLAVE, GBIT_LINK_COPPER_CFG_FAULT, GBIT_LINK_COPPER_IS_FE,
  GBIT_LINK_DOWN, GBIT_LINK_FIBER, N_GBIT_LINK_STATUS
}
 Link status for SyncE on a 1000BASE-T interface. More...
 
enum  PTP_UC_MSG_DURATION_LIMITS { PTP_UC_MSG_DURATION_MIN = 10, PTP_UC_MSG_DURATION_MAX = 1000 }
 Unicast PTP master message duration limits. More...
 
enum  PTP_V1_COMM_IDS {
  V1_PTP_CLOSED, V1_PTP_ETHER, V1_PTP_FFBUS = 4, V1_PTP_PROFIBUS,
  V1_PTP_LON, V1_PTP_DNET, V1_PTP_SDS, V1_PTP_CONTROLNET,
  V1_PTP_CANOPEN, V1_PTP_IEEE1394 = 243, V1_PTP_IEEE802_11A, V1_PTP_IEEE_WIRELESS,
  V1_PTP_INFINIBAND, V1_PTP_BLUETOOTH, V1_PTP_IEEE802_15_1, V1_PTP_IEEE1451_3,
  V1_PTP_IEEE1451_5, V1_PTP_USB, V1_PTP_ISA, V1_PTP_PCI,
  V1_PTP_VXI, V1_PTP_DEFAULT
}
 
enum  PTP_V1_DEFAULT_DATASET_FLAGS {
  V1_DFLT_CLK_FOLLOWUP_CAPABLE, V1_DFLT_PREFERRED, V1_DFLT_INITIALIZABLE, V1_DFLT_EXT_TIMING,
  V1_DFLT_IS_BC
}
 PTPv1 default dataset flags. More...
 
enum  PTP_V1_DEFAULT_DATASET_FLAGS_MASKS {
  V1_DFLT_MSK_CLK_FOLLOWUP_CAPABLE = ( 1UL << V1_DFLT_CLK_FOLLOWUP_CAPABLE ), V1_DFLT_MSK_PREFERRED = ( 1UL << V1_DFLT_PREFERRED ), V1_DFLT_MSK_INITIALIZABLE = ( 1UL << V1_DFLT_INITIALIZABLE ), V1_DFLT_MSK_EXT_TIMING = ( 1UL << V1_DFLT_EXT_TIMING),
  V1_DFLT_MSK_IS_BC = ( 1UL << V1_DFLT_IS_BC )
}
 PTPv1 default dataset flag masks used with MBG_PTP_V1_DEFAULT_DATASET::flags. More...
 
enum  PTP_V1_PARENT_DATASET_FLAGS {
  V1_PARENT_FOLLOWUP_CAPABLE, V1_PARENT_EXT_TIMING, V1_PARENT_STATS, V1_PARENT_UTC_REASONABLE,
  V1_PARENT_GM_PREFERRED, V1_PARENT_GM_IS_BC
}
 PTPv1 parent dataset flags. More...
 
enum  PTP_V1_PARENT_DATASET_FLAGS_MASKS {
  V1_PARENT_MSK_FOLLOWUP_CAPABLE = ( 1UL << V1_PARENT_FOLLOWUP_CAPABLE ), V1_PARENT_MSK_EXT_TIMING = ( 1UL << V1_PARENT_EXT_TIMING ), V1_PARENT_MSK_STATS = ( 1UL << V1_PARENT_STATS ), V1_PARENT_MSK_UTC_REASONABLE = ( 1UL << V1_PARENT_UTC_REASONABLE ),
  V1_PARENT_MSK_GM_PREFERRED = ( 1UL << V1_PARENT_GM_PREFERRED ), V1_PARENT_MSK_GM_IS_BC = ( 1UL << V1_PARENT_GM_IS_BC )
}
 PTPv1 parent dataset flag masks used with MBG_PTP_V1_PARENT_DATASET::flags. More...
 
enum  PTP_V1_TIME_PROP_DATASET_DATASET_FLAGS { V1_TPROP_LEAP_59, V1_TPROP_LEAP_61 }
 PTPv1 time drop dataset flags. More...
 
enum  PTP_V1_TIME_PROP_DATASET_FLAGS_MASKS { V1_TPROP_MSK_LEAP_59 = ( 1UL << V1_TPROP_LEAP_59 ), V1_TPROP_MSK_LEAP_61 = ( 1UL << V1_TPROP_LEAP_61 ) }
 PTPv1 time drop dataset flag masks used with MBG_PTP_V1_TIME_PROPERTIES_DATASET::flags. More...
 
enum  PTP_V1_PORT_DATASET_DATASET_FLAGS { V1_PORT_DATASET_BURST_ENB }
 PTPv1 port dataset flags. More...
 
enum  PTP_V1_PORT_DATASET_FLAGS_MASKS { V1_PORT_DATASET_MSK_BURST_ENB = ( 1UL << V1_PORT_DATASET_BURST_ENB ) }
 PTPv1 port dataset flag masks used with MBG_PTP_V1_PORT_DATASET::flags. More...
 

Detailed Description

Macro Definition Documentation

◆ _mbg_swab_ptp_cfg_info

#define _mbg_swab_ptp_cfg_info (   _p)
Value:
do \
{ \
_mbg_swab_ptp_cfg_settings( &(_p)->settings ); \
_mbg_swab16( &(_p)->supp_flags_ex ); \
_mbg_swab16( &(_p)->sync_intv_min ); \
_mbg_swab16( &(_p)->sync_intv_max ); \
_mbg_swab16( &(_p)->ann_intv_min ); \
_mbg_swab16( &(_p)->ann_intv_max ); \
_mbg_swab16( &(_p)->delay_req_intv_min ); \
_mbg_swab16( &(_p)->delay_req_intv_max ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->supp_nw_prot ); \
_mbg_swab32( &(_p)->supp_opt_ext ); \
_mbg_swab32( &(_p)->supp_delay_mech ); \
} while ( 0 )

Definition at line 13364 of file gpsdefs.h.

Referenced by mbg_get_ptp_cfg_info(), and mbgextio_get_ptp_cfg_info().

◆ _mbg_swab_ptp_cfg_settings

#define _mbg_swab_ptp_cfg_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->nw_prot ); \
_mbg_swab16( &(_p)->sync_intv ); \
_mbg_swab16( &(_p)->ann_intv ); \
_mbg_swab16( &(_p)->delay_req_intv ); \
_mbg_swab32( &(_p)->upper_bound ); \
_mbg_swab32( &(_p)->lower_bound ); \
_mbg_swab16( &(_p)->delay_asymmetry ); \
_mbg_swab16( &(_p)->flags_ex ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )
static const char * nw_prot[]
Definition: mbgctrl.c:305

Definition at line 13311 of file gpsdefs.h.

Referenced by mbg_set_ptp_cfg_settings(), and mbgextio_set_ptp_cfg_settings().

◆ _mbg_swab_ptp_clock_id

#define _mbg_swab_ptp_clock_id (   _p)    _nop_macro_fnc()

Definition at line 13044 of file gpsdefs.h.

◆ _mbg_swab_ptp_clock_quality

#define _mbg_swab_ptp_clock_quality (   _p)
Value:
{ \
_mbg_swab8( &(_p)->clock_class ); \
_mbg_swab8( &(_p)->clock_accuracy ); \
_mbg_swab16( &(_p)->log_variance ); \
}

Definition at line 13096 of file gpsdefs.h.

◆ _mbg_swab_ptp_port_id

#define _mbg_swab_ptp_port_id (   _p)    _mbg_swab16( _p )

Definition at line 13054 of file gpsdefs.h.

◆ _mbg_swab_ptp_port_identity

#define _mbg_swab_ptp_port_identity (   _p)
Value:
{ \
_mbg_swab_ptp_clock_id( &(_p)->clock_identity ); \
_mbg_swab_ptp_port_id( &(_p)->port_number ); \
}

Definition at line 13075 of file gpsdefs.h.

◆ _mbg_swab_ptp_power_profile_cfg

#define _mbg_swab_ptp_power_profile_cfg (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->network_incaccuracy ); \
_mbg_swab8( &(_p)->grandmaster_id ); \
_mbg_swab8( &(_p)->reserved_1 ); \
_mbg_swab16( &(_p)->grandmaster_id_2017 ); \
_mbg_swab_tzdl( &(_p)->tzdl ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 13721 of file gpsdefs.h.

◆ _mbg_swab_ptp_smpte_profile_cfg

#define _mbg_swab_ptp_smpte_profile_cfg (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->defaultSystemFrameRateNum ); \
_mbg_swab32( &(_p)->defaultSystemFrameRateDenum ); \
_mbg_swab32( &(_p)->currentLocalOffset ); \
_mbg_swab32( &(_p)->jumpSeconds ); \
_mbg_swab32( &(_p)->reserved_5 ); \
_mbg_swab32( &(_p)->previousJamLocalOffset ); \
_mbg_swab32( &(_p)->reserved_8 ); \
_mbg_swab32( &(_p)->reserved_8 ); \
_mbg_swab32( &(_p)->reserved_9 ); \
_mbg_swab32( &(_p)->reserved_10 ); \
} while ( 0 )

Definition at line 13877 of file gpsdefs.h.

◆ _mbg_swab_ptp_state

#define _mbg_swab_ptp_state (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->nw_prot ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab_nano_time( &(_p)->offset ); \
_mbg_swab_nano_time( &(_p)->path_delay ); \
_mbg_swab_nano_time( &(_p)->mean_path_delay ); \
_mbg_swab_nano_time( &(_p)->delay_asymmetry ); \
_mbg_swab_ptp_clock_id( &(_p)->gm_id ); \
_mbg_swab16( &(_p)->clock_offset_scaled_log_variance ); \
_mbg_swab32( &(_p)->tsu_secs ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab16( &(_p)->utc_offset ); \
_mbg_swab_dac_val( &(_p)->osc_dac_cal ); \
_mbg_swab16( &(_p)->reserved_3 ); \
} while ( 0 )
static const char * nw_prot[]
Definition: mbgctrl.c:305

Definition at line 13219 of file gpsdefs.h.

Referenced by mbg_get_ptp_state(), and mbgextio_get_ptp_state().

◆ _mbg_swab_ptp_telecom8275_profile_cfg

#define _mbg_swab_ptp_telecom8275_profile_cfg (   _p)
Value:
do \
{ \
_mbg_swab8( &(_p)->use_alternate_multicast_mac_address ); \
_mbg_swab8( &(_p)->reserved_1 ); \
_mbg_swab8( &(_p)->reserved_2 ); \
_mbg_swab8( &(_p)->reserved_3 ); \
_mbg_swab32( &(_p)->reserved_4 ); \
} while ( 0 )

Definition at line 13906 of file gpsdefs.h.

◆ _mbg_swab_ptp_time_interval

#define _mbg_swab_ptp_time_interval (   _p)
Value:
{ \
_mbg_swab64( &(_p)->scaled_nanoseconds ); \
}

Definition at line 13117 of file gpsdefs.h.

◆ _mbg_swab_ptp_uc_master_cfg_limits

#define _mbg_swab_ptp_uc_master_cfg_limits (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->n_supp_master ); \
_mbg_swab16( &(_p)->sync_intv_min ); \
_mbg_swab16( &(_p)->sync_intv_max ); \
_mbg_swab16( &(_p)->ann_intv_min ); \
_mbg_swab16( &(_p)->ann_intv_max ); \
_mbg_swab16( &(_p)->delay_req_intv_min ); \
_mbg_swab16( &(_p)->delay_req_intv_max ); \
_mbg_swab16( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->reserved_1 ); \
} while ( 0 )

Definition at line 14246 of file gpsdefs.h.

Referenced by mbg_get_ptp_uc_master_cfg_limits(), and mbgextio_get_ptp_uc_master_cfg_limits().

◆ _mbg_swab_ptp_uc_master_info

#define _mbg_swab_ptp_uc_master_info (   _p)
Value:
do \
{ \
_mbg_swab_ptp_uc_master_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->reserved ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14359 of file gpsdefs.h.

◆ _mbg_swab_ptp_uc_master_info_idx

#define _mbg_swab_ptp_uc_master_info_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ptp_uc_master_info( &(_p)->info ); \
} while ( 0 )

Definition at line 14389 of file gpsdefs.h.

Referenced by mbg_get_all_ptp_uc_master_info(), and mbgextio_get_all_ptp_uc_master_info().

◆ _mbg_swab_ptp_uc_master_settings

#define _mbg_swab_ptp_uc_master_settings (   _p)
Value:
do \
{ \
_mbg_swab_ptp_clock_id( &(_p)->gm_clock_id ); \
_mbg_swab_ptp_port_id( &(_p)->gm_port_id ); \
_mbg_swab16( &(_p)->sync_intv ); \
_mbg_swab16( &(_p)->ann_intv ); \
_mbg_swab16( &(_p)->delay_req_intv ); \
_mbg_swab32( &(_p)->fix_offset ); \
_mbg_swab16( &(_p)->message_duration ); \
_mbg_swab16( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14290 of file gpsdefs.h.

◆ _mbg_swab_ptp_uc_master_settings_idx

#define _mbg_swab_ptp_uc_master_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ptp_uc_master_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 14336 of file gpsdefs.h.

Referenced by mbg_set_ptp_uc_master_settings_idx(), and mbgextio_set_ptp_uc_master_settings_idx().

◆ _mbg_swab_ptp_v1_current_dataset

#define _mbg_swab_ptp_v1_current_dataset (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->steps_removed ); \
_mbg_swab16( &(_p)->reserved_1 ); \
_mbg_swab_nano_time( &(_p)->offset_from_master ); \
_mbg_swab_nano_time( &(_p)->one_way_delay ); \
} while ( 0 )

Definition at line 14620 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v1_current_dataset(), and mbgextio_set_ptp_v1_current_dataset().

◆ _mbg_swab_ptp_v1_default_dataset

#define _mbg_swab_ptp_v1_default_dataset (   _p)
Value:
do \
{ \
_mbg_swab_ptp_v1_uuid( &(_p)->uuid ); \
_mbg_swab16( &(_p)->clock_variance ); \
_mbg_swab16( &(_p)->number_ports ); \
_mbg_swab16( &(_p)->number_foreign_records ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14594 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v1_default_dataset(), and mbgextio_set_ptp_v1_default_dataset().

◆ _mbg_swab_ptp_v1_parent_dataset

#define _mbg_swab_ptp_v1_parent_dataset (   _p)
Value:
do \
{ \
_mbg_swab_ptp_v1_uuid( &(_p)->uuid ); \
_mbg_swab16( &(_p)->parent_last_sync_sequence_number ); \
_mbg_swab16( &(_p)->parent_variance ); \
_mbg_swab16( &(_p)->observed_variance ); \
_mbg_swab16( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->observed_drift ); \
_mbg_swab_ptp_v1_uuid( &(_p)->grandmaster_uuid ); \
_mbg_swab16( &(_p)->grandmaster_variance ); \
_mbg_swab16( &(_p)->grandmaster_sequence_number ); \
_mbg_swab16( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14689 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v1_parent_dataset(), and mbgextio_set_ptp_v1_parent_dataset().

◆ _mbg_swab_ptp_v1_port_dataset

#define _mbg_swab_ptp_v1_port_dataset (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->last_sync_event_sequence_number ); \
_mbg_swab16( &(_p)->last_general_event_sequence_number ); \
_mbg_swab16( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->subdomain_address ); \
_mbg_swab16( &(_p)->event_port_address ); \
_mbg_swab16( &(_p)->general_port_address ); \
_mbg_swab_ptp_v1_uuid( &(_p)->uuid ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14800 of file gpsdefs.h.

◆ _mbg_swab_ptp_v1_port_dataset_idx

#define _mbg_swab_ptp_v1_port_dataset_idx (   _p)
Value:
{ \
_mbg_swab16( &(_p)->idx ); \
_mbg_swab_ptp_v1_port_dataset( &(_p)->port_dataset ); \
}

Definition at line 14830 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v1_port_dataset_idx(), and mbgextio_set_ptp_v1_port_dataset_idx().

◆ _mbg_swab_ptp_v1_time_properties_dataset

#define _mbg_swab_ptp_v1_time_properties_dataset (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->current_utc_offset ); \
_mbg_swab16( &(_p)->epoch_number ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 14746 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v1_time_properties_dataset(), and mbgextio_set_ptp_v1_time_properties_dataset().

◆ _mbg_swab_ptp_v1_uuid

#define _mbg_swab_ptp_v1_uuid (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->reserved_2 ); \
_mbg_swab_ptp_clock_id( &(_p)->clock_uuid ); \
_mbg_swab_ptp_port_id( &(_p)->port_id ); \
_mbg_swab16( &(_p)->reserved_3 ); \
} while ( 0 )

Definition at line 14533 of file gpsdefs.h.

◆ _mbg_swab_ptp_v2_current_dataset

#define _mbg_swab_ptp_v2_current_dataset (   _p)
Value:
{ \
_mbg_swab16( &(_p)->steps_removed ); \
_mbg_swab_ptp_time_interval( &(_p)->offset_from_master ); \
_mbg_swab_ptp_time_interval( &(_p)->mean_path_delay ); \
}

Definition at line 14910 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v2_current_dataset(), and mbgextio_set_ptp_v2_current_dataset().

◆ _mbg_swab_ptp_v2_default_dataset

#define _mbg_swab_ptp_v2_default_dataset (   _p)
Value:
{ \
_mbg_swab_ptp_v2_default_dataset_flags( &(_p)->flags ); \
_mbg_swab8( &(_p)->reserved_1 ); \
_mbg_swab16( &(_p)->number_ports ); \
_mbg_swab8( &(_p)->priority_1 ); \
_mbg_swab_ptp_clock_quality( &(_p)->clock_quality ); \
_mbg_swab8( &(_p)->priority_2 ); \
_mbg_swab_ptp_clock_id( &(_p)->clock_identity ); \
_mbg_swab8( &(_p)->domain_number ); \
_mbg_swab8( &(_p)->reserved_2 ); \
}

Definition at line 14880 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v2_default_dataset(), and mbgextio_set_ptp_v2_default_dataset().

◆ _mbg_swab_ptp_v2_default_dataset_flags

#define _mbg_swab_ptp_v2_default_dataset_flags (   _p)    _nop_macro_fnc()

Definition at line 14852 of file gpsdefs.h.

◆ _mbg_swab_ptp_v2_parent_dataset

#define _mbg_swab_ptp_v2_parent_dataset (   _p)
Value:
{ \
_mbg_swab_ptp_port_identity( &(_p)->parent_port_identity ); \
_mbg_swab_ptp_v2_parent_dataset_flags( &(_p)->flags ); \
_mbg_swab8( &(_p)->reserved ); \
_mbg_swab16( &(_p)->parent_log_variance ); \
_mbg_swab32( &(_p)->parent_phase_change_rate ); \
_mbg_swab8( &(_p)->grandmaster_priority_1 ); \
_mbg_swab_ptp_clock_quality( &(_p)->grandmaster_clock_quality ); \
_mbg_swab8( &(_p)->grandmaster_priority_2 ); \
_mbg_swab_ptp_clock_id( &(_p)->grandmaster_identity ); \
}

Definition at line 14964 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v2_parent_dataset(), and mbgextio_set_ptp_v2_parent_dataset().

◆ _mbg_swab_ptp_v2_parent_dataset_flags

#define _mbg_swab_ptp_v2_parent_dataset_flags (   _p)    _nop_macro_fnc()

Definition at line 14932 of file gpsdefs.h.

◆ _mbg_swab_ptp_v2_port_dataset

#define _mbg_swab_ptp_v2_port_dataset (   _p)
Value:
{ \
_mbg_swab_ptp_port_identity( &(_p)->port_identity ); \
_mbg_swab8( &(_p)->port_state ); \
_mbg_swab8( &(_p)->log_min_delay_req_interval ); \
_mbg_swab_ptp_time_interval( &(_p)->peer_mean_path_delay ); \
_mbg_swab8( &(_p)->log_announce_interval ); \
_mbg_swab8( &(_p)->announce_receipt_timeout ); \
_mbg_swab8( &(_p)->log_sync_interval ); \
_mbg_swab8( &(_p)->delay_mechanism ); \
_mbg_swab8( &(_p)->log_min_pdelay_req_interval ); \
}

Definition at line 15052 of file gpsdefs.h.

◆ _mbg_swab_ptp_v2_port_dataset_idx

#define _mbg_swab_ptp_v2_port_dataset_idx (   _p)
Value:
{ \
_mbg_swab16( &(_p)->idx ); \
_mbg_swab_ptp_v2_port_dataset( &(_p)->port_dataset ); \
}

Definition at line 15081 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v2_port_dataset_idx(), and mbgextio_set_ptp_v2_port_dataset_idx().

◆ _mbg_swab_ptp_v2_time_properties_dataset

#define _mbg_swab_ptp_v2_time_properties_dataset (   _p)
Value:
{ \
_mbg_swab16( &(_p)->current_utc_offset ); \
_mbg_swab_ptp_v2_time_properties_dataset_flags( &(_p)->flags ); \
_mbg_swab8( &(_p)->time_source ); \
}

Definition at line 15018 of file gpsdefs.h.

Referenced by mbgextio_get_ptp_v2_time_properties_dataset(), and mbgextio_set_ptp_v2_time_properties_dataset().

◆ _mbg_swab_ptp_v2_time_properties_dataset_flags

#define _mbg_swab_ptp_v2_time_properties_dataset_flags (   _p)    _nop_macro_fnc()

Definition at line 14998 of file gpsdefs.h.

◆ GBIT_LINK_STATUS_STRS

#define GBIT_LINK_STATUS_STRS
Value:
{ \
"MASTER (1000BASE-T)", \
"SLAVE (1000BASE-T)", \
"CFG FAULT", \
"AUTO (100BASE-TX)", \
"LINK DOWN", \
"AUTO (SFP LINK UP)", \
}

Definition at line 14208 of file gpsdefs.h.

◆ ITU_SSM_CODE_OPT_1_STRS

#define ITU_SSM_CODE_OPT_1_STRS
Value:
{ \
"", \
"", \
"QL-PRC", \
"", \
"QL-SSU-A", \
"", \
"", \
"", \
"QL-SSU-B", \
"", \
"", \
"QL-SEC", \
"", \
"", \
"", \
"QL-DNU" \
}

Name strings for SSM codes, network option I.

See also
ITU_SSM_CODES

Definition at line 13963 of file gpsdefs.h.

◆ ITU_SSM_CODE_OPT_2_STRS

#define ITU_SSM_CODE_OPT_2_STRS
Value:
{ \
"QL-STU", \
"QL-PRS", \
"", \
"", \
"QL-TNC", \
"", \
"", \
"QL-ST2", \
"", \
"", \
"QL-ST3", \
"", \
"QL-SMC", \
"QL-ST3E", \
"QL-PROV", \
"QL-DUS" \
}

Name strings for SSM codes, network option II.

See also
ITU_SSM_CODES

Definition at line 13990 of file gpsdefs.h.

◆ ITU_SSM_CODE_STRS_COMBINED

#define ITU_SSM_CODE_STRS_COMBINED
Value:
{ \
"QL-STU/UKN", \
"QL-PRS", \
"QL-PRC", \
"QL-INV3", \
"QL-SSU-A/TNC", \
"QL-INV5", \
"QL-INV6", \
"QL-ST2", \
"QL-SSU-B", \
"QL-INV9", \
"QL-EEC2/ST3", \
"QL-EEC1/SEC", \
"QL-SMC", \
"QL-ST3E", \
"QL-PROV", \
"QL-DNU/DUS", \
}

Name strings for SSM codes, option I and II combined.

See also
ITU_SSM_CODES

Definition at line 14017 of file gpsdefs.h.

◆ MAX_T1_SSM_QLVL

#define MAX_T1_SSM_QLVL   8

Maximum T1 SSM only quality levels.

See also
T1_SSM_QLVL
T1_SSM_QLVL_STRS
T1_SSM_QLVL_ARRAY

Definition at line 14046 of file gpsdefs.h.

◆ N_SSM_CODES_OPTION_1

#define N_SSM_CODES_OPTION_1   5

Definition at line 13954 of file gpsdefs.h.

◆ N_SSM_CODES_OPTION_2

#define N_SSM_CODES_OPTION_2   9

Definition at line 13955 of file gpsdefs.h.

◆ PTP_CFG_MSK_SUPPORT_PTP_UNICAST

#define PTP_CFG_MSK_SUPPORT_PTP_UNICAST
Value:
PTP_CFG_MSK_CAN_BE_UNICAST_MASTER )
#define PTP_CFG_MSK_CAN_BE_UNICAST_SLAVE
see PTP_CFG_CAN_BE_UNICAST_SLAVE
Definition: gpsdefs.h:13461

A bit mask of the unicast role bits within the flag bits.

Definition at line 13554 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().

◆ PTP_CLOCK_ACCURACY_STRS

#define PTP_CLOCK_ACCURACY_STRS
Value:
{ \
"< 25 ns", \
"< 100 ns", \
"< 250 ns", \
"< 1 us", \
"< 2.5 us", \
"< 10 us", \
"< 25 us", \
"< 100 us", \
"< 250 us", \
"< 1 ms", \
"< 2.5 ms", \
"< 10 ms", \
"< 25 ms", \
"< 100 ms", \
"< 250 ms", \
"< 1 s", \
"< 10 s", \
"more than 10 s", \
"reserved_1", \
"reserved_2", \
"reserved_3", \
"reserved_4" \
}

Name strings for PTP accuracy classes.

Note
The enumeration does not start at 0 but with a bias specified by PTP_CLOCK_ACCURACY_NUM_BIAS, so this bias needs to be accounted for when accessing a string table.
See also
PTP_CLOCK_ACCURACIES

Definition at line 12850 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_CLOCK_ID_WILDCARD

#define PTP_CLOCK_ID_WILDCARD   { { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } }

Definition at line 13046 of file gpsdefs.h.

◆ PTP_CODE_STRING_LENGTH

#define PTP_CODE_STRING_LENGTH   4

Definition at line 14513 of file gpsdefs.h.

◆ PTP_DELAY_MECH_NAME_E2E

#define PTP_DELAY_MECH_NAME_E2E   "E2E"

Definition at line 12786 of file gpsdefs.h.

◆ PTP_DELAY_MECH_NAME_P2P

#define PTP_DELAY_MECH_NAME_P2P   "P2P"

Definition at line 12787 of file gpsdefs.h.

◆ PTP_DELAY_MECH_NAMES

#define PTP_DELAY_MECH_NAMES
Value:
{ \
PTP_DELAY_MECH_NAME_E2E, \
PTP_DELAY_MECH_NAME_P2P \
}

Name strings for the PTP delay mechanisms.

See also
PTP_DELAY_MECHS

Definition at line 12794 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_NW_PROT_STRS

#define PTP_NW_PROT_STRS
Value:
{ \
"Reserved", \
"UDP/IPv4 (L3)", \
"UDP/IPv6 (L3)", \
"IEEE 802.3 (L2)", \
"DeviceNet", \
"ControlNet", \
"PROFINET" \
}

Name strings for the protocols possibly used with PTP.

See also
PTP_NW_PROTS

Definition at line 12678 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_NW_PROT_STRS_SHORT

#define PTP_NW_PROT_STRS_SHORT
Value:
{ \
"RSV", \
"IP4", \
"IP6", \
"ETH", \
"DN", \
"CN", \
"PN" \
}

Short name strings for the protocols possibly used with PTP.

See also
PTP_NW_PROTS

Definition at line 12695 of file gpsdefs.h.

◆ PTP_PORT_ID_WILDCARD

#define PTP_PORT_ID_WILDCARD   0xFFFF

Definition at line 13056 of file gpsdefs.h.

Referenced by set_ptp_cfg(), and show_ptp_cfg().

◆ PTP_PORT_STATE_STRS

#define PTP_PORT_STATE_STRS
Value:
{ \
"UNINITIALIZED", \
"INITIALIZING", \
"FAULTY", \
"DISABLED", \
"LISTENING", \
"PRE_MASTER", \
"MASTER", \
"PASSIVE", \
"UNCALIBRATED", \
"SLAVE" \
}

Name strings for the PTP port states.

Definition at line 12729 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_POWER_PROFILE_GM_ID_MAX

#define PTP_POWER_PROFILE_GM_ID_MAX   255

Definition at line 13709 of file gpsdefs.h.

◆ PTP_POWER_PROFILE_GM_ID_MIN

#define PTP_POWER_PROFILE_GM_ID_MIN   3

Additional parameters for Power Profile.

Definition at line 13708 of file gpsdefs.h.

◆ PTP_PRESETS_STRS

#define PTP_PRESETS_STRS
Value:
{ \
"Custom", \
"Default E2E IEEE1588-2008", \
"Default P2P IEEE1588-2008", \
"Power IEEE C37.238-2011", \
"Telecom ITU-T G.8265.1", \
"Telecom ITU-T G.8275.1", \
"SMPTE ST 2059-2", \
"AES67 Media Profile", \
"IEEE 802.1AS", \
"Utility IEC 61850-9-3", \
"Telecom ITU-T G.8275.2", \
"DOCSIS 3.1", \
"Power IEEE C37.238-2017" \
}

Name strings for defined PTP presets.

See also
PTP_PRESETS

Definition at line 13686 of file gpsdefs.h.

◆ PTP_ROLE_MSK_MASTERS

#define PTP_ROLE_MSK_MASTERS
Value:
simultanous multicast and unicast master
Definition: gpsdefs.h:12938
see PTP_ROLE_MULTICAST_MASTER
Definition: gpsdefs.h:12966
see PTP_ROLE_UNICAST_MASTER
Definition: gpsdefs.h:12967
see PTP_ROLE_MULTICAST_AUTO
Definition: gpsdefs.h:12968

Definition at line 12982 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_ROLE_MSK_SLAVES

#define PTP_ROLE_MSK_SLAVES
Value:

Definition at line 12978 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_ROLE_STRS

#define PTP_ROLE_STRS
Value:
{ \
"Multicast Slave", \
"Unicast Slave", \
"Multicast Master", \
"Unicast Master", \
"Multicast (Auto)", \
"UC+MC Master", \
"NTP Server", \
"NTP Client", \
"Sync Monitor", \
"V1 Master", \
"V1 Slave" \
}

Name strings for defined PTP roles.

See also
PTP_ROLES
PTP_ROLE_STRS_SHORT

Definition at line 12994 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_ROLE_STRS_SHORT

#define PTP_ROLE_STRS_SHORT
Value:
{ \
"MCS", \
"UCS", \
"MCM", \
"UCM", \
"MCA", \
"UMM", \
"NSV", \
"NCL", \
"MON", \
"V1M", \
"V1S" \
}

Short name strings for defined PTP roles.

See also
PTP_ROLES
PTP_ROLE_STRS

Definition at line 13016 of file gpsdefs.h.

◆ PTP_SUBDOMAIN_NAME_LENGTH

#define PTP_SUBDOMAIN_NAME_LENGTH   16

Definition at line 14514 of file gpsdefs.h.

◆ PTP_TIME_SOURCE_TABLE

#define PTP_TIME_SOURCE_TABLE
Value:

A table of PTP time source codes plus associated name strings.

See also
PTP_TIME_SOURCES

Definition at line 12902 of file gpsdefs.h.

Referenced by show_ptp_state().

◆ PTP_TIMESCALE_NAME_ARB

#define PTP_TIMESCALE_NAME_ARB   "Arbitrary"

Definition at line 13146 of file gpsdefs.h.

◆ PTP_TIMESCALE_NAME_ARB_SHORT

#define PTP_TIMESCALE_NAME_ARB_SHORT   "Arb"

Definition at line 13152 of file gpsdefs.h.

◆ PTP_TIMESCALE_NAME_PTP

#define PTP_TIMESCALE_NAME_PTP   "PTP Standard (TAI)"

Name strings for the PTP time scales.

Definition at line 13145 of file gpsdefs.h.

◆ PTP_TIMESCALE_NAME_PTP_SHORT

#define PTP_TIMESCALE_NAME_PTP_SHORT   "PTP"

Short name strings for the PTP time scales.

Definition at line 13151 of file gpsdefs.h.

◆ PTP_TIMESCALE_NAMES

#define PTP_TIMESCALE_NAMES
Value:
{ \
PTP_TIMESCALE_NAME_PTP, \
PTP_TIMESCALE_NAME_ARB \
}

A table of name strings for the PTP time scales.

See also
PTP_TIME_SCALES
PTP_TIMESCALE_NAMES_SHORT

Definition at line 13161 of file gpsdefs.h.

◆ PTP_TIMESCALE_NAMES_SHORT

#define PTP_TIMESCALE_NAMES_SHORT
Value:
{ \
PTP_TIMESCALE_NAME_PTP_SHORT, \
PTP_TIMESCALE_NAME_ARB_SHORT \
}

A table of short name strings for the PTP time scales.

See also
PTP_TIME_SCALES
PTP_TIMESCALE_NAMES

Definition at line 13173 of file gpsdefs.h.

◆ SDH_NETWORK_OPTION_STRS

#define SDH_NETWORK_OPTION_STRS
Value:
{ \
"SDH Network Opt. 1", \
"SDH Network Opt. 2", \
}

Name strings for SDH network options.

See also
SDH_NETWORK_OPTIONS

Definition at line 14146 of file gpsdefs.h.

◆ SMPTE_FRAME_RATE_DENUM

#define SMPTE_FRAME_RATE_DENUM
Value:
{ \
1001, \
1000, \
1000, \
1001, \
1000, \
1001, \
}

Definition at line 13776 of file gpsdefs.h.

◆ SMPTE_FRAME_RATE_NUM

#define SMPTE_FRAME_RATE_NUM
Value:
{ \
24000, \
24000, \
25000, \
30000, \
50000, \
60000, \
}

Definition at line 13766 of file gpsdefs.h.

◆ SMPTE_SYSTEM_FRAME_RATE_STR

#define SMPTE_SYSTEM_FRAME_RATE_STR
Value:
{ \
"24Hz (23.98)", \
"24Hz", \
"25Hz", \
"30Hz (29.97)", \
"50Hz", \
"60Hz (59.94)" \
}

Definition at line 13755 of file gpsdefs.h.

◆ T1_SSM_QLVL_ARRAY

#define T1_SSM_QLVL_ARRAY
Value:
{ \
T1_SSM_QLVL_ST1_TRACE, \
T1_SSM_QLVL_SYNC_TRACE_UNKNOWN, \
T1_SSM_QLVL_ST2_TRACE, \
T1_SSM_QLVL_ST3_TRACE, \
T1_SSM_QLVL_SONET_MIN_CLOCK_TRACE, \
T1_SSM_QLVL_ST4_TRACE, \
T1_SSM_QLVL_DNU_FOR_SYNC, \
T1_SSM_QLVL_RESERVED \
}

T1 SSM only quality level array.

See also
MAX_T1_SSM_QLVL
T1_SSM_QLVL_STRS
T1_SSM_QLVL

Definition at line 14078 of file gpsdefs.h.

◆ T1_SSM_QLVL_STRS

#define T1_SSM_QLVL_STRS
Value:
{ \
"Stratum 1 traceable", \
"Synchronized traceability unknown", \
"Stratum 2 traceable", \
"Stratum 3 traceable", \
"SONET minimum clock traceable", \
"Stratum 4 traceable", \
"Do not use for sync", \
"Reserved for network sync" \
}

Name strings for T1 SSM quality levels.

See also
MAX_T1_SSM_QLVL
T1_SSM_QLVL
T1_SSM_QLVL_ARRAY

Definition at line 14099 of file gpsdefs.h.

Typedef Documentation

◆ ITU_SSM_CODE

A type which holds one of the ITU-T SSM codes.

See also
ITU_SSM_CODES

Definition at line 13923 of file gpsdefs.h.

◆ PTP_HW_FEATURES

Register in TSU-GbE FPGA to determine board features of the current TSU board revision.

Definition at line 13562 of file gpsdefs.h.

◆ PTP_PORT_ID

A PTP port ID.

Definition at line 13052 of file gpsdefs.h.

Enumeration Type Documentation

◆ GBIT_LINK_COPPER_MODE_MASKS

Flag masks used with MBG_SYNC_E_INFO::supp_gbit_link_copper_modes ::FIXME.

See also
GBIT_LINK_COPPER_MODES
Enumerator
GBIT_LINK_COPPER_AUTO_MSK 

see GBIT_LINK_COPPER_AUTO_MSK

GBIT_LINK_COPPER_FORCE_SYNCE_AUTO_MSK 

see GBIT_LINK_COPPER_FORCE_SYNCE_AUTO

GBIT_LINK_COPPER_FORCE_OR_IS_MASTER_MSK 

see GBIT_LINK_COPPER_FORCE_OR_IS_MASTER

GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE_MSK 

see GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE

GBIT_LINK_COPPER_PREFER_MASTER_MSK 

see GBIT_LINK_COPPER_PREFER_MASTER

GBIT_LINK_COPPER_PREFER_SLAVE_MSK 

see GBIT_LINK_COPPER_PREFER_SLAVE

Definition at line 14178 of file gpsdefs.h.

◆ GBIT_LINK_COPPER_MODES

Link modes for SyncE on a 1000BASE-T interface.

See also
GBIT_LINK_COPPER_MODE_MASKS
Enumerator
GBIT_LINK_COPPER_AUTO 
GBIT_LINK_COPPER_FORCE_SYNCE_AUTO 
GBIT_LINK_COPPER_FORCE_OR_IS_MASTER 
GBIT_LINK_COPPER_FORCE_OR_IS_SLAVE 
GBIT_LINK_COPPER_PREFER_MASTER 
GBIT_LINK_COPPER_PREFER_SLAVE 
N_GBIT_LINK_COPPER_MODES 

Definition at line 14160 of file gpsdefs.h.

◆ GBIT_LINK_STATUS

Link status for SyncE on a 1000BASE-T interface.

See also
::TODO
Enumerator
GBIT_LINK_COPPER_IS_MASTER 

GBIT Link is currently clock master.

GBIT_LINK_COPPER_IS_SLAVE 

GBIT Link is currently clock slave.

GBIT_LINK_COPPER_CFG_FAULT 

GBIT Link has a configruation fault (conflict with link partner.

GBIT_LINK_COPPER_IS_FE 

Link is running on Fast Ethernet (no MASTER/SLAVE decision)

GBIT_LINK_DOWN 

Currently no link.

GBIT_LINK_FIBER 

GBIT Linkup on SFP interface.

N_GBIT_LINK_STATUS 

Definition at line 14196 of file gpsdefs.h.

◆ ITU_SSM_CODES

ITU-T SSM codes acc. to Recommendation G.781.

See also
ITU_SSM_CODE
Enumerator
ITU_SSM_CODE_STU_UKN 
ITU_SSM_CODE_PRS 
ITU_SSM_CODE_PRC 
ITU_SSM_CODE_INV3 
ITU_SSM_CODE_SSU_A_TNC 
ITU_SSM_CODE_INV5 
ITU_SSM_CODE_INV6 
ITU_SSM_CODE_ST2 
ITU_SSM_CODE_SSU_B 
ITU_SSM_CODE_INV9 
ITU_SSM_CODE_ST3 
ITU_SSM_CODE_SEC 
ITU_SSM_CODE_SMC 
ITU_SSM_CODE_ST3E 
ITU_SSM_CODE_PROV 
ITU_SSM_CODE_DNU_DUS 
N_ITU_SSM_CODES 

Definition at line 13932 of file gpsdefs.h.

◆ PTP_ANN_RCPT_TIMEOUT_LIMITS

Possible values for PTP_CFG_SETTINGS::ann_rcpt_timeout.

Enumerator
PTP_ANN_RCPT_TIMEOUT_MIN 
PTP_ANN_RCPT_TIMEOUT_MAX 
DEFAULT_PTP_ANN_RCPT_TIMEOUT 

Definition at line 13330 of file gpsdefs.h.

◆ PTP_CFG_FLAGS

Flags bits used with PTP configuration.

Flags labeled [R/-] can only be used with PTP_CFG_INFO::supp_flags to indicate that the associated feature is supported in general.

If a flag labeled [R/W] is set in PTP_CFG_INFO::supp_flags then this flag can also be used with PTP_CFG_SETTINGS::flags to control the associated feature.

Note
Originally, all devices supported the multicast slave role, so there was no extra flag to indicate this. However, some newer devices may not support the multicast slave role, so two new flags have been introduced to cope with this: If PTP_CFG_SUPP_MCAST_SLAVE_FLAG is set then a different flag PTP_CFG_CAN_BE_MULTICAST_SLAVE needs to be checked to tell if the multicast slave role is supported, or not. If PTP_CFG_SUPP_MCAST_SLAVE_FLAG is not set then the device definitely supports the multicast slave role.
See also
PTP_CFG_FLAG_MASKS
Enumerator
PTP_CFG_TIME_SCALE_IS_PTP 

[R/W] time scale is PTP/TAI, else arbitrary

PTP_CFG_V1_HW_COMPAT 

[R/W] maybe required for certain NIC chips, not used by Meinberg

PTP_CFG_CAN_BE_UNICAST_SLAVE 

[R/-] supports unicast slave role, see PTP_ROLE_UNICAST_SLAVE

PTP_CFG_CAN_BE_MULTICAST_MASTER 

[R/-] supports multicast master role, see PTP_ROLE_MULTICAST_MASTER

PTP_CFG_CAN_BE_UNICAST_MASTER 

[R/-] supports unicast master, see PTP_ROLE_UNICAST_MASTER

PTP_CFG_CAN_BE_MULTICAST_AUTO 

[R/-] can automatically become multicast master or slave, see PTP_CFG_CAN_BE_MULTICAST_AUTO

PTP_CFG_SUPP_UTC_VALID 

[R/-] PTP_FLAG_UTC_VALID bit in PTP_STATE::flags is supported

PTP_CFG_CAN_BE_BOTH_MASTER 

[R/-] supports unicast and multicast master role at the same time, see PTP_CFG_CAN_BE_BOTH_MASTER

PTP_CFG_HYBRID_MASTER 

[R/W] supports hybrid mode in master roles

PTP_CFG_HYBRID_SLAVE 

[R/W] supports hybrid mode in slave roles

PTP_CFG_ONE_STEP_MASTER 

[R/W] supports one-step mode in master roles

PTP_CFG_MNGMNT_MSGS_DISB 

[R/W] supports disabling of PTP management messages

PTP_CFG_SUPP_MCAST_SLAVE_FLAG 

[R/-] indicates that PTP_CFG_CAN_BE_MULTICAST_SLAVE flag is supported and can be checked

PTP_CFG_CAN_BE_MULTICAST_SLAVE 

[R/-] if PTP_CFG_SUPP_MCAST_SLAVE_FLAG bit set, indicates if multicast slave role is supported

PTP_CFG_ONE_STEP_L2 

[R/-] supports the combination of One-Step and Layer2 mode

PTP_CFG_ONE_STEP_P2P 

[R/-] supports the combination of One-Step and P2P Delay Mechanism

PTP_CFG_TSU_RESET 

[R/-] supports TSU reset via register cmd

PTP_CFG_NTP_HW_TS_MASTER 

[R/-] supports the NTP HW time stamping in Master mode

PTP_CFG_NTP_HW_TS_SLAVE 

[R/-] supports the NTP HW time stamping in Slave mode

PTP_CFG_SYNCE_MASTER 

[R/-] Hardware supports Synchronous Ethernet Out

PTP_CFG_SYNCE_SLAVE 

[R/-] Hardware supports Synchronous Ethernet In

PTP_CFG_HAS_MUX 

[R/-] Hardware supports multiplexed signal outputs

PTP_CFG_CAN_BE_TIME_MONITOR 

[R/-] can be Monitoring device for external PTP or NTP devices //### TODO Shouldn't this be an XFEATURE flag?

PTP_CFG_HAS_STATISTICS 

[R/-] MBG_PTP_STATISTICS_INFO can be queried

PTP_CFG_CAN_BE_V1_MASTER 

[R/-] supports PTPv1 MASTER role

PTP_CFG_CAN_BE_V1_SLAVE 

[R/-] supports PTPv1 SLAVE role

PTP_CFG_HAS_V2_COMMON_DATASETS 

[R/-] PTPv2 common dataset structures (see IEEE1588-2008, chapter 8.2) can be queried

PTP_CFG_HAS_V1_COMMON_DATASETS 

[R/-] PTPv1 common dataset structures can be queried

PTP_CFG_ATOI 

[R/-] supports the configurable usage of the Alternate Time Offset Indicator TLV

PTP_CFG_HAS_SMPTE_TLV_STATE 

[R/-] SMPTE TLV structure can be queried in slave state

PTP_CFG_NTP_SW_SERVER 

[R/W] PTP Module can run as NTP Server in Software mode in parallel to PTP HW time stamp modes

PTP_CFG_HAS_EXT_SUPP_FLAGS 

[R/-] PTP Config has extended supp_flags

N_PTP_CFG_FLAGS 

the number of defined flags

Definition at line 13405 of file gpsdefs.h.

◆ PTP_CFG_FLAGS_EX

Extended flags bits used with PTP configuration.

Flags labeled [R/-] can only be used with PTP_CFG_INFO::supp_flags to indicate that the associated feature is supported in general.

If a flag labeled [R/W] is set in PTP_CFG_INFO::supp_flags then this flag can also be used with PTP_CFG_SETTINGS::flags to control the associated feature.

Note
Originally, all devices supported the multicast slave role, so there was no extra flag to indicate this. However, some newer devices may not support the multicast slave role, so two new flags have been introduced to cope with this: If PTP_CFG_SUPP_MCAST_SLAVE_FLAG is set then a different flag PTP_CFG_CAN_BE_MULTICAST_SLAVE needs to be checked to tell if the multicast slave role is supported, or not. If PTP_CFG_SUPP_MCAST_SLAVE_FLAG is not set then the device definitely supports the multicast slave role.
See also
PTP_CFG_FLAG_EX_MASKS
Enumerator
PTP_CFG_CAN_BE_PTP_PROBE 

[R/W] PTP can be used in slave mode although not in slave capable slot

PTP_CFG_DISABLE_PTP 

[R/W] PTP Port state can be set to DISABLED permanentely

PTP_CFG_HAS_NTP_PKTGEN_IPV6 

[R/-] PTP packet generator supports IPv6

PTP_CFG_HAS_DELAY_ASYMMETRY_CFG 

[R/-] PTP stack supports configuration of static delay asymmetry to be compensated

PTP_CFG_HAS_SOFT_NTP 

[R/-] PTP device supports software NTP daemon in parallel to PTP

N_PTP_CFG_FLAGS_EX 

Definition at line 13521 of file gpsdefs.h.

◆ PTP_CLOCK_ACCURACIES

An enumeration of accuracy classes used with PTP.

Note
This enumeration does not start at 0 but with a bias specified by PTP_CLOCK_ACCURACY_NUM_BIAS.
See also
PTP_CLOCK_ACCURACY_STRS
Enumerator
PTP_CLOCK_ACCURACY_NUM_BIAS 
PTP_CLOCK_ACCURACY_25ns 
PTP_CLOCK_ACCURACY_100ns 
PTP_CLOCK_ACCURACY_250ns 
PTP_CLOCK_ACCURACY_1us 
PTP_CLOCK_ACCURACY_2_5us 
PTP_CLOCK_ACCURACY_10us 
PTP_CLOCK_ACCURACY_25us 
PTP_CLOCK_ACCURACY_100us 
PTP_CLOCK_ACCURACY_250us 
PTP_CLOCK_ACCURACY_1ms 
PTP_CLOCK_ACCURACY_2_5ms 
PTP_CLOCK_ACCURACY_10ms 
PTP_CLOCK_ACCURACY_25ms 
PTP_CLOCK_ACCURACY_100ms 
PTP_CLOCK_ACCURACY_250ms 
PTP_CLOCK_ACCURACY_1s 
PTP_CLOCK_ACCURACY_10s 
PTP_CLOCK_ACCURACY_MORE_10s 
PTP_CLOCK_ACCURACY_RESERVED_1 
PTP_CLOCK_ACCURACY_RESERVED_2 
PTP_CLOCK_ACCURACY_RESERVED_3 
PTP_CLOCK_ACCURACY_RESERVED_4 
N_PTP_CLOCK_ACCURACY 

Definition at line 12810 of file gpsdefs.h.

◆ PTP_DELAY_MECH_MASKS

Bit masks associated with enumerated PTP delay mechanisms.

See also
PTP_DELAY_MECH_MASKS
Enumerator
PTP_DELAY_MECH_MSK_E2E 

see PTP_DELAY_MECH_E2E

PTP_DELAY_MECH_MSK_P2P 

see PTP_DELAY_MECH_P2P

Definition at line 12779 of file gpsdefs.h.

◆ PTP_DELAY_MECHS

An enumeration of PTP delay mechanisms.

Note
This is different than the numeric values specified in the published specs for IEEE1588. In addition, the specs define code 0x14 for "disabled".
See also
PTP_DELAY_MECH_MASKS
PTP_DELAY_MECH_NAMES
Enumerator
PTP_DELAY_MECH_E2E 

End-to-End (in PTP2 specs: 0x01)

PTP_DELAY_MECH_P2P 

Peer-to-Peer (in PTP2 specs: 0x02)

N_PTP_DELAY_MECH 

number of defined delay mechanisms

Definition at line 12766 of file gpsdefs.h.

◆ PTP_HW_FEAT_BITS

Bits used to define PTP_HW_FEAT_MASKS.

Enumerator
PTP_FEAT_SYNCE_EXT_MUX 

[R] supports SyncE and external signal multiplexer

N_PTP_HW_FEAT 

the number of defined features

Definition at line 13569 of file gpsdefs.h.

◆ PTP_HW_FEAT_MASKS

Bit masks used with PTP_HW_FEATURES.

See also
PTP_HW_FEAT_BITS
Enumerator
PTP_HW_FEAT_MSK_SYNCE_EXT_MUX 

see PTP_FEAT_SYNCE_EXT_MUX

Definition at line 13582 of file gpsdefs.h.

◆ PTP_NW_PROT_MASKS

Bit masks for enumerated protocols possibly used with PTP.

See also
PTP_NW_PROTS
Enumerator
PTP_NW_PROT_MSK_RESERVED 

see PTP_NW_PROT_RESERVED

PTP_NW_PROT_MSK_UDP_IPV4 

see PTP_NW_PROT_UDP_IPV4

PTP_NW_PROT_MSK_UDP_IPV6 

see PTP_NW_PROT_UDP_IPV6

PTP_NW_PROT_MSK_IEEE_802_3 

see PTP_NW_PROT_IEEE_802_3

PTP_NW_PROT_MSK_DEVICE_NET 

see PTP_NW_PROT_DEVICE_NET

PTP_NW_PROT_MSK_CONTROL_NET 

see PTP_NW_PROT_CONTROL_NET

PTP_NW_PROT_MSK_PROFINET 

see PTP_NW_PROT_PROFINET

Definition at line 12660 of file gpsdefs.h.

◆ PTP_NW_PROTS

Enumeration of protocols possibly used with PTP.

See also
PTP_NW_PROT_MASKS
Enumerator
PTP_NW_PROT_RESERVED 

reserved

PTP_NW_PROT_UDP_IPV4 

IPv4.

PTP_NW_PROT_UDP_IPV6 

IPv6.

PTP_NW_PROT_IEEE_802_3 

Ethernet (raw layer 2)

PTP_NW_PROT_DEVICE_NET 

DeviceNet.

PTP_NW_PROT_CONTROL_NET 

ControlNet.

PTP_NW_PROT_PROFINET 

ProfiNet.

N_PTP_NW_PROT 

number of defined protocols

Definition at line 12642 of file gpsdefs.h.

◆ PTP_OPT_EXT_MASKS

Flag masks used with PTP_CFG_INFO::supp_opt_ext.

See also
PTP_OPT_EXTS
Enumerator
PTP_MSK_OPT_EXT_NONE 

this is actually not used, see PTP_OPT_EXT_NONE

PTP_MSK_OPT_EXT_POWER 

see PTP_OPT_EXT_POWER

PTP_MSK_OPT_EXT_TELECOM 

see PTP_OPT_EXT_TELECOM

PTP_MSK_OPT_EXT_TELECOM_PHASE 

see PTP_OPT_EXT_TELECOM_PHASE

PTP_MSK_OPT_EXT_SMPTE 

see PTP_OPT_EXT_SMPTE

PTP_MSK_OPT_EXT_8021AS 

see PTP_OPT_EXT_8021AS

PTP_MSK_OPT_EXT_6185093 

see PTP_OPT_EXT_6185093

PTP_MSK_OPT_EXT_TELECOM_PTS 

see PTP_OPT_EXT_TELECOM_PTS

PTP_MSK_OPT_EXT_C37238_2017 

see PTP_MSK_OPT_EXT_C37238_2017

Definition at line 13614 of file gpsdefs.h.

◆ PTP_OPT_EXTS

Known optional PTP protocol extensions, see PTP_CFG_SETTINGS::opt_ext.

See also
PTP_OPT_EXT_MASKS
Enumerator
PTP_OPT_EXT_NONE 

no extension used

PTP_OPT_EXT_POWER 

IEEE C37.238-2011 profile extension.

PTP_OPT_EXT_TELECOM 

ITU-T G.8265.1 profile extension.

PTP_OPT_EXT_TELECOM_PHASE 

ITU-T G.8275.1 profile extension.

PTP_OPT_EXT_SMPTE 

SMPTE ST 2059-2 profile extension.

PTP_OPT_EXT_8021AS 

IEEE 802.1AS profile extension.

PTP_OPT_EXT_6185093 

IEC/IEEE FDIS 61850-9-3 Power Utility profile extension.

PTP_OPT_EXT_TELECOM_PTS 

ITU-T G.8275.2 profile extension.

PTP_OPT_EXT_C37238_2017 

IEEE C37.238-2017 profile extension.

N_PTP_OPT_EXT 

number of known optional extensions

Definition at line 13594 of file gpsdefs.h.

◆ PTP_PORT_STATES

Possible states of a PTP port.

Enumerator
PTP_PORT_STATE_UNINITIALIZED 

uninitialized

PTP_PORT_STATE_INITIALIZING 

currently initializing

PTP_PORT_STATE_FAULTY 

faulty

PTP_PORT_STATE_DISABLED 

disabled

PTP_PORT_STATE_LISTENING 

listening for PTP packets

PTP_PORT_STATE_PRE_MASTER 

going to become master

PTP_PORT_STATE_MASTER 

master

PTP_PORT_STATE_PASSIVE 

passive

PTP_PORT_STATE_UNCALIBRATED 

uncalibrated

PTP_PORT_STATE_SLAVE 

slave

N_PTP_PORT_STATE 

number of defined port states

Definition at line 12710 of file gpsdefs.h.

◆ PTP_PRESETS

Enumeration of PTP cfg presets used with PTP_CFG_SETTINGS::selected_presets.

This can be used by configuration programs to determine the last recently selected presets.

See also
PTP_PRESETS_STRS
PTP_PRESETS_MASKS
Enumerator
PTP_PRESETS_CUSTOM 

customizable, always supported

PTP_PRESETS_DFLT_E2E 

pure IEEE1588-2008 (PTPv2) with E2E

PTP_PRESETS_DFLT_P2P 

pure IEEE1588-2008 (PTPv2) with P2P

PTP_PRESETS_POWER 

IEEE C37.238 profile extension, only if PTP_MSK_OPT_EXT_POWER is set.

PTP_PRESETS_TELECOM 

ITU-T G.8265.1 profile extension, only if PTP_MSK_OPT_EXT_TELECOM is set.

PTP_PRESETS_TELECOM_PHASE 

ITU-T G.8275.1 profile extension, only if PTP_MSK_OPT_EXT_TELECOM_PHASE is set.

PTP_PRESETS_SMPTE 

SMPTE ST 2059-2 profile extension, only if PTP_MSK_OPT_EXT_SMPTE is set.

PTP_PRESETS_AES67 

AES67 media profile.

PTP_PRESETS_8021AS 

IEEE 802.1AS -like profile, only if PTP_MSK_OPT_EXT_8021AS is set.

PTP_PRESETS_6185093 

IEC/IEEE FDIS 61850-9-3, only if PTP_MSK_OPT_EXT_6185093 is set.

PTP_PRESETS_TELECOM_PTS 

ITU-T G.8275.2 profile extension, only if PTP_MSK_OPT_EXT_TELECOM_PTS is set.

PTP_PRESETS_DOCSIS_31 

only if PTP_MSK_OPT_EXT_TELECOM_PHASE is set

PTP_PRESETS_C37238_2017 

only if PTP_MSK_OPT_EXT_C37238_2017 is set

N_PTP_PRESETS 

number of supported presets

Definition at line 13638 of file gpsdefs.h.

◆ PTP_PRESETS_MASKS

Flag masks used with PTP_CFG_INFO::supp_opt_ext.

See also
PTP_PRESETS
Enumerator
PTP_MSK_PRESETS_CUSTOM 

see PTP_PRESETS_CUSTOM

PTP_MSK_PRESETS_DFLT_E2E 

see PTP_PRESETS_DFLT_E2E

PTP_MSK_PRESETS_DFLT_P2P 

see PTP_PRESETS_DFLT_P2P

PTP_MSK_PRESETS_POWER 

see PTP_PRESETS_POWER

PTP_MSK_PRESETS_TELECOM 

see PTP_PRESETS_TELECOM

PTP_MSK_PRESETS_TELECOM_PHASE 

see PTP_PRESETS_TELECOM_PHASE

PTP_MSK_PRESETS_SMPTE 

see PTP_PRESETS_SMPTE

PTP_MSK_PRESETS_AES67 

see PTP_PRESETS_AES67

PTP_MSK_PRESETS_8021AS 

see PTP_PRESETS_8021AS

PTP_MSK_PRESETS_6185093 

see PTP_PRESETS_6185093

PTP_MSK_PRESETS_TELECOM_PTS 

see PTP_PRESETS_TELECOM_PTS

PTP_MSK_PRESETS_DOCSIS_31 

see PTP_PRESETS_DOCSIS_31

PTP_MSK_PRESETS_C37238_2017 

see PTP_PRESETS_C37238_2017

Definition at line 13662 of file gpsdefs.h.

◆ PTP_ROLE_MASKS

Bit mask associated with PTP_ROLES.

A role in this context specifies a certain mode of operation. Depending on its specification a devices may not be able to take each of the specified roles.

Note
: A device in MULTICAST_AUTO role can be either master or slave, so the port state needs to be checked to determine the current mode of operation.
See also
PTP_ROLES
get_supp_ptp_role_mask
Enumerator
PTP_ROLE_MSK_MULTICAST_SLAVE 

see PTP_ROLE_MULTICAST_SLAVE

PTP_ROLE_MSK_UNICAST_SLAVE 

see PTP_ROLE_UNICAST_SLAVE

PTP_ROLE_MSK_MULTICAST_MASTER 

see PTP_ROLE_MULTICAST_MASTER

PTP_ROLE_MSK_UNICAST_MASTER 

see PTP_ROLE_UNICAST_MASTER

PTP_ROLE_MSK_MULTICAST_AUTO 

see PTP_ROLE_MULTICAST_AUTO

PTP_ROLE_MSK_BOTH_MASTER 

see PTP_ROLE_BOTH_MASTER

PTP_ROLE_MSK_NTP_SERVER 

see PTP_ROLE_NTP_SERVER

PTP_ROLE_MSK_NTP_CLIENT 

see PTP_ROLE_NTP_CLIENT

PTP_ROLE_MSK_TIME_MONITOR 

see PTP_ROLE_TIME_MONITOR

PTP_ROLE_MSK_V1_MASTER 

see PTP_ROLE_MULTICAST_MASTER

PTP_ROLE_MSK_V1_SLAVE 

see PTP_ROLE_UNICAST_SLAVE

Definition at line 12962 of file gpsdefs.h.

◆ PTP_ROLES

enum PTP_ROLES

An enumeration of roles which can be taken by a PTP node.

A role in this context specifies a certain mode of operation. Depending on its specification a devices may not be able to take each of the specified roles.

Note
: A device in MULTICAST_AUTO role can be either master or slave, so the port state needs to be checked to determine the current mode of operation.
See also
PTP_ROLE_MASKS
PTP_ROLE_STRS
PTP_ROLE_STRS_SHORT
Enumerator
PTP_ROLE_MULTICAST_SLAVE 

slave in multicast mode

PTP_ROLE_UNICAST_SLAVE 

slave in unicast mode

PTP_ROLE_MULTICAST_MASTER 

multicast master

PTP_ROLE_UNICAST_MASTER 

unicast master

PTP_ROLE_MULTICAST_AUTO 

multicast master or slave (auto selection)

PTP_ROLE_BOTH_MASTER 

simultanous multicast and unicast master

PTP_ROLE_NTP_SERVER 

NTP Unicast Server.

PTP_ROLE_NTP_CLIENT 

NTP Unicast Client.

PTP_ROLE_TIME_MONITOR 

Net Sync Monitor for external PTP or NTP devices.

PTP_ROLE_V1_MASTER 

PTPv1 Master in Multicast mode.

PTP_ROLE_V1_SLAVE 

PTPv1 Slave in Multicast mode.

N_PTP_ROLES 

number of defined roles

Definition at line 12931 of file gpsdefs.h.

◆ PTP_STATE_FLAG_MASKS

Flags masks used with PTP_STATE::flags.

See also
PTP_STATE_FLAGS
Enumerator
PTP_FLAG_MSK_SLAVE_ONLY 

see PTP_FLAG_SLAVE_ONLY

PTP_FLAG_MSK_IS_SLAVE 

see PTP_FLAG_IS_SLAVE

PTP_FLAG_MSK_TIMESCALE_IS_PTP 

see PTP_FLAG_TIMESCALE_IS_PTP

PTP_FLAG_MSK_LS_ANN 

see PTP_FLAG_LS_ANN

PTP_FLAG_MSK_LS_ANN_NEG 

see PTP_FLAG_LS_ANN_NEG

PTP_FLAG_MSK_IS_UNICAST 

see PTP_FLAG_IS_UNICAST

PTP_FLAG_MSK_UTC_VALID 

see PTP_FLAG_UTC_VALID

PTP_FLAG_MSK_ONE_STEP 

see PTP_FLAG_ONE_STEP

Definition at line 13261 of file gpsdefs.h.

◆ PTP_STATE_FLAGS

Flags bits used with PTP_STATE::flags.

See also
PTP_STATE_FLAG_MASKS
Enumerator
PTP_FLAG_SLAVE_ONLY 

the port can only be slave

PTP_FLAG_IS_SLAVE 

the port is currently slave

PTP_FLAG_TIMESCALE_IS_PTP 

the timescale is PTP standard, not arbitrary

PTP_FLAG_LS_ANN 

a leap second is being announced

PTP_FLAG_LS_ANN_NEG 

the announced leap second is negative

PTP_FLAG_IS_UNICAST 

the port currently operates in unicast mode

PTP_FLAG_UTC_VALID 

UTC parameters are valid

PTP_FLAG_ONE_STEP 

One-Step Clock active.

N_PTP_STATE_FLAGS 

the number of defined flag bits

Definition at line 13243 of file gpsdefs.h.

◆ PTP_TIME_SCALES

An enumeration of time scales used with PTP.

Note
The standard time scale used by PTP is TAI, which is a linear time scale. The protocol provides a UTC offset to be able to convert TAI to compute UTC, which can observe leap seconds. For the arbitrary time scale the UTC offset is unspecified, so arbitrary time can be UTC, or something else.
See also
PTP_TIMESCALE_NAMES
PTP_TIMESCALE_NAMES_SHORT
Enumerator
PTP_TIMESCALE_PTP 

PTP default, TAI.

PTP_TIMESCALE_ARB 

arbitrary time scale, maybe UTC

N_PTP_TIMESCALE 

Definition at line 13134 of file gpsdefs.h.

◆ PTP_TIME_SOURCES

Codes to specify the type of a time source used with PTP.

See also
PTP_TIME_SOURCE_TABLE
Enumerator
PTP_TIME_SOURCE_ATOMIC_CLOCK 
PTP_TIME_SOURCE_GPS 
PTP_TIME_SOURCE_TERRESTRIAL_RADIO 
PTP_TIME_SOURCE_PTP 
PTP_TIME_SOURCE_NTP 
PTP_TIME_SOURCE_HAND_SET 
PTP_TIME_SOURCE_OTHER 
PTP_TIME_SOURCE_INTERNAL_OSCILLATOR 

Definition at line 12883 of file gpsdefs.h.

◆ PTP_UC_MSG_DURATION_LIMITS

Unicast PTP master message duration limits.

Each unicast PTP master sends messages to a unicast slave only for a given interval as requested by the particular slave, which is called message duration. These symbols define the minimum and maximum message duration configured on a slave for a specific unicast master, i.e. for PTP_UC_MASTER_SETTINGS::message_duration. The values are defined in the PTP v2 standard.

Enumerator
PTP_UC_MSG_DURATION_MIN 

minimum message duration [s]

PTP_UC_MSG_DURATION_MAX 

maximum message duration [s]

Definition at line 14318 of file gpsdefs.h.

◆ PTP_V1_COMM_IDS

Enumerator
V1_PTP_CLOSED 
V1_PTP_ETHER 
V1_PTP_FFBUS 
V1_PTP_PROFIBUS 
V1_PTP_LON 
V1_PTP_DNET 
V1_PTP_SDS 
V1_PTP_CONTROLNET 
V1_PTP_CANOPEN 
V1_PTP_IEEE1394 
V1_PTP_IEEE802_11A 
V1_PTP_IEEE_WIRELESS 
V1_PTP_INFINIBAND 
V1_PTP_BLUETOOTH 
V1_PTP_IEEE802_15_1 
V1_PTP_IEEE1451_3 
V1_PTP_IEEE1451_5 
V1_PTP_USB 
V1_PTP_ISA 
V1_PTP_PCI 
V1_PTP_VXI 
V1_PTP_DEFAULT 

Definition at line 14483 of file gpsdefs.h.

◆ PTP_V1_DEFAULT_DATASET_FLAGS

PTPv1 default dataset flags.

See also
PTP_V1_DEFAULT_DATASET_FLAGS_MASKS
Enumerator
V1_DFLT_CLK_FOLLOWUP_CAPABLE 
V1_DFLT_PREFERRED 
V1_DFLT_INITIALIZABLE 
V1_DFLT_EXT_TIMING 
V1_DFLT_IS_BC 

Definition at line 14549 of file gpsdefs.h.

◆ PTP_V1_DEFAULT_DATASET_FLAGS_MASKS

PTPv1 default dataset flag masks used with MBG_PTP_V1_DEFAULT_DATASET::flags.

See also
PTP_V1_DEFAULT_DATASET_FLAGS
Enumerator
V1_DFLT_MSK_CLK_FOLLOWUP_CAPABLE 

see V1_DFLT_CLK_FOLLOWUP_CAPABLE

V1_DFLT_MSK_PREFERRED 

see V1_DFLT_PREFERRED

V1_DFLT_MSK_INITIALIZABLE 

see V1_DFLT_INITIALIZABLE

V1_DFLT_MSK_EXT_TIMING 

see V1_DFLT_EXT_TIMING

V1_DFLT_MSK_IS_BC 

see V1_DFLT_IS_BC

Definition at line 14565 of file gpsdefs.h.

◆ PTP_V1_PARENT_DATASET_FLAGS

PTPv1 parent dataset flags.

See also
PTP_V1_PARENT_DATASET_FLAGS_MASKS
Enumerator
V1_PARENT_FOLLOWUP_CAPABLE 
V1_PARENT_EXT_TIMING 
V1_PARENT_STATS 
V1_PARENT_UTC_REASONABLE 
V1_PARENT_GM_PREFERRED 
V1_PARENT_GM_IS_BC 

Definition at line 14636 of file gpsdefs.h.

◆ PTP_V1_PARENT_DATASET_FLAGS_MASKS

PTPv1 parent dataset flag masks used with MBG_PTP_V1_PARENT_DATASET::flags.

See also
PTP_V1_PARENT_DATASET_FLAGS
Enumerator
V1_PARENT_MSK_FOLLOWUP_CAPABLE 

see V1_PARENT_FOLLOWUP_CAPABLE

V1_PARENT_MSK_EXT_TIMING 

see V1_PARENT_EXT_TIMING

V1_PARENT_MSK_STATS 

see V1_PARENT_STATS

V1_PARENT_MSK_UTC_REASONABLE 

see V1_PARENT_UTC_REASONABLE

V1_PARENT_MSK_GM_PREFERRED 

see V1_PARENT_GM_PREFERRED

V1_PARENT_MSK_GM_IS_BC 

see V1_PARENT_GM_IS_BC

Definition at line 14653 of file gpsdefs.h.

◆ PTP_V1_PORT_DATASET_DATASET_FLAGS

PTPv1 port dataset flags.

See also
PTP_V1_PORT_DATASET_FLAGS_MASKS
Enumerator
V1_PORT_DATASET_BURST_ENB 

Definition at line 14761 of file gpsdefs.h.

◆ PTP_V1_PORT_DATASET_FLAGS_MASKS

PTPv1 port dataset flag masks used with MBG_PTP_V1_PORT_DATASET::flags.

See also
PTP_V1_PORT_DATASET_DATASET_FLAGS
Enumerator
V1_PORT_DATASET_MSK_BURST_ENB 

see V1_PORT_DATASET_BURST_ENB

Definition at line 14773 of file gpsdefs.h.

◆ PTP_V1_TIME_PROP_DATASET_DATASET_FLAGS

PTPv1 time drop dataset flags.

See also
PTP_V1_TIME_PROP_DATASET_FLAGS_MASKS
Enumerator
V1_TPROP_LEAP_59 
V1_TPROP_LEAP_61 

Definition at line 14712 of file gpsdefs.h.

◆ PTP_V1_TIME_PROP_DATASET_FLAGS_MASKS

PTPv1 time drop dataset flag masks used with MBG_PTP_V1_TIME_PROPERTIES_DATASET::flags.

See also
PTP_V1_TIME_PROP_DATASET_DATASET_FLAGS
Enumerator
V1_TPROP_MSK_LEAP_59 

see V1_TPROP_LEAP_59

V1_TPROP_MSK_LEAP_61 

see V1_TPROP_LEAP_61

Definition at line 14725 of file gpsdefs.h.

◆ SDH_NETWORK_OPTION_MASKS

Flag masks used with MBG_SYNC_E_INFO::supp_sdh_network_opts ::FIXME.

See also
SDH_NETWORK_OPTIONS
Enumerator
SDH_NETWORK_OPTION_1_MSK 

see SDH_NETWORK_OPTION_1

SDH_NETWORK_OPTION_2_MSK 

see SDH_NETWORK_OPTION_2

Definition at line 14133 of file gpsdefs.h.

◆ SDH_NETWORK_OPTIONS

SDH network options.

See also
SDH_NETWORK_OPTION_MASKS
Enumerator
SDH_NETWORK_OPTION_1 
SDH_NETWORK_OPTION_2 
N_SDH_NETWORK_OPTIONS 

Definition at line 14118 of file gpsdefs.h.

◆ SMPTE_SYSTEM_FRAME_RATES

SMPTE System Frame Rates according to SMPTE ST 2059-2.

See also
::TODO
Enumerator
SMPTE_23_98HZ 
SMPTE_24HZ 
SMPTE_25HZ 
SMPTE_29_97HZ 
SMPTE_50HZ 
SMPTE_59_94HZ 
N_SMPTE_SYSTEM_FRAME_RATES 

Definition at line 13743 of file gpsdefs.h.

◆ T1_SSM_QLVL

T1 SSM only quality level (6 bit encoded)

See also
MAX_T1_SSM_QLVL
T1_SSM_QLVL_STRS
T1_SSM_QLVL_ARRAY
Enumerator
T1_SSM_QLVL_ST1_TRACE 
T1_SSM_QLVL_SYNC_TRACE_UNKNOWN 
T1_SSM_QLVL_ST2_TRACE 
T1_SSM_QLVL_ST3_TRACE 
T1_SSM_QLVL_SONET_MIN_CLOCK_TRACE 
T1_SSM_QLVL_ST4_TRACE 
T1_SSM_QLVL_DNU_FOR_SYNC 
T1_SSM_QLVL_RESERVED 

Definition at line 14057 of file gpsdefs.h.