mbgtools-lx  4.2.8
MBG_NET_INTF_LINK_SETTINGS Struct Reference

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...
 

Detailed Description

Physical network interface link specific settings.

Definition at line 12022 of file gpsdefs.h.

Field Documentation

◆ ass_if_index

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().

◆ autoneg

uint8_t MBG_NET_INTF_LINK_SETTINGS::autoneg

Indicates, whether autonegotiation is enabled or disabled.

Definition at line 12044 of file gpsdefs.h.

◆ bond_idx

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

Definition at line 12051 of file gpsdefs.h.

◆ bond_mode

uint8_t MBG_NET_INTF_LINK_SETTINGS::bond_mode

◆ bond_state

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

Definition at line 12049 of file gpsdefs.h.

◆ broadcast

MBG_MAC_ADDR MBG_NET_INTF_LINK_SETTINGS::broadcast

Physical broadcast address.

Definition at line 12026 of file gpsdefs.h.

◆ common_if_index

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

Definition at line 12029 of file gpsdefs.h.

◆ duplex

uint8_t MBG_NET_INTF_LINK_SETTINGS::duplex

Duplex mode, half (0) or full (1)

Definition at line 12043 of file gpsdefs.h.

◆ flags

uint32_t MBG_NET_INTF_LINK_SETTINGS::flags

Reserved, currently 0.

Definition at line 12034 of file gpsdefs.h.

◆ hw_type

uint32_t MBG_NET_INTF_LINK_SETTINGS::hw_type

Hardware type of interface (see MBG_NET_HW_TYPES)

Definition at line 12037 of file gpsdefs.h.

◆ if_index

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().

◆ mac_addr

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().

◆ mtu

uint32_t MBG_NET_INTF_LINK_SETTINGS::mtu

Max. packet size in bytes.

Definition at line 12038 of file gpsdefs.h.

◆ name

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().

◆ port_type

uint8_t MBG_NET_INTF_LINK_SETTINGS::port_type

◆ reserved_1

uint16_t MBG_NET_INTF_LINK_SETTINGS::reserved_1

Reserved, currently 0.

Definition at line 12056 of file gpsdefs.h.

◆ reserved_2

uint32_t MBG_NET_INTF_LINK_SETTINGS::reserved_2

Reserved, currently 0.

Definition at line 12058 of file gpsdefs.h.

◆ reserved_3

uint32_t MBG_NET_INTF_LINK_SETTINGS::reserved_3

Reserved, currently 0.

Definition at line 12059 of file gpsdefs.h.

◆ speed

uint32_t MBG_NET_INTF_LINK_SETTINGS::speed

Link speed in MBit/s.

Definition at line 12040 of file gpsdefs.h.

◆ states

uint32_t MBG_NET_INTF_LINK_SETTINGS::states

◆ txqlen

uint32_t MBG_NET_INTF_LINK_SETTINGS::txqlen

Transmission queue length (number of packets)

Definition at line 12039 of file gpsdefs.h.

◆ type

uint8_t MBG_NET_INTF_LINK_SETTINGS::type

◆ vlan_cfg

uint16_t MBG_NET_INTF_LINK_SETTINGS::vlan_cfg

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