mbgtools-lx  4.2.8
MBG_NET_INTF_ADDR_SETTINGS Struct Reference

Network interface address specific settings, flags and supported features. More...

#include <gpsdefs.h>

Data Fields

char label [16]
 Interface label. More...
 
uint32_t addr_index
 Index of the address on the physical interface it is assigned to. More...
 
uint32_t ass_if_index
 Index of the associated interface link, see MBG_NET_INTF_LINK_SETTINGS::if_index. More...
 
uint32_t flags
 see MBG_NET_INTF_ADDR_MASKS More...
 
MBG_IP_ADDR ip
 IP address associated with this interface. More...
 
MBG_IP_ADDR broadcast
 Broadcast address associated with this interface. More...
 
uint8_t prefix_bits
 Number of subnet mask bits for CIDR notation, e.g. 24 for /24. More...
 
uint8_t reserved_1
 Reserved, currently 0. More...
 
uint16_t reserved_2
 Reserved, currently 0. More...
 
uint32_t reserved_3
 Reserved, currently 0. More...
 
uint32_t reserved_4
 Reserved, currently 0. More...
 
uint32_t reserved_5
 Reserved, currently 0. More...
 

Detailed Description

Network interface address specific settings, flags and supported features.

Note
Use if_index to identify uniquely its associated network link.

Definition at line 12164 of file gpsdefs.h.

Field Documentation

◆ addr_index

uint32_t MBG_NET_INTF_ADDR_SETTINGS::addr_index

Index of the address on the physical interface it is assigned to.

Definition at line 12168 of file gpsdefs.h.

◆ ass_if_index

uint32_t MBG_NET_INTF_ADDR_SETTINGS::ass_if_index

Index of the associated interface link, see MBG_NET_INTF_LINK_SETTINGS::if_index.

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

◆ broadcast

MBG_IP_ADDR MBG_NET_INTF_ADDR_SETTINGS::broadcast

Broadcast address associated with this interface.

Definition at line 12174 of file gpsdefs.h.

Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().

◆ flags

uint32_t MBG_NET_INTF_ADDR_SETTINGS::flags

◆ ip

MBG_IP_ADDR MBG_NET_INTF_ADDR_SETTINGS::ip

IP address associated with this interface.

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

◆ label

char MBG_NET_INTF_ADDR_SETTINGS::label[16]

Interface label.

Definition at line 12166 of file gpsdefs.h.

Referenced by mbg_get_all_net_cfg_info(), and mbg_get_all_net_status_info().

◆ prefix_bits

uint8_t MBG_NET_INTF_ADDR_SETTINGS::prefix_bits

Number of subnet mask bits for CIDR notation, e.g. 24 for /24.

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

◆ reserved_1

uint8_t MBG_NET_INTF_ADDR_SETTINGS::reserved_1

Reserved, currently 0.

Definition at line 12177 of file gpsdefs.h.

◆ reserved_2

uint16_t MBG_NET_INTF_ADDR_SETTINGS::reserved_2

Reserved, currently 0.

Definition at line 12178 of file gpsdefs.h.

◆ reserved_3

uint32_t MBG_NET_INTF_ADDR_SETTINGS::reserved_3

Reserved, currently 0.

Definition at line 12180 of file gpsdefs.h.

◆ reserved_4

uint32_t MBG_NET_INTF_ADDR_SETTINGS::reserved_4

Reserved, currently 0.

Definition at line 12181 of file gpsdefs.h.

◆ reserved_5

uint32_t MBG_NET_INTF_ADDR_SETTINGS::reserved_5

Reserved, currently 0.

Definition at line 12182 of file gpsdefs.h.


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