FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
tapcli_main_t Struct Reference

TAPCLI main state struct. More...

+ Collaboration diagram for tapcli_main_t:

Data Fields

tapcli_per_thread_tthreads
 per thread variables More...
 
u8 ether_dst_mac [6]
 tap device destination MAC address. More...
 
u32 mtu_bytes
 Interface MTU in bytes and # of default sized buffers. More...
 
u32 mtu_buffers
 
tapcli_interface_ttapcli_interfaces
 Vector of tap interfaces. More...
 
u32tapcli_inactive_interfaces
 Vector of deleted tap interfaces. More...
 
uwordpending_read_bitmap
 Bitmap of tap interfaces with pending reads. More...
 
uwordtapcli_interface_index_by_sw_if_index
 Hash table to find tapcli interface given hw_if_index. More...
 
uwordtapcli_interface_index_by_unix_fd
 Hash table to find tapcli interface given unix fd. More...
 
u32show_dev_instance_by_real_dev_instance
 renumbering table More...
 
int is_disabled
 1 => disable CLI More...
 
vlib_main_tvlib_main
 convenience - vlib_main_t More...
 
vnet_main_tvnet_main
 convenience - vnet_main_t More...
 
unix_main_tunix_main
 convenience - unix_main_t More...
 

Detailed Description

TAPCLI main state struct.

Definition at line 114 of file tapcli.c.

Field Documentation

u8 tapcli_main_t::ether_dst_mac[6]

tap device destination MAC address.

Required, or Linux drops pkts

Definition at line 119 of file tapcli.c.

int tapcli_main_t::is_disabled

1 => disable CLI

Definition at line 143 of file tapcli.c.

u32 tapcli_main_t::mtu_buffers

Definition at line 122 of file tapcli.c.

u32 tapcli_main_t::mtu_bytes

Interface MTU in bytes and # of default sized buffers.

Definition at line 122 of file tapcli.c.

uword* tapcli_main_t::pending_read_bitmap

Bitmap of tap interfaces with pending reads.

Definition at line 131 of file tapcli.c.

u32* tapcli_main_t::show_dev_instance_by_real_dev_instance

renumbering table

Definition at line 140 of file tapcli.c.

u32* tapcli_main_t::tapcli_inactive_interfaces

Vector of deleted tap interfaces.

Definition at line 128 of file tapcli.c.

uword* tapcli_main_t::tapcli_interface_index_by_sw_if_index

Hash table to find tapcli interface given hw_if_index.

Definition at line 134 of file tapcli.c.

uword* tapcli_main_t::tapcli_interface_index_by_unix_fd

Hash table to find tapcli interface given unix fd.

Definition at line 137 of file tapcli.c.

tapcli_interface_t* tapcli_main_t::tapcli_interfaces

Vector of tap interfaces.

Definition at line 125 of file tapcli.c.

tapcli_per_thread_t* tapcli_main_t::threads

per thread variables

Definition at line 116 of file tapcli.c.

unix_main_t* tapcli_main_t::unix_main

convenience - unix_main_t

Definition at line 150 of file tapcli.c.

vlib_main_t* tapcli_main_t::vlib_main

convenience - vlib_main_t

Definition at line 146 of file tapcli.c.

vnet_main_t* tapcli_main_t::vnet_main

convenience - vnet_main_t

Definition at line 148 of file tapcli.c.


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