mbgtools-lx
4.2.8
|
Physical network interface link specific settings. More...
#include <gpsdefs.h>
Data Fields | |
char | name [16] |
Interface name. More... | |
MBG_MAC_ADDR | mac_addr |
Physical hardware address. More... | |
MBG_MAC_ADDR | broadcast |
Physical broadcast address. More... | |
uint32_t | if_index |
Interface index assigned by the kernel. More... | |
uint32_t | common_if_index |
uint32_t | ass_if_index |
uint32_t | flags |
Reserved, currently 0. More... | |
uint32_t | states |
see MBG_NET_INTF_LINK_STATE_MASKS More... | |
uint32_t | hw_type |
Hardware type of interface (see MBG_NET_HW_TYPES) More... | |
uint32_t | mtu |
Max. packet size in bytes. More... | |
uint32_t | txqlen |
Transmission queue length (number of packets) More... | |
uint32_t | speed |
Link speed in MBit/s. More... | |
uint8_t | type |
see MBG_NET_INTF_LINK_TYPES More... | |
uint8_t | duplex |
Duplex mode, half (0) or full (1) More... | |
uint8_t | autoneg |
Indicates, whether autonegotiation is enabled or disabled. More... | |
uint8_t | port_type |
see MBG_NET_INTF_LINK_PORT_TYPES More... | |
uint8_t | bond_mode |
uint8_t | bond_state |
uint16_t | bond_idx |
uint16_t | vlan_cfg |
uint16_t | reserved_1 |
Reserved, currently 0. More... | |
uint32_t | reserved_2 |
Reserved, currently 0. More... | |
uint32_t | reserved_3 |
Reserved, currently 0. More... | |
uint32_t MBG_NET_INTF_LINK_SETTINGS::ass_if_index |
Interface index of the associated physical interface link, Valid if MBG_NET_INTF_LINK_SETTINGS::type is MBG_NET_INTF_LINK_TYPE_VLAN
Definition at line 12031 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint8_t MBG_NET_INTF_LINK_SETTINGS::autoneg |
uint16_t MBG_NET_INTF_LINK_SETTINGS::bond_idx |
Interface index of the bonding master link, see MBG_NET_INTF_LINK_SETTINGS::if_index Valid, if MBG_NET_INTF_LINK_STATE_MASK_SLAVE is set in MBG_NET_INTF_LINK_SETTINGS::states
uint8_t MBG_NET_INTF_LINK_SETTINGS::bond_mode |
Bonding mode, see MBG_NET_INTF_LINK_BOND_MODES Valid if MBG_NET_INTF_LINK_STATE_MASK_MASTER is set in MBG_NET_INTF_LINK_SETTINGS::states
uint8_t MBG_NET_INTF_LINK_SETTINGS::bond_state |
Status of this interface in the bonding group, see MBG_NET_INTF_LINK_BOND_STATES Valid if MBG_NET_INTF_LINK_STATE_MASK_SLAVE is set in MBG_NET_INTF_LINK_SETTINGS::states
MBG_MAC_ADDR MBG_NET_INTF_LINK_SETTINGS::broadcast |
uint32_t MBG_NET_INTF_LINK_SETTINGS::common_if_index |
Common interface index assigned by the lib (associated with the MAC address), Valid if MBG_NET_INTF_LINK_SETTINGS::type is MBG_NET_INTF_LINK_TYPE_PHYS
uint8_t MBG_NET_INTF_LINK_SETTINGS::duplex |
uint32_t MBG_NET_INTF_LINK_SETTINGS::flags |
uint32_t MBG_NET_INTF_LINK_SETTINGS::hw_type |
Hardware type of interface (see MBG_NET_HW_TYPES)
uint32_t MBG_NET_INTF_LINK_SETTINGS::if_index |
Interface index assigned by the kernel.
Definition at line 12028 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
MBG_MAC_ADDR MBG_NET_INTF_LINK_SETTINGS::mac_addr |
Physical hardware address.
Definition at line 12025 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint32_t MBG_NET_INTF_LINK_SETTINGS::mtu |
char MBG_NET_INTF_LINK_SETTINGS::name[16] |
Interface name.
Definition at line 12024 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint8_t MBG_NET_INTF_LINK_SETTINGS::port_type |
see MBG_NET_INTF_LINK_PORT_TYPES
Definition at line 12045 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint16_t MBG_NET_INTF_LINK_SETTINGS::reserved_1 |
uint32_t MBG_NET_INTF_LINK_SETTINGS::reserved_2 |
uint32_t MBG_NET_INTF_LINK_SETTINGS::reserved_3 |
uint32_t MBG_NET_INTF_LINK_SETTINGS::speed |
uint32_t MBG_NET_INTF_LINK_SETTINGS::states |
see MBG_NET_INTF_LINK_STATE_MASKS
Definition at line 12035 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint32_t MBG_NET_INTF_LINK_SETTINGS::txqlen |
uint8_t MBG_NET_INTF_LINK_SETTINGS::type |
Definition at line 12042 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().
uint16_t MBG_NET_INTF_LINK_SETTINGS::vlan_cfg |
VLAN configuration options, see MBG_VLAN_CFG Valid if MBG_NET_INTF_LINK_SETTINGS::type is MBG_NET_INTF_LINK_TYPE_VLAN
Definition at line 12054 of file gpsdefs.h.
Referenced by mbg_get_all_net_cfg_info(), mbg_get_all_net_status_info(), and mbg_save_all_net_cfg_info().