mbgtools-lx  4.2.8
Types used for extended network configuration and status

Macros

#define MBG_IP_ADDR_TYPE_STR_ENG_UNKNOWN   "unknown"
 
#define MBG_IP_ADDR_TYPE_STR_ENG_IP4   "IPv4"
 
#define MBG_IP_ADDR_TYPE_STR_ENG_IP6   "IPv6"
 
#define MBG_IP_ADDR_TYPE_NAMES_ENG
 
#define MBG_NET_INTF_LINK_PORT_TYPE_LONG_STRS
 Initializers for network interface link port type long strings. More...
 
#define MBG_NET_INTF_LINK_PORT_TYPE_SHORT_STRS
 Initializers for network interface link port type short strings. More...
 
#define MBG_NET_INTF_LINK_BOND_MODE_STRS
 Network interface link bonding mode name strings. More...
 

Enumerations

enum  MBG_IP_ADDR_TYPES { MBG_IP_ADDR_TYPE_UNKNOWN, MBG_IP_ADDR_TYPE_IP4, MBG_IP_ADDR_TYPE_IP6, N_MBG_IP_ADDR_TYPES }
 Enumeration of types used with MBG_IP_ADDR::type. More...
 
enum  MBG_NET_GLB_CFG_INFO_FLAGS {
  MBG_NET_GLB_SUPP_STAGE_2, MBG_NET_GLB_SUPP_BONDING, MBG_NET_GLB_SUPP_ADD_CONF, MBG_NET_GLB_SUPP_EXT_ROUTING,
  N_MBG_NET_GLB_INFO_FLAGS
}
 Feature flag bits used to define MBG_NET_GLB_CFG_INFO_MASKS. More...
 
enum  MBG_NET_GLB_CFG_INFO_MASKS { MBG_NET_GLB_SUPP_STAGE_2_MASK = (1UL << MBG_NET_GLB_SUPP_STAGE_2), MBG_NET_GLB_SUPP_BONDING_MASK = (1UL << MBG_NET_GLB_SUPP_BONDING), MBG_NET_GLB_SUPP_ADD_CONF_MASK = (1UL << MBG_NET_GLB_SUPP_ADD_CONF), MBG_NET_GLB_SUPP_EXT_ROUTING_MASK = (1UL << MBG_NET_GLB_SUPP_EXT_ROUTING) }
 Flag masks used with MBG_NET_GLB_CFG_INFO::feat_flags. More...
 
enum  MBG_NET_INTF_LINK_SPEED_MODES {
  MBG_NET_INTF_LINK_SPEED_MODE_UNKNOWN, MBG_NET_INTF_LINK_SPEED_MODE_10_T_HALF, MBG_NET_INTF_LINK_SPEED_MODE_10_T_FULL, MBG_NET_INTF_LINK_SPEED_MODE_100_T_HALF,
  MBG_NET_INTF_LINK_SPEED_MODE_100_T_FULL, MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF, MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL, MBG_NET_INTF_LINK_SPEED_MODE_1000_KX_FULL,
  MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL, MBG_NET_INTF_LINK_SPEED_MODE_10000_T_FULL, MBG_NET_INTF_LINK_SPEED_MODE_10000_KX4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_10000_KR_FULL,
  MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC, MBG_NET_INTF_LINK_SPEED_MODE_20000_MLD2_FULL, MBG_NET_INTF_LINK_SPEED_MODE_20000_KR2_FULL, MBG_NET_INTF_LINK_SPEED_MODE_40000_KR4_FULL,
  MBG_NET_INTF_LINK_SPEED_MODE_40000_CR4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_40000_SR4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_40000_LR4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_56000_KR4_FULL,
  MBG_NET_INTF_LINK_SPEED_MODE_56000_CR4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_56000_SR4_FULL, MBG_NET_INTF_LINK_SPEED_MODE_56000_LR4_FULL, N_MBG_NET_INTF_LINK_SPEED_MODES
}
 Network interface link speed mode enumeration. More...
 
enum  MBG_NET_INTF_LINK_SPEEDS {
  MBG_NET_INTF_LINK_SPEED_UNKNOWN = 0UL, MBG_NET_INTF_LINK_SPEED_10 = 10UL, MBG_NET_INTF_LINK_SPEED_100 = 100UL, MBG_NET_INTF_LINK_SPEED_1000 = 1000UL,
  MBG_NET_INTF_LINK_SPEED_2500 = 2500UL, MBG_NET_INTF_LINK_SPEED_10000 = 10000UL, MBG_NET_INTF_LINK_SPEED_20000 = 20000UL, MBG_NET_INTF_LINK_SPEED_40000 = 40000UL,
  MBG_NET_INTF_LINK_SPEED_56000 = 56000UL
}
 Network interface link speeds [Mb/s]. More...
 
enum  MBG_NET_INTF_LINK_PORT_TYPES {
  MBG_NET_INTF_LINK_PORT_TYPE_UNKNOWN, MBG_NET_INTF_LINK_PORT_TYPE_TP, MBG_NET_INTF_LINK_PORT_TYPE_FIBRE, MBG_NET_INTF_LINK_PORT_TYPE_BNC,
  MBG_NET_INTF_LINK_PORT_TYPE_AUI, MBG_NET_INTF_LINK_PORT_TYPE_MII, MBG_NET_INTF_LINK_PORT_TYPE_DA, N_MBG_NET_INTF_LINK_PORT_TYPES
}
 Network interface link port types. More...
 
enum  MBG_NET_INTF_LINK_PORT_TYPE_MASKS {
  MBG_NET_INTF_LINK_PORT_TYPE_MASK_UNKNOWN = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_UNKNOWN ), MBG_NET_INTF_LINK_PORT_TYPE_MASK_TP = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_TP ), MBG_NET_INTF_LINK_PORT_TYPE_MASK_FIBRE = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_FIBRE ), MBG_NET_INTF_LINK_PORT_TYPE_MASK_BNC = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_BNC ),
  MBG_NET_INTF_LINK_PORT_TYPE_MASK_AUI = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_AUI ), MBG_NET_INTF_LINK_PORT_TYPE_MASK_MII = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_MII ), MBG_NET_INTF_LINK_PORT_TYPE_MASK_DA = ( 1UL << MBG_NET_INTF_LINK_PORT_TYPE_DA )
}
 Network interface link port masks. More...
 
enum  MBG_NET_INTF_LINK_STATE_BITS {
  MBG_NET_INTF_LINK_STATE_BIT_UP, MBG_NET_INTF_LINK_STATE_BIT_RUNNING, MBG_NET_INTF_LINK_STATE_BIT_LOWER_UP, MBG_NET_INTF_LINK_STATE_BIT_DORMANT,
  MBG_NET_INTF_LINK_STATE_BIT_BROADCAST, MBG_NET_INTF_LINK_STATE_BIT_MULTICAST, MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI, MBG_NET_INTF_LINK_STATE_BIT_DEBUG,
  MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK, MBG_NET_INTF_LINK_STATE_BIT_POINT_TO_POINT, MBG_NET_INTF_LINK_STATE_BIT_NO_ARP, MBG_NET_INTF_LINK_STATE_BIT_PROMISC,
  MBG_NET_INTF_LINK_STATE_BIT_MASTER, MBG_NET_INTF_LINK_STATE_BIT_SLAVE, MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL, MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA,
  MBG_NET_INTF_LINK_STATE_BIT_ECHO, MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC, MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS, N_MBG_NET_INTF_LINK_STATE_BITS
}
 Network interface link state bits. More...
 
enum  MBG_NET_INTF_LINK_OPTS {
  MBG_NET_INTF_LINK_OPT_CAN_SET_MAC, MBG_NET_INTF_LINK_OPT_CAN_SYNCE_IN, MBG_NET_INTF_LINK_OPT_CAN_SYNCE_OUT, MBG_NET_INTF_LINK_OPT_CAN_AUTONEG,
  MBG_NET_INTF_LINK_OPT_CAN_NTP_HW_TS, MBG_NET_INTF_LINK_OPT_CAN_PTP_HW_TS, N_MBG_NET_INTF_LINK_OPTS
}
 Network interface link option bits. More...
 
enum  MBG_NET_INTF_LINK_OPT_MASKS {
  MBG_NET_INTF_LINK_OPT_MASK_CAN_SET_MAC = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_SET_MAC ), MBG_NET_INTF_LINK_OPT_MASK_CAN_SYNCE_IN = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_SYNCE_IN ), MBG_NET_INTF_LINK_OPT_MASK_CAN_SYNCE_OUT = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_SYNCE_OUT ), MBG_NET_INTF_LINK_OPT_MASK_CAN_AUTONEG = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_AUTONEG ),
  MBG_NET_INTF_LINK_OPT_MASK_CAN_NTP_HW_TS = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_NTP_HW_TS ), MBG_NET_INTF_LINK_OPT_MASK_CAN_PTP_HW_TS = ( 1UL << MBG_NET_INTF_LINK_OPT_CAN_PTP_HW_TS )
}
 Network interface link option masks. More...
 
enum  MBG_NET_INTF_LINK_BOND_MODES {
  MBG_NET_INTF_LINK_BOND_MODE_ROUNDROBIN, MBG_NET_INTF_LINK_BOND_MODE_ACTIVEBACKUP, MBG_NET_INTF_LINK_BOND_MODE_XOR, MBG_NET_INTF_LINK_BOND_MODE_BROADCAST,
  MBG_NET_INTF_LINK_BOND_MODE_8023AD, MBG_NET_INTF_LINK_BOND_MODE_TLB, MBG_NET_INTF_LINK_BOND_MODE_ALB, N_MBG_NET_INTF_LINK_BOND_MODES
}
 Network interface link bonding mode. More...
 
enum  MBG_NET_INTF_LINK_BOND_MODE_MASKS {
  MBG_NET_INTF_LINK_BOND_MODE_MASK_ROUNDROBIN = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_ROUNDROBIN ), MBG_NET_INTF_LINK_BOND_MODE_MASK_ACTIVEBACKUP = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_ACTIVEBACKUP ), MBG_NET_INTF_LINK_BOND_MODE_MASK_XOR = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_XOR ), MBG_NET_INTF_LINK_BOND_MODE_MASK_BROADCAST = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_BROADCAST ),
  MBG_NET_INTF_LINK_BOND_MODE_MASK_8023AD = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_8023AD ), MBG_NET_INTF_LINK_BOND_MODE_MASK_TLB = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_TLB ), MBG_NET_INTF_LINK_BOND_MODE_MASK_ALB = ( 1UL << MBG_NET_INTF_LINK_BOND_MODE_ALB )
}
 Network interface link bonding mode masks. More...
 
enum  MBG_NET_INTF_LINK_BOND_STATES { MBG_NET_INTF_LINK_BOND_STATE_ACTIVE, MBG_NET_INTF_LINK_BOND_STATE_BACKUP, N_MBG_NET_INTF_LINK_BOND_STATES }
 Network interface link bonding states. More...
 
enum  MBG_NET_INTF_LINK_TYPES { MBG_NET_INTF_LINK_TYPE_PHYS, MBG_NET_INTF_LINK_TYPE_VLAN, MBG_NET_INTF_LINK_TYPE_BOND, N_MBG_NET_INTF_LINK_TYPE_BITS }
 Network interface link type bits. More...
 
enum  MBG_NET_INTF_LINK_TYPE_MASKS { MBG_NET_INTF_LINK_TYPE_MASK_PHYS = ( 1UL << MBG_NET_INTF_LINK_TYPE_PHYS ), MBG_NET_INTF_LINK_TYPE_MASK_VLAN = ( 1UL << MBG_NET_INTF_LINK_TYPE_VLAN ), MBG_NET_INTF_LINK_TYPE_MASK_BOND = ( 1UL << MBG_NET_INTF_LINK_TYPE_BOND ) }
 Network interface link type masks. More...
 
enum  MBG_NET_INTF_ADDR_BITS { MBG_NET_INTF_ADDR_BIT_DHCP4, MBG_NET_INTF_ADDR_BIT_DHCP6, MBG_NET_INTF_ADDR_BIT_AUTOCONF, N_MBG_NET_INTF_ADDR_FLAGS }
 Network interface address bits. More...
 
enum  MBG_NET_INTF_ADDR_MASKS { MBG_NET_INTF_ADDR_MASK_DHCP4 = ( 1UL << MBG_NET_INTF_ADDR_BIT_DHCP4 ), MBG_NET_INTF_ADDR_MASK_DHCP6 = ( 1UL << MBG_NET_INTF_ADDR_BIT_DHCP6 ), MBG_NET_INTF_ADDR_MASK_AUTOCONF = ( 1UL << MBG_NET_INTF_ADDR_BIT_AUTOCONF ) }
 Network interface address masks. More...
 
enum  MBG_NET_INTF_ROUTE_TYPES {
  MBG_NET_INTF_ROUTE_TYPE_UNKNOWN, MBG_NET_INTF_ROUTE_TYPE_DEFAULT_GATEWAY, MBG_NET_INTF_ROUTE_TYPE_DEST_GATEWAY, MBG_NET_INTF_ROUTE_TYPE_DEST_ADDR,
  N_MBG_NET_INTF_ROUTE_TYPES
}
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_UNKNOWN   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_UNKNOWN )
 Network interface link speed mode masks. More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10_T_HALF )
 see MBG_NET_INTF_LINK_SPEED_MODE_10_T_HALF More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10_T_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_10_T_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_100_T_HALF )
 see MBG_NET_INTF_LINK_SPEED_MODE_100_T_HALF More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_100_T_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_100_T_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF )
 see MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_KX_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_KX_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_1000_KX_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_2500_X_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_T_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_10000_T_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KX4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_KX4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_10000_KX4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KR_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_KR_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_10000_KR_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_R_FEC   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC )
 see MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_MLD2_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_20000_MLD2_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_20000_MLD2_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_KR2_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_20000_KR2_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_20000_KR2_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_KR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_KR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_40000_KR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_CR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_CR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_40000_CR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_SR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_SR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_40000_SR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_LR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_LR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_40000_LR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_KR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_KR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_56000_KR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_CR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_CR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_56000_CR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_SR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_SR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_56000_SR4_FULL More...
 
#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_LR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_LR4_FULL )
 see MBG_NET_INTF_LINK_SPEED_MODE_56000_LR4_FULL More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_UP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_UP )
 Network interface link state masks. More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_RUNNING   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_RUNNING )
 see MBG_NET_INTF_LINK_STATE_BIT_RUNNING More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_LOWER_UP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_LOWER_UP )
 see MBG_NET_INTF_LINK_STATE_BIT_LOWER_UP More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_DORMANT   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DORMANT )
 see MBG_NET_INTF_LINK_STATE_BIT_DORMANT More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_BROADCAST   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_BROADCAST )
 see MBG_NET_INTF_LINK_STATE_BIT_BROADCAST More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_MULTICAST   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_MULTICAST )
 see MBG_NET_INTF_LINK_STATE_BIT_MULTICAST More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_ALL_MULTI   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI )
 see MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_DEBUG   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DEBUG )
 see MBG_NET_INTF_LINK_STATE_BIT_DEBUG More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_LOOPBACK   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK )
 see MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_POINT_TO_POINT   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_POINT_TO_POINT )
 see MBG_NET_INTF_LINK_STATE_BIT_POINT_TO_POINT More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_NO_ARP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_NO_ARP )
 see MBG_NET_INTF_LINK_STATE_BIT_NO_ARP More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_PROMISC   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_PROMISC )
 see MBG_NET_INTF_LINK_STATE_BIT_PROMISC More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_MASTER   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_MASTER )
 see MBG_NET_INTF_LINK_STATE_BIT_MASTER More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_SLAVE   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_SLAVE )
 see MBG_NET_INTF_LINK_STATE_BIT_SLAVE More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_PORT_SEL   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL )
 see MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_AUTO_MEDIA   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA )
 see MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_ECHO   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_ECHO )
 see MBG_NET_INTF_LINK_STATE_BIT_ECHO More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_DYNAMIC   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC)
 see MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC More...
 
#define MBG_NET_INTF_LINK_STATE_MASK_NO_TRAILERS   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS)
 see MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS More...
 

Detailed Description

Macro Definition Documentation

◆ MBG_IP_ADDR_TYPE_NAMES_ENG

#define MBG_IP_ADDR_TYPE_NAMES_ENG
Value:
{ \
MBG_IP_ADDR_TYPE_STR_ENG_UNKNOWN, \
MBG_IP_ADDR_TYPE_STR_ENG_IP4, \
MBG_IP_ADDR_TYPE_STR_ENG_IP6 \
}

Definition at line 11374 of file gpsdefs.h.

◆ MBG_IP_ADDR_TYPE_STR_ENG_IP4

#define MBG_IP_ADDR_TYPE_STR_ENG_IP4   "IPv4"

Definition at line 11371 of file gpsdefs.h.

◆ MBG_IP_ADDR_TYPE_STR_ENG_IP6

#define MBG_IP_ADDR_TYPE_STR_ENG_IP6   "IPv6"

Definition at line 11372 of file gpsdefs.h.

◆ MBG_IP_ADDR_TYPE_STR_ENG_UNKNOWN

#define MBG_IP_ADDR_TYPE_STR_ENG_UNKNOWN   "unknown"

Definition at line 11370 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_BOND_MODE_STRS

#define MBG_NET_INTF_LINK_BOND_MODE_STRS
Value:
{ \
"Round Robin", \
"Active Backup", \
"XOR", \
"Broadcast", \
"802.3ad (LACP)", \
"TLB", \
"ALB" \
}

Network interface link bonding mode name strings.

See also
MBG_NET_INTF_LINK_BOND_MODES

Definition at line 11733 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_PORT_TYPE_LONG_STRS

#define MBG_NET_INTF_LINK_PORT_TYPE_LONG_STRS
Value:
{ \
"Unknown", \
"Twisted Pair", \
"Fibre Optic", \
"Coaxial BNC", \
"Attachment Unit Interface", \
"Media Independent Interface", \
"Direct Attach SFP+" \
}

Initializers for network interface link port type long strings.

See also
MBG_NET_INTF_LINK_PORT_TYPES

Definition at line 11549 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_PORT_TYPE_SHORT_STRS

#define MBG_NET_INTF_LINK_PORT_TYPE_SHORT_STRS
Value:
{ \
"Unknown", \
"TP", \
"FO", \
"BNC", \
"AUI", \
"MII", \
"DA" \
}

Initializers for network interface link port type short strings.

See also
MBG_NET_INTF_LINK_PORT_TYPES

Definition at line 11566 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KR_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KR_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_KR_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KX4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_KX4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_KX4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_R_FEC

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_R_FEC   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC )

see MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC

Definition at line 11470 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_T_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10000_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10000_T_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_KX_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_KX_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_KX_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL )

see MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL

Definition at line 11463 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_HALF

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_1000_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF )

see MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF

Definition at line 11462 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_100_T_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_HALF

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_100_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_100_T_HALF )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10_T_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_HALF

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_10_T_HALF   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_10_T_HALF )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_KR2_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_KR2_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_20000_KR2_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_MLD2_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_20000_MLD2_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_20000_MLD2_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_2500_X_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_2500_X_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL )

see MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL

Definition at line 11466 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_CR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_CR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_CR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_KR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_KR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_KR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_LR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_LR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_LR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_SR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_40000_SR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_40000_SR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_CR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_CR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_CR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_KR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_KR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_KR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_LR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_LR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_LR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_SR4_FULL

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_56000_SR4_FULL   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_56000_SR4_FULL )

◆ MBG_NET_INTF_LINK_SPEED_MODE_MASK_UNKNOWN

#define MBG_NET_INTF_LINK_SPEED_MODE_MASK_UNKNOWN   ( 1UL << MBG_NET_INTF_LINK_SPEED_MODE_UNKNOWN )

Network interface link speed mode masks.

See also
MBG_NET_INTF_LINK_SPEED_MODES

see MBG_NET_INTF_LINK_SPEED_MODE_UNKNOWN

Definition at line 11457 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_ALL_MULTI

#define MBG_NET_INTF_LINK_STATE_MASK_ALL_MULTI   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI )

see MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI

Definition at line 11632 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_AUTO_MEDIA

#define MBG_NET_INTF_LINK_STATE_MASK_AUTO_MEDIA   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA )

see MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA

Definition at line 11642 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_BROADCAST

#define MBG_NET_INTF_LINK_STATE_MASK_BROADCAST   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_BROADCAST )

see MBG_NET_INTF_LINK_STATE_BIT_BROADCAST

Definition at line 11630 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_DEBUG

#define MBG_NET_INTF_LINK_STATE_MASK_DEBUG   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DEBUG )

see MBG_NET_INTF_LINK_STATE_BIT_DEBUG

Definition at line 11633 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_DORMANT

#define MBG_NET_INTF_LINK_STATE_MASK_DORMANT   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DORMANT )

see MBG_NET_INTF_LINK_STATE_BIT_DORMANT

Definition at line 11629 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_DYNAMIC

#define MBG_NET_INTF_LINK_STATE_MASK_DYNAMIC   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC)

see MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC

Definition at line 11645 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_ECHO

#define MBG_NET_INTF_LINK_STATE_MASK_ECHO   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_ECHO )

see MBG_NET_INTF_LINK_STATE_BIT_ECHO

Definition at line 11644 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_LOOPBACK

#define MBG_NET_INTF_LINK_STATE_MASK_LOOPBACK   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK )

see MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK

Definition at line 11635 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_LOWER_UP

#define MBG_NET_INTF_LINK_STATE_MASK_LOWER_UP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_LOWER_UP )

◆ MBG_NET_INTF_LINK_STATE_MASK_MASTER

#define MBG_NET_INTF_LINK_STATE_MASK_MASTER   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_MASTER )

see MBG_NET_INTF_LINK_STATE_BIT_MASTER

Definition at line 11639 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_MULTICAST

#define MBG_NET_INTF_LINK_STATE_MASK_MULTICAST   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_MULTICAST )

see MBG_NET_INTF_LINK_STATE_BIT_MULTICAST

Definition at line 11631 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_NO_ARP

#define MBG_NET_INTF_LINK_STATE_MASK_NO_ARP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_NO_ARP )

see MBG_NET_INTF_LINK_STATE_BIT_NO_ARP

Definition at line 11637 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_NO_TRAILERS

#define MBG_NET_INTF_LINK_STATE_MASK_NO_TRAILERS   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS)

see MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS

Definition at line 11646 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_POINT_TO_POINT

#define MBG_NET_INTF_LINK_STATE_MASK_POINT_TO_POINT   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_POINT_TO_POINT )

◆ MBG_NET_INTF_LINK_STATE_MASK_PORT_SEL

#define MBG_NET_INTF_LINK_STATE_MASK_PORT_SEL   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL )

see MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL

Definition at line 11641 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_PROMISC

#define MBG_NET_INTF_LINK_STATE_MASK_PROMISC   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_PROMISC )

see MBG_NET_INTF_LINK_STATE_BIT_PROMISC

Definition at line 11638 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_RUNNING

#define MBG_NET_INTF_LINK_STATE_MASK_RUNNING   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_RUNNING )

see MBG_NET_INTF_LINK_STATE_BIT_RUNNING

Definition at line 11627 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_SLAVE

#define MBG_NET_INTF_LINK_STATE_MASK_SLAVE   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_SLAVE )

see MBG_NET_INTF_LINK_STATE_BIT_SLAVE

Definition at line 11640 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_MASK_UP

#define MBG_NET_INTF_LINK_STATE_MASK_UP   ( 1UL << MBG_NET_INTF_LINK_STATE_BIT_UP )

Network interface link state masks.

See also
MBG_NET_INTF_LINK_STATE_BITS (reclined to Linux' if.h, Windows is similiar)

see MBG_NET_INTF_LINK_STATE_BIT_UP

Definition at line 11626 of file gpsdefs.h.

Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().

Enumeration Type Documentation

◆ MBG_IP_ADDR_TYPES

Enumeration of types used with MBG_IP_ADDR::type.

Enumerator
MBG_IP_ADDR_TYPE_UNKNOWN 
MBG_IP_ADDR_TYPE_IP4 
MBG_IP_ADDR_TYPE_IP6 
N_MBG_IP_ADDR_TYPES 

Definition at line 11358 of file gpsdefs.h.

◆ MBG_NET_GLB_CFG_INFO_FLAGS

Feature flag bits used to define MBG_NET_GLB_CFG_INFO_MASKS.

See also
MBG_NET_GLB_CFG_INFO_MASKS
Enumerator
MBG_NET_GLB_SUPP_STAGE_2 

Supports commands which have been added in stage 2.

MBG_NET_GLB_SUPP_BONDING 

Supports bonding.

MBG_NET_GLB_SUPP_ADD_CONF 

Supports additional network configuration (i.e. via script)

MBG_NET_GLB_SUPP_EXT_ROUTING 

Supports extended routing (multiple default gateways, routing tables)

N_MBG_NET_GLB_INFO_FLAGS 

Definition at line 11387 of file gpsdefs.h.

◆ MBG_NET_GLB_CFG_INFO_MASKS

Flag masks used with MBG_NET_GLB_CFG_INFO::feat_flags.

See also
MBG_NET_GLB_CFG_INFO_FLAGS
Enumerator
MBG_NET_GLB_SUPP_STAGE_2_MASK 

see MBG_NET_GLB_SUPP_STAGE_2

MBG_NET_GLB_SUPP_BONDING_MASK 

see MBG_NET_GLB_SUPP_BONDING

MBG_NET_GLB_SUPP_ADD_CONF_MASK 

see MBG_NET_GLB_SUPP_ADD_CONF

MBG_NET_GLB_SUPP_EXT_ROUTING_MASK 

see MBG_NET_GLB_SUPP_EXT_ROUTING

Definition at line 11402 of file gpsdefs.h.

◆ MBG_NET_INTF_ADDR_BITS

Network interface address bits.

See also
MBG_NET_INTF_ADDR_MASKS

Used with MBG_NET_INTF_ADDR_INFO::supp_flags and MBG_NET_INTF_ADDR_SETTINGS::flags

Enumerator
MBG_NET_INTF_ADDR_BIT_DHCP4 

Address has been automatically assigned by DHCP via IPv4.

MBG_NET_INTF_ADDR_BIT_DHCP6 

Address has been automatically assigned by DHCP via IPv6.

MBG_NET_INTF_ADDR_BIT_AUTOCONF 

Address is an autoconf address, which should be ignored in the configuration.

N_MBG_NET_INTF_ADDR_FLAGS 

Definition at line 11797 of file gpsdefs.h.

◆ MBG_NET_INTF_ADDR_MASKS

Network interface address masks.

See also
MBG_NET_INTF_ADDR_BITS
Enumerator
MBG_NET_INTF_ADDR_MASK_DHCP4 

see MBG_NET_INTF_ADDR_BIT_DHCP4

MBG_NET_INTF_ADDR_MASK_DHCP6 

see MBG_NET_INTF_ADDR_BIT_DHCP6

MBG_NET_INTF_ADDR_MASK_AUTOCONF 

see MBG_NET_INTF_ADDR_BIT_AUTOCONF

Definition at line 11812 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_BOND_MODE_MASKS

Network interface link bonding mode masks.

See also
MBG_NET_INTF_LINK_BOND_MODES
Enumerator
MBG_NET_INTF_LINK_BOND_MODE_MASK_ROUNDROBIN 

see MBG_NET_INTF_LINK_BOND_MODE_ROUNDROBIN

MBG_NET_INTF_LINK_BOND_MODE_MASK_ACTIVEBACKUP 

see MBG_NET_INTF_LINK_BOND_MODE_ACTIVEBACKUP

MBG_NET_INTF_LINK_BOND_MODE_MASK_XOR 

see MBG_NET_INTF_LINK_BOND_MODE_XOR

MBG_NET_INTF_LINK_BOND_MODE_MASK_BROADCAST 

see MBG_NET_INTF_LINK_BOND_MODE_BROADCAST

MBG_NET_INTF_LINK_BOND_MODE_MASK_8023AD 

see MBG_NET_INTF_LINK_BOND_MODE_8023AD

MBG_NET_INTF_LINK_BOND_MODE_MASK_TLB 

see MBG_NET_INTF_LINK_BOND_MODE_TLB

MBG_NET_INTF_LINK_BOND_MODE_MASK_ALB 

see MBG_NET_INTF_LINK_BOND_MODE_ALB

Definition at line 11715 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_BOND_MODES

Network interface link bonding mode.

Used with MBG_NET_INTF_LINK_SETTINGS::bond_mode

Note
if_bonding.h contains bonding modes under Linux, found no hint under Windows. BUT: Something similiar (concerning naming) can be configured under Windows via GUI in device manager, if supported.
Enumerator
MBG_NET_INTF_LINK_BOND_MODE_ROUNDROBIN 
MBG_NET_INTF_LINK_BOND_MODE_ACTIVEBACKUP 
MBG_NET_INTF_LINK_BOND_MODE_XOR 
MBG_NET_INTF_LINK_BOND_MODE_BROADCAST 
MBG_NET_INTF_LINK_BOND_MODE_8023AD 
MBG_NET_INTF_LINK_BOND_MODE_TLB 
MBG_NET_INTF_LINK_BOND_MODE_ALB 
N_MBG_NET_INTF_LINK_BOND_MODES 

Definition at line 11696 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_BOND_STATES

Network interface link bonding states.

Used with MBG_NET_INTF_LINK_SETTINGS::bond_state

Enumerator
MBG_NET_INTF_LINK_BOND_STATE_ACTIVE 
MBG_NET_INTF_LINK_BOND_STATE_BACKUP 
N_MBG_NET_INTF_LINK_BOND_STATES 

Definition at line 11751 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_OPT_MASKS

Network interface link option masks.

See also
MBG_NET_INTF_LINK_OPTS
Enumerator
MBG_NET_INTF_LINK_OPT_MASK_CAN_SET_MAC 

see MBG_NET_INTF_LINK_OPT_CAN_SET_MAC

MBG_NET_INTF_LINK_OPT_MASK_CAN_SYNCE_IN 

see MBG_NET_INTF_LINK_OPT_CAN_SYNCE_IN

MBG_NET_INTF_LINK_OPT_MASK_CAN_SYNCE_OUT 

see MBG_NET_INTF_LINK_OPT_CAN_SYNCE_OUT

MBG_NET_INTF_LINK_OPT_MASK_CAN_AUTONEG 

see MBG_NET_INTF_LINK_OPT_CAN_AUTONEG

MBG_NET_INTF_LINK_OPT_MASK_CAN_NTP_HW_TS 

see MBG_NET_INTF_LINK_OPT_CAN_NTP_HW_TS

MBG_NET_INTF_LINK_OPT_MASK_CAN_PTP_HW_TS 

see MBG_NET_INTF_LINK_OPT_CAN_PTP_HW_TS

Definition at line 11675 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_OPTS

Network interface link option bits.

See also
MBG_NET_INTF_LINK_OPT_MASKS
Enumerator
MBG_NET_INTF_LINK_OPT_CAN_SET_MAC 
MBG_NET_INTF_LINK_OPT_CAN_SYNCE_IN 
MBG_NET_INTF_LINK_OPT_CAN_SYNCE_OUT 
MBG_NET_INTF_LINK_OPT_CAN_AUTONEG 
MBG_NET_INTF_LINK_OPT_CAN_NTP_HW_TS 
MBG_NET_INTF_LINK_OPT_CAN_PTP_HW_TS 
N_MBG_NET_INTF_LINK_OPTS 

Definition at line 11657 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_PORT_TYPE_MASKS

Network interface link port masks.

See also
MBG_NET_INTF_LINK_PORT_TYPES
Enumerator
MBG_NET_INTF_LINK_PORT_TYPE_MASK_UNKNOWN 

see MBG_NET_INTF_LINK_PORT_TYPE_UNKNOWN

MBG_NET_INTF_LINK_PORT_TYPE_MASK_TP 

see MBG_NET_INTF_LINK_PORT_TYPE_TP

MBG_NET_INTF_LINK_PORT_TYPE_MASK_FIBRE 

see MBG_NET_INTF_LINK_PORT_TYPE_FIBRE

MBG_NET_INTF_LINK_PORT_TYPE_MASK_BNC 

see MBG_NET_INTF_LINK_PORT_TYPE_BNC

MBG_NET_INTF_LINK_PORT_TYPE_MASK_AUI 

see MBG_NET_INTF_LINK_PORT_TYPE_AUI

MBG_NET_INTF_LINK_PORT_TYPE_MASK_MII 

see MBG_NET_INTF_LINK_PORT_TYPE_MII

MBG_NET_INTF_LINK_PORT_TYPE_MASK_DA 

see MBG_NET_INTF_LINK_PORT_TYPE_DA

Definition at line 11531 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_PORT_TYPES

Network interface link port types.

See also
MBG_NET_INTF_LINK_PORT_TYPE_MASKS
Enumerator
MBG_NET_INTF_LINK_PORT_TYPE_UNKNOWN 

Unknown port type.

MBG_NET_INTF_LINK_PORT_TYPE_TP 

Twisted Pair (TP) copper cable.

MBG_NET_INTF_LINK_PORT_TYPE_FIBRE 

Fibre Optic (FO) cable.

MBG_NET_INTF_LINK_PORT_TYPE_BNC 

Coaxial BNC cable.

MBG_NET_INTF_LINK_PORT_TYPE_AUI 

Attachment Unit Interface (AUI), externel transceiver.

MBG_NET_INTF_LINK_PORT_TYPE_MII 

Media Independent Interface (MII), external receiver.

MBG_NET_INTF_LINK_PORT_TYPE_DA 

Direct attach SFP+ connection.

N_MBG_NET_INTF_LINK_PORT_TYPES 

Definition at line 11512 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEED_MODES

Network interface link speed mode enumeration.

See also
MBG_NET_INTF_LINK_SPEED_MODE_MASKS
Enumerator
MBG_NET_INTF_LINK_SPEED_MODE_UNKNOWN 

Unknown speed mode.

MBG_NET_INTF_LINK_SPEED_MODE_10_T_HALF 

10baseT Half Duplex (10 MBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_10_T_FULL 

10baseT Full Duplex (10 MBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_100_T_HALF 

100baseT Half Duplex (100 MBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_100_T_FULL 

100baseT Full Duplex (100 MBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_1000_T_HALF 

1000baseT Half Duplex (1 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_1000_T_FULL 

1000baseT Full Duplex (1 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_1000_KX_FULL 

1000baseKX Full Duplex (1 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_2500_X_FULL 

2500baseX Full Duplex (2.5 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_10000_T_FULL 

10000baseT Full Duplex (10 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_10000_KX4_FULL 

10000baseKX4 Full Duplex (10 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_10000_KR_FULL 

10000baseKR Full Duplex (10 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_10000_R_FEC 

10000baseR FEC (forward error correction) (10 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_20000_MLD2_FULL 

20000baseMLD2 Full Duplex (20 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_20000_KR2_FULL 

20000baseKR2 Full Duplex (20 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_40000_KR4_FULL 

40000baseKR4 Full Duplex (40 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_40000_CR4_FULL 

40000baseCR4 Full Duplex (40 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_40000_SR4_FULL 

40000baseSR4 Full Duplex (40 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_40000_LR4_FULL 

40000baseLR4 Full Duplex (40 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_56000_KR4_FULL 

56000baseKR4 Full Duplex (56 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_56000_CR4_FULL 

56000baseCR4 Full Duplex (56 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_56000_SR4_FULL 

56000baseSR4 Full Duplex (56 GBit/s)

MBG_NET_INTF_LINK_SPEED_MODE_56000_LR4_FULL 

56000baseLR4 Full Duplex (56 GBit/s)

N_MBG_NET_INTF_LINK_SPEED_MODES 

Definition at line 11417 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_SPEEDS

Network interface link speeds [Mb/s].

See also
MBG_NET_INTF_LINK_SPEED_MODE_MASKS
Enumerator
MBG_NET_INTF_LINK_SPEED_UNKNOWN 
MBG_NET_INTF_LINK_SPEED_10 
MBG_NET_INTF_LINK_SPEED_100 
MBG_NET_INTF_LINK_SPEED_1000 
MBG_NET_INTF_LINK_SPEED_2500 
MBG_NET_INTF_LINK_SPEED_10000 
MBG_NET_INTF_LINK_SPEED_20000 
MBG_NET_INTF_LINK_SPEED_40000 
MBG_NET_INTF_LINK_SPEED_56000 

Definition at line 11492 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_STATE_BITS

Network interface link state bits.

See also
MBG_NET_INTF_LINK_STATE_MASKS
Note
See official Linux kernel documentation https://www.kernel.org/doc/Documentation/networking/operstates.txt for states below and explanations. Windows supports this in nearly the same way using similar names struct IP_ADAPTER_ADDRESSES which is explained at http://msdn.microsoft.com/en-us/library/windows/desktop/aa366058%28v=vs.85%29.aspx
Enumerator
MBG_NET_INTF_LINK_STATE_BIT_UP 
MBG_NET_INTF_LINK_STATE_BIT_RUNNING 
MBG_NET_INTF_LINK_STATE_BIT_LOWER_UP 
MBG_NET_INTF_LINK_STATE_BIT_DORMANT 
MBG_NET_INTF_LINK_STATE_BIT_BROADCAST 
MBG_NET_INTF_LINK_STATE_BIT_MULTICAST 
MBG_NET_INTF_LINK_STATE_BIT_ALL_MULTI 
MBG_NET_INTF_LINK_STATE_BIT_DEBUG 
MBG_NET_INTF_LINK_STATE_BIT_LOOPBACK 
MBG_NET_INTF_LINK_STATE_BIT_POINT_TO_POINT 
MBG_NET_INTF_LINK_STATE_BIT_NO_ARP 
MBG_NET_INTF_LINK_STATE_BIT_PROMISC 
MBG_NET_INTF_LINK_STATE_BIT_MASTER 
MBG_NET_INTF_LINK_STATE_BIT_SLAVE 
MBG_NET_INTF_LINK_STATE_BIT_PORT_SEL 
MBG_NET_INTF_LINK_STATE_BIT_AUTO_MEDIA 
MBG_NET_INTF_LINK_STATE_BIT_ECHO 
MBG_NET_INTF_LINK_STATE_BIT_DYNAMIC 
MBG_NET_INTF_LINK_STATE_BIT_NO_TRAILERS 
N_MBG_NET_INTF_LINK_STATE_BITS 

Definition at line 11590 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_TYPE_MASKS

Network interface link type masks.

Used with MBG_NET_INTF_LINK_INFO::supp_types

See also
MBG_NET_INTF_LINK_TYPES
Enumerator
MBG_NET_INTF_LINK_TYPE_MASK_PHYS 

see MBG_NET_INTF_LINK_TYPE_PHYS

MBG_NET_INTF_LINK_TYPE_MASK_VLAN 

see MBG_NET_INTF_LINK_TYPE_VLAN

MBG_NET_INTF_LINK_TYPE_MASK_BOND 

see MBG_NET_INTF_LINK_TYPE_BOND

Definition at line 11782 of file gpsdefs.h.

◆ MBG_NET_INTF_LINK_TYPES

Network interface link type bits.

Used with MBG_NET_INTF_LINK_SETTINGS::type

See also
MBG_NET_INTF_LINK_TYPE_MASKS
Enumerator
MBG_NET_INTF_LINK_TYPE_PHYS 

Real physical network interface.

MBG_NET_INTF_LINK_TYPE_VLAN 

VLAN interface, assigned to physical interface.

MBG_NET_INTF_LINK_TYPE_BOND 

Bonding interface, which acts as bonding master.

N_MBG_NET_INTF_LINK_TYPE_BITS 

Definition at line 11766 of file gpsdefs.h.

◆ MBG_NET_INTF_ROUTE_TYPES

Enumerator
MBG_NET_INTF_ROUTE_TYPE_UNKNOWN 
MBG_NET_INTF_ROUTE_TYPE_DEFAULT_GATEWAY 
MBG_NET_INTF_ROUTE_TYPE_DEST_GATEWAY 
MBG_NET_INTF_ROUTE_TYPE_DEST_ADDR 
N_MBG_NET_INTF_ROUTE_TYPES 

Definition at line 11820 of file gpsdefs.h.