TUNTAP node main state.
More...
TUNTAP node main state.
Definition at line 74 of file tuntap.c.
int tuntap_main_t::dev_net_tun_fd |
File descriptors for /dev/net/tun and provisioning socket.
Definition at line 83 of file tuntap.c.
int tuntap_main_t::dev_tap_fd |
u8 tuntap_main_t::ether_dst_mac[6] |
tap device destination MAC address.
Required, or Linux drops pkts
Definition at line 93 of file tuntap.c.
int tuntap_main_t::have_normal_interface |
1 if a "normal" routed intfc, 0 if a punt/inject interface
Definition at line 90 of file tuntap.c.
u32 tuntap_main_t::hw_if_index |
For the "normal" interface, if configured.
Definition at line 111 of file tuntap.c.
struct iovec* tuntap_main_t::iovecs |
Vector of iovecs for readv/writev calls.
Definition at line 76 of file tuntap.c.
int tuntap_main_t::is_ether |
Create a "tap" [ethernet] encaps device.
Definition at line 86 of file tuntap.c.
u32 tuntap_main_t::mtu_buffers |
u32 tuntap_main_t::mtu_bytes |
Interface MTU in bytes and # of default sized buffers.
Definition at line 96 of file tuntap.c.
u32* tuntap_main_t::rx_buffers |
Vector of VLIB rx buffers to use.
We allocate them in blocks of VLIB_FRAME_SIZE (256).
Definition at line 80 of file tuntap.c.
Hash for subif addresses.
Definition at line 105 of file tuntap.c.
Pool of subinterface addresses.
Definition at line 102 of file tuntap.c.
u32 tuntap_main_t::sw_if_index |
char* tuntap_main_t::tun_name |
Linux interface name for tun device.
Definition at line 99 of file tuntap.c.
u32 tuntap_main_t::unix_file_index |
Unix file index.
Definition at line 108 of file tuntap.c.
The documentation for this struct was generated from the following file: