FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
af_packet_if_t Struct Reference
+ Collaboration diagram for af_packet_if_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_spinlock_t lockp
 
u8host_if_name
 
int host_if_index
 
int fd
 
struct tpacket_req * rx_req
 
struct tpacket_req * tx_req
 
u8rx_ring
 
u8tx_ring
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 clib_file_index
 
u32 next_rx_frame
 
u32 next_tx_frame
 
u32 per_interface_next_index
 
u8 is_admin_up
 

Detailed Description

Definition at line 30 of file af_packet.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

af_packet_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ clib_file_index

u32 af_packet_if_t::clib_file_index

Definition at line 43 of file af_packet.h.

◆ fd

int af_packet_if_t::fd

Definition at line 36 of file af_packet.h.

◆ host_if_index

int af_packet_if_t::host_if_index

Definition at line 35 of file af_packet.h.

◆ host_if_name

u8* af_packet_if_t::host_if_name

Definition at line 34 of file af_packet.h.

◆ hw_if_index

u32 af_packet_if_t::hw_if_index

Definition at line 41 of file af_packet.h.

◆ is_admin_up

u8 af_packet_if_t::is_admin_up

Definition at line 49 of file af_packet.h.

◆ lockp

clib_spinlock_t af_packet_if_t::lockp

Definition at line 33 of file af_packet.h.

◆ next_rx_frame

u32 af_packet_if_t::next_rx_frame

Definition at line 45 of file af_packet.h.

◆ next_tx_frame

u32 af_packet_if_t::next_tx_frame

Definition at line 46 of file af_packet.h.

◆ per_interface_next_index

u32 af_packet_if_t::per_interface_next_index

Definition at line 48 of file af_packet.h.

◆ rx_req

struct tpacket_req* af_packet_if_t::rx_req

Definition at line 37 of file af_packet.h.

◆ rx_ring

u8* af_packet_if_t::rx_ring

Definition at line 39 of file af_packet.h.

◆ sw_if_index

u32 af_packet_if_t::sw_if_index

Definition at line 42 of file af_packet.h.

◆ tx_req

struct tpacket_req* af_packet_if_t::tx_req

Definition at line 38 of file af_packet.h.

◆ tx_ring

u8* af_packet_if_t::tx_ring

Definition at line 40 of file af_packet.h.


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