Definitions low-level network driver interface.
 
void netdev_tap_setup(netdev_tap_t *dev, const netdev_tap_params_t *params, int index)
Setup netdev_tap_t structure.
 
struct netdev_tap netdev_tap_t
tap interface state
 
#define ETHERNET_ADDR_LEN
Length of an Ethernet address.
 
Ethernet header definitions.
 
tap interface initialization parameters
 
char ** tap_name
Name of the host system's tap interface to bind to.
 
bool wired
Interface should behave like a wired interface.
 
bool promiscuous
Flag for promiscuous mode.
 
int tap_fd
host file descriptor for the TAP
 
bool wired
Flag for wired mode.
 
netdev_t netdev
netdev internal member
 
char tap_name[IFNAMSIZ]
host dev file name
 
uint8_t addr[ETHERNET_ADDR_LEN]
The MAC address of the TAP.
 
Structure to hold driver state.