FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
af_packet_if_t Struct Reference
+ Collaboration diagram for af_packet_if_t:

Public Member Functions


Data Fields

clib_spinlock_t lockp
int host_if_index
int fd
struct tpacket_req * rx_req
struct tpacket_req * tx_req
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

af_packet_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

u32 af_packet_if_t::clib_file_index

Definition at line 43 of file af_packet.h.

int af_packet_if_t::fd

Definition at line 36 of file af_packet.h.

int af_packet_if_t::host_if_index

Definition at line 35 of file af_packet.h.

u8* af_packet_if_t::host_if_name

Definition at line 34 of file af_packet.h.

u32 af_packet_if_t::hw_if_index

Definition at line 41 of file af_packet.h.

u8 af_packet_if_t::is_admin_up

Definition at line 49 of file af_packet.h.

clib_spinlock_t af_packet_if_t::lockp

Definition at line 33 of file af_packet.h.

u32 af_packet_if_t::next_rx_frame

Definition at line 45 of file af_packet.h.

u32 af_packet_if_t::next_tx_frame

Definition at line 46 of file af_packet.h.

u32 af_packet_if_t::per_interface_next_index

Definition at line 48 of file af_packet.h.

struct tpacket_req* af_packet_if_t::rx_req

Definition at line 37 of file af_packet.h.

u8* af_packet_if_t::rx_ring

Definition at line 39 of file af_packet.h.

u32 af_packet_if_t::sw_if_index

Definition at line 42 of file af_packet.h.

struct tpacket_req* af_packet_if_t::tx_req

Definition at line 38 of file af_packet.h.

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: