struct netconf_link
Overview
Network device More…
#include <netconf.h> struct netconf_link { // fields netconf_link_type type; int ifindex; int link; unsigned int flags; unsigned int addrlen; uint8_t* address; uint8_t* broadcast; char* ifname; char* info_kind; char* switch_id; char* port_id; char* port_name; uint32_t mtu; };
Detailed Documentation
Network device
Fields
netconf_link_type type
Device type
int ifindex
Interface index
int link
Value of IFLA_LINK attribute.
unsigned int flags
Device flags
unsigned int addrlen
Length of address field
uint8_t* address
Interface hardware address
uint8_t* broadcast
Broadcast address
char* ifname
Device name as string
char* info_kind
Value of IFLA_INFO_KIND attribute
char* switch_id
Switch ID (hex)
char* port_id
Port ID (hex)
char* port_name
Port name
uint32_t mtu
MTU of the device