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