FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
af_packet_if_t Struct Reference

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

volatile u32lockp
 
u8host_if_name
 
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 unix_file_index
 
u32 next_rx_frame
 
u32 next_tx_frame
 
u32 per_interface_next_index
 
u8 is_admin_up
 

Detailed Description

Definition at line 20 of file af_packet.h.

Member Function Documentation

af_packet_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

int af_packet_if_t::fd

Definition at line 25 of file af_packet.h.

u8* af_packet_if_t::host_if_name

Definition at line 24 of file af_packet.h.

u32 af_packet_if_t::hw_if_index

Definition at line 30 of file af_packet.h.

u8 af_packet_if_t::is_admin_up

Definition at line 38 of file af_packet.h.

volatile u32* af_packet_if_t::lockp

Definition at line 23 of file af_packet.h.

u32 af_packet_if_t::next_rx_frame

Definition at line 34 of file af_packet.h.

u32 af_packet_if_t::next_tx_frame

Definition at line 35 of file af_packet.h.

u32 af_packet_if_t::per_interface_next_index

Definition at line 37 of file af_packet.h.

struct tpacket_req* af_packet_if_t::rx_req

Definition at line 26 of file af_packet.h.

u8* af_packet_if_t::rx_ring

Definition at line 28 of file af_packet.h.

u32 af_packet_if_t::sw_if_index

Definition at line 31 of file af_packet.h.

struct tpacket_req* af_packet_if_t::tx_req

Definition at line 27 of file af_packet.h.

u8* af_packet_if_t::tx_ring

Definition at line 29 of file af_packet.h.

u32 af_packet_if_t::unix_file_index

Definition at line 32 of file af_packet.h.


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