Appearance
struct if_extra_info_t
Common extra-info structure for any network interface. More...
#include <net/if.h>
Public Attributes
| Name | |
|---|---|
| uint8_t[32] | hwaddr Hardware address, e.g. MAC address or IMEI. |
| size_t | hwaddr_len Length of hwaddr in bytes. |
| int | link_quality Wireless/GSM signal quality (RSSI, SINR, ...); 0 or success flag for Ethernet. |
| struct driver * | drv Pointer to the driver backing this interface. |
Detailed Description
cpp
struct if_extra_info_t;Common extra-info structure for any network interface.
Carries link-layer metadata that is meaningful for at least one of the supported transports. Fields not applicable to a given interface are left zero.
Public Attributes Documentation
variable hwaddr
cpp
uint8_t if_extra_info_t::hwaddr[32]Hardware address, e.g. MAC address or IMEI.
variable hwaddr_len
cpp
size_t if_extra_info_t::hwaddr_lenLength of hwaddr in bytes.
variable link_quality
cpp
int if_extra_info_t::link_qualityWireless/GSM signal quality (RSSI, SINR, ...); 0 or success flag for Ethernet.
variable drv
cpp
struct driver* if_extra_info_t::drvPointer to the driver backing this interface.