mbgtools-lx  4.2.8
Bit masks used with PTP_CFG_INFO::supp_flags and PTP_CFG_SETTINGS::flags

Macros

#define PTP_CFG_MSK_TIME_SCALE_IS_PTP   ( 1UL << PTP_CFG_TIME_SCALE_IS_PTP )
 see PTP_CFG_TIME_SCALE_IS_PTP More...
 
#define PTP_CFG_MSK_V1_HW_COMPAT   ( 1UL << PTP_CFG_V1_HW_COMPAT )
 see PTP_CFG_V1_HW_COMPAT More...
 
#define PTP_CFG_MSK_CAN_BE_UNICAST_SLAVE   ( 1UL << PTP_CFG_CAN_BE_UNICAST_SLAVE )
 see PTP_CFG_CAN_BE_UNICAST_SLAVE More...
 
#define PTP_CFG_MSK_CAN_BE_MULTICAST_MASTER   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_MASTER )
 see PTP_CFG_CAN_BE_MULTICAST_MASTER More...
 
#define PTP_CFG_MSK_CAN_BE_UNICAST_MASTER   ( 1UL << PTP_CFG_CAN_BE_UNICAST_MASTER )
 see PTP_CFG_CAN_BE_UNICAST_MASTER More...
 
#define PTP_CFG_MSK_CAN_BE_MULTICAST_AUTO   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_AUTO )
 see PTP_CFG_CAN_BE_MULTICAST_AUTO More...
 
#define PTP_CFG_MSK_SUPP_UTC_VALID   ( 1UL << PTP_CFG_SUPP_UTC_VALID )
 see PTP_CFG_SUPP_UTC_VALID More...
 
#define PTP_CFG_MSK_CAN_BE_BOTH_MASTER   ( 1UL << PTP_CFG_CAN_BE_BOTH_MASTER )
 see PTP_CFG_CAN_BE_BOTH_MASTER More...
 
#define PTP_CFG_MSK_HYBRID_MASTER   ( 1UL << PTP_CFG_HYBRID_MASTER )
 see PTP_CFG_HYBRID_MASTER More...
 
#define PTP_CFG_MSK_HYBRID_SLAVE   ( 1UL << PTP_CFG_HYBRID_SLAVE )
 see PTP_CFG_HYBRID_SLAVE More...
 
#define PTP_CFG_MSK_ONE_STEP_MASTER   ( 1UL << PTP_CFG_ONE_STEP_MASTER )
 see PTP_CFG_ONE_STEP_MASTER More...
 
#define PTP_CFG_MSK_MNGMNT_MSGS_DISB   ( 1UL << PTP_CFG_MNGMNT_MSGS_DISB )
 see PTP_CFG_MNGMNT_MSGS_DISB More...
 
#define PTP_CFG_MSK_SUPP_MCAST_SLAVE_FLAG   ( 1UL << PTP_CFG_SUPP_MCAST_SLAVE_FLAG )
 see PTP_CFG_SUPP_MCAST_SLAVE_FLAG More...
 
#define PTP_CFG_MSK_CAN_BE_MULTICAST_SLAVE   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_SLAVE )
 see PTP_CFG_CAN_BE_MULTICAST_SLAVE More...
 
#define PTP_CFG_MSK_ONE_STEP_L2   ( 1UL << PTP_CFG_ONE_STEP_L2 )
 see PTP_CFG_ONE_STEP_L2 More...
 
#define PTP_CFG_MSK_ONE_STEP_P2P   ( 1UL << PTP_CFG_ONE_STEP_P2P )
 see PTP_CFG_ONE_STEP_P2P More...
 
#define PTP_CFG_MSK_TSU_RESET   ( 1UL << PTP_CFG_TSU_RESET )
 see PTP_CFG_TSU_RESET More...
 
#define PTP_CFG_MSK_NTP_HW_TS_MASTER   ( 1UL << PTP_CFG_NTP_HW_TS_MASTER )
 see PTP_CFG_NTP_HW_TS_MASTER More...
 
#define PTP_CFG_MSK_NTP_HW_TS_SLAVE   ( 1UL << PTP_CFG_NTP_HW_TS_SLAVE)
 see PTP_CFG_NTP_HW_TS_SLAVE More...
 
#define PTP_CFG_MSK_SYNCE_MASTER   ( 1UL << PTP_CFG_SYNCE_MASTER )
 see PTP_CFG_SYNCE_MASTER More...
 
#define PTP_CFG_MSK_SYNCE_SLAVE   ( 1UL << PTP_CFG_SYNCE_SLAVE )
 see PTP_CFG_SYNCE_SLAVE More...
 
#define PTP_CFG_MSK_HAS_MUX   ( 1UL << PTP_CFG_HAS_MUX )
 see PTP_CFG_HAS_MUX More...
 
#define PTP_CFG_MSK_CAN_BE_TIME_MONITOR   ( 1UL << PTP_CFG_CAN_BE_TIME_MONITOR )
 see PTP_CFG_CAN_BE_TIME_MONITOR More...
 
#define PTP_CFG_MSK_HAS_STATISTICS   ( 1UL << PTP_CFG_HAS_STATISTICS )
 see PTP_CFG_HAS_STATISTICS More...
 
#define PTP_CFG_MSK_CAN_BE_V1_MASTER   ( 1UL << PTP_CFG_CAN_BE_V1_MASTER )
 see PTP_CFG_CAN_BE_V1_MASTER More...
 
#define PTP_CFG_MSK_CAN_BE_V1_SLAVE   ( 1UL << PTP_CFG_CAN_BE_V1_SLAVE )
 see PTP_CFG_CAN_BE_V1_SLAVE More...
 
#define PTP_CFG_MSK_HAS_V2_COMMON_DATASETS   ( 1UL << PTP_CFG_HAS_V2_COMMON_DATASETS )
 see PTP_CFG_HAS_V2_COMMON_DATASETS More...
 
#define PTP_CFG_MSK_HAS_V1_COMMON_DATASETS   ( 1UL << PTP_CFG_HAS_V1_COMMON_DATASETS )
 see PTP_CFG_HAS_V1_COMMON_DATASETS More...
 
#define PTP_CFG_MSK_ATOI   ( 1UL << PTP_CFG_ATOI )
 see PTP_CFG_ATOI More...
 
#define PTP_CFG_MSK_HAS_SMPTE_TLV_STATE   ( 1UL << PTP_CFG_HAS_SMPTE_TLV_STATE )
 see PTP_CFG_HAS_SMPTE_TLV_STATE More...
 
#define PTP_CFG_MSK_NTP_SW_SERVER   ( 1UL << PTP_CFG_NTP_SW_SERVER )
 see PTP_CFG_NTP_SW_SERVER More...
 
#define PTP_CFG_MSK_HAS_EXT_SUPP_FLAGS   ( 1UL << PTP_CFG_HAS_EXT_SUPP_FLAGS )
 see PTP_CFG_CAN_BE_PTP_PROBE More...
 

Detailed Description

See also
PTP_CFG_INFO::supp_flags
PTP_CFG_SETTINGS::flags
PTP_CFG_FLAGS

Macro Definition Documentation

◆ PTP_CFG_MSK_ATOI

#define PTP_CFG_MSK_ATOI   ( 1UL << PTP_CFG_ATOI )

see PTP_CFG_ATOI

Definition at line 13490 of file gpsdefs.h.

◆ PTP_CFG_MSK_CAN_BE_BOTH_MASTER

#define PTP_CFG_MSK_CAN_BE_BOTH_MASTER   ( 1UL << PTP_CFG_CAN_BE_BOTH_MASTER )

see PTP_CFG_CAN_BE_BOTH_MASTER

Definition at line 13466 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_MULTICAST_AUTO

#define PTP_CFG_MSK_CAN_BE_MULTICAST_AUTO   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_AUTO )

see PTP_CFG_CAN_BE_MULTICAST_AUTO

Definition at line 13464 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_MULTICAST_MASTER

#define PTP_CFG_MSK_CAN_BE_MULTICAST_MASTER   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_MASTER )

see PTP_CFG_CAN_BE_MULTICAST_MASTER

Definition at line 13462 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_MULTICAST_SLAVE

#define PTP_CFG_MSK_CAN_BE_MULTICAST_SLAVE   ( 1UL << PTP_CFG_CAN_BE_MULTICAST_SLAVE )

see PTP_CFG_CAN_BE_MULTICAST_SLAVE

Definition at line 13473 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_TIME_MONITOR

#define PTP_CFG_MSK_CAN_BE_TIME_MONITOR   ( 1UL << PTP_CFG_CAN_BE_TIME_MONITOR )

see PTP_CFG_CAN_BE_TIME_MONITOR

Definition at line 13483 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_UNICAST_MASTER

#define PTP_CFG_MSK_CAN_BE_UNICAST_MASTER   ( 1UL << PTP_CFG_CAN_BE_UNICAST_MASTER )

see PTP_CFG_CAN_BE_UNICAST_MASTER

Definition at line 13463 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_UNICAST_SLAVE

#define PTP_CFG_MSK_CAN_BE_UNICAST_SLAVE   ( 1UL << PTP_CFG_CAN_BE_UNICAST_SLAVE )

see PTP_CFG_CAN_BE_UNICAST_SLAVE

Definition at line 13461 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_V1_MASTER

#define PTP_CFG_MSK_CAN_BE_V1_MASTER   ( 1UL << PTP_CFG_CAN_BE_V1_MASTER )

see PTP_CFG_CAN_BE_V1_MASTER

Definition at line 13486 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_CAN_BE_V1_SLAVE

#define PTP_CFG_MSK_CAN_BE_V1_SLAVE   ( 1UL << PTP_CFG_CAN_BE_V1_SLAVE )

see PTP_CFG_CAN_BE_V1_SLAVE

Definition at line 13487 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_HAS_EXT_SUPP_FLAGS

#define PTP_CFG_MSK_HAS_EXT_SUPP_FLAGS   ( 1UL << PTP_CFG_HAS_EXT_SUPP_FLAGS )

see PTP_CFG_CAN_BE_PTP_PROBE

Definition at line 13493 of file gpsdefs.h.

◆ PTP_CFG_MSK_HAS_MUX

#define PTP_CFG_MSK_HAS_MUX   ( 1UL << PTP_CFG_HAS_MUX )

see PTP_CFG_HAS_MUX

Definition at line 13482 of file gpsdefs.h.

◆ PTP_CFG_MSK_HAS_SMPTE_TLV_STATE

#define PTP_CFG_MSK_HAS_SMPTE_TLV_STATE   ( 1UL << PTP_CFG_HAS_SMPTE_TLV_STATE )

see PTP_CFG_HAS_SMPTE_TLV_STATE

Definition at line 13491 of file gpsdefs.h.

◆ PTP_CFG_MSK_HAS_STATISTICS

#define PTP_CFG_MSK_HAS_STATISTICS   ( 1UL << PTP_CFG_HAS_STATISTICS )

see PTP_CFG_HAS_STATISTICS

Definition at line 13484 of file gpsdefs.h.

◆ PTP_CFG_MSK_HAS_V1_COMMON_DATASETS

#define PTP_CFG_MSK_HAS_V1_COMMON_DATASETS   ( 1UL << PTP_CFG_HAS_V1_COMMON_DATASETS )

see PTP_CFG_HAS_V1_COMMON_DATASETS

Definition at line 13489 of file gpsdefs.h.

◆ PTP_CFG_MSK_HAS_V2_COMMON_DATASETS

#define PTP_CFG_MSK_HAS_V2_COMMON_DATASETS   ( 1UL << PTP_CFG_HAS_V2_COMMON_DATASETS )

see PTP_CFG_HAS_V2_COMMON_DATASETS

Definition at line 13488 of file gpsdefs.h.

◆ PTP_CFG_MSK_HYBRID_MASTER

#define PTP_CFG_MSK_HYBRID_MASTER   ( 1UL << PTP_CFG_HYBRID_MASTER )

see PTP_CFG_HYBRID_MASTER

Definition at line 13468 of file gpsdefs.h.

◆ PTP_CFG_MSK_HYBRID_SLAVE

#define PTP_CFG_MSK_HYBRID_SLAVE   ( 1UL << PTP_CFG_HYBRID_SLAVE )

see PTP_CFG_HYBRID_SLAVE

Definition at line 13469 of file gpsdefs.h.

◆ PTP_CFG_MSK_MNGMNT_MSGS_DISB

#define PTP_CFG_MSK_MNGMNT_MSGS_DISB   ( 1UL << PTP_CFG_MNGMNT_MSGS_DISB )

see PTP_CFG_MNGMNT_MSGS_DISB

Definition at line 13471 of file gpsdefs.h.

◆ PTP_CFG_MSK_NTP_HW_TS_MASTER

#define PTP_CFG_MSK_NTP_HW_TS_MASTER   ( 1UL << PTP_CFG_NTP_HW_TS_MASTER )

see PTP_CFG_NTP_HW_TS_MASTER

Definition at line 13478 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_NTP_HW_TS_SLAVE

#define PTP_CFG_MSK_NTP_HW_TS_SLAVE   ( 1UL << PTP_CFG_NTP_HW_TS_SLAVE)

see PTP_CFG_NTP_HW_TS_SLAVE

Definition at line 13479 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_NTP_SW_SERVER

#define PTP_CFG_MSK_NTP_SW_SERVER   ( 1UL << PTP_CFG_NTP_SW_SERVER )

see PTP_CFG_NTP_SW_SERVER

Definition at line 13492 of file gpsdefs.h.

◆ PTP_CFG_MSK_ONE_STEP_L2

#define PTP_CFG_MSK_ONE_STEP_L2   ( 1UL << PTP_CFG_ONE_STEP_L2 )

see PTP_CFG_ONE_STEP_L2

Definition at line 13474 of file gpsdefs.h.

◆ PTP_CFG_MSK_ONE_STEP_MASTER

#define PTP_CFG_MSK_ONE_STEP_MASTER   ( 1UL << PTP_CFG_ONE_STEP_MASTER )

see PTP_CFG_ONE_STEP_MASTER

Definition at line 13470 of file gpsdefs.h.

◆ PTP_CFG_MSK_ONE_STEP_P2P

#define PTP_CFG_MSK_ONE_STEP_P2P   ( 1UL << PTP_CFG_ONE_STEP_P2P )

see PTP_CFG_ONE_STEP_P2P

Definition at line 13475 of file gpsdefs.h.

◆ PTP_CFG_MSK_SUPP_MCAST_SLAVE_FLAG

#define PTP_CFG_MSK_SUPP_MCAST_SLAVE_FLAG   ( 1UL << PTP_CFG_SUPP_MCAST_SLAVE_FLAG )

see PTP_CFG_SUPP_MCAST_SLAVE_FLAG

Definition at line 13472 of file gpsdefs.h.

Referenced by get_supp_ptp_role_mask().

◆ PTP_CFG_MSK_SUPP_UTC_VALID

#define PTP_CFG_MSK_SUPP_UTC_VALID   ( 1UL << PTP_CFG_SUPP_UTC_VALID )

see PTP_CFG_SUPP_UTC_VALID

Definition at line 13465 of file gpsdefs.h.

◆ PTP_CFG_MSK_SYNCE_MASTER

#define PTP_CFG_MSK_SYNCE_MASTER   ( 1UL << PTP_CFG_SYNCE_MASTER )

see PTP_CFG_SYNCE_MASTER

Definition at line 13480 of file gpsdefs.h.

◆ PTP_CFG_MSK_SYNCE_SLAVE

#define PTP_CFG_MSK_SYNCE_SLAVE   ( 1UL << PTP_CFG_SYNCE_SLAVE )

see PTP_CFG_SYNCE_SLAVE

Definition at line 13481 of file gpsdefs.h.

◆ PTP_CFG_MSK_TIME_SCALE_IS_PTP

#define PTP_CFG_MSK_TIME_SCALE_IS_PTP   ( 1UL << PTP_CFG_TIME_SCALE_IS_PTP )

see PTP_CFG_TIME_SCALE_IS_PTP

Definition at line 13459 of file gpsdefs.h.

◆ PTP_CFG_MSK_TSU_RESET

#define PTP_CFG_MSK_TSU_RESET   ( 1UL << PTP_CFG_TSU_RESET )

see PTP_CFG_TSU_RESET

Definition at line 13477 of file gpsdefs.h.

◆ PTP_CFG_MSK_V1_HW_COMPAT

#define PTP_CFG_MSK_V1_HW_COMPAT   ( 1UL << PTP_CFG_V1_HW_COMPAT )

see PTP_CFG_V1_HW_COMPAT

Definition at line 13460 of file gpsdefs.h.

Referenced by set_ptp_cfg(), and show_ptp_cfg().