EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Fields
netif_info_t Struct Reference

Network interface definition structure. More...

#include <iface_mapper.h>

Data Fields

char ifname [IF_NAMESIZE]
 
uint32_t ifindex
 
enum IF_STATE state
 
char link_type [LINK_TYPE_LEN]
 
uint8_t ifa_family
 
char ip_addr [OS_INET_ADDRSTRLEN]
 
char ip_addr6 [OS_INET6_ADDRSTRLEN]
 
char peer_addr [OS_INET_ADDRSTRLEN]
 
char brd_addr [OS_INET_ADDRSTRLEN]
 
uint8_t mac_addr [ETHER_ADDR_LEN]
 

Detailed Description

Network interface definition structure.

Field Documentation

◆ brd_addr

char netif_info_t::brd_addr[OS_INET_ADDRSTRLEN]

Interface string IP broadcast address

◆ ifa_family

uint8_t netif_info_t::ifa_family

Interface family

◆ ifindex

uint32_t netif_info_t::ifindex

Interface index value

◆ ifname

char netif_info_t::ifname[IF_NAMESIZE]

Interface string name

◆ ip_addr

char netif_info_t::ip_addr[OS_INET_ADDRSTRLEN]

Interface string IP4 address

◆ ip_addr6

char netif_info_t::ip_addr6[OS_INET6_ADDRSTRLEN]

Interface string IP6 address

◆ link_type

char netif_info_t::link_type[LINK_TYPE_LEN]

Interface link type

◆ mac_addr

uint8_t netif_info_t::mac_addr[ETHER_ADDR_LEN]

Interface byte MAC address

◆ peer_addr

char netif_info_t::peer_addr[OS_INET_ADDRSTRLEN]

Interface string peer IP address

◆ state

enum IF_STATE netif_info_t::state

Interface state


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