netdev_tap Struct Reference

tap interface state More...

Detailed Description

tap interface state

Definition at line 38 of file netdev_tap.h.

#include <netdev_tap.h>

Data Fields

netdev_t netdev
 netdev internal member More...
char tap_name [IFNAMSIZ]
 host dev file name More...
int tap_fd
 host file descriptor for the TAP More...
uint8_t addr [ETHERNET_ADDR_LEN]
 The MAC address of the TAP. More...
bool promiscuous
 Flag for promiscuous mode. More...
bool wired
 Flag for wired mode. More...

Field Documentation

◆ addr

uint8_t netdev_tap::addr[ETHERNET_ADDR_LEN]

The MAC address of the TAP.

Definition at line 42 of file netdev_tap.h.

◆ netdev

netdev_t netdev_tap::netdev

netdev internal member

Definition at line 39 of file netdev_tap.h.

◆ promiscuous

bool netdev_tap::promiscuous

Flag for promiscuous mode.

Definition at line 43 of file netdev_tap.h.

◆ tap_fd

int netdev_tap::tap_fd

host file descriptor for the TAP

Definition at line 41 of file netdev_tap.h.

◆ tap_name

char netdev_tap::tap_name[IFNAMSIZ]

host dev file name

Definition at line 40 of file netdev_tap.h.

◆ wired

bool netdev_tap::wired

Flag for wired mode.

Definition at line 44 of file netdev_tap.h.

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