FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
memif_if_t Struct Reference
+ Collaboration diagram for memif_if_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_spinlock_t lockp
 
u32 flags
 
memif_interface_id_t id
 
u32 hw_if_index
 
u32 sw_if_index
 
uword dev_instance
 
memif_interface_mode_t mode:8
 
u32 per_interface_next_index
 
uword socket_file_index
 
int conn_fd
 
uword conn_clib_file_index
 
memif_msg_fifo_elt_tmsg_queue
 
u8secret
 
memif_region_tregions
 
memif_queue_trx_queues
 
memif_queue_ttx_queues
 
pid_t remote_pid
 
uid_t remote_uid
 
gid_t remote_gid
 
u8remote_name
 
u8remote_if_name
 
struct {
   memif_log2_ring_size_t   log2_ring_size
 
   u8   num_s2m_rings
 
   u8   num_m2s_rings
 
   u16   buffer_size
 
cfg
 
struct {
   memif_log2_ring_size_t   log2_ring_size
 
   u8   num_s2m_rings
 
   u8   num_m2s_rings
 
   u16   buffer_size
 
run
 
u8local_disc_string
 
u8remote_disc_string
 

Detailed Description

Definition at line 127 of file private.h.

Member Function Documentation

memif_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

u16 memif_if_t::buffer_size

Definition at line 164 of file private.h.

struct { ... } memif_if_t::cfg
uword memif_if_t::conn_clib_file_index

Definition at line 143 of file private.h.

int memif_if_t::conn_fd

Definition at line 142 of file private.h.

uword memif_if_t::dev_instance

Definition at line 135 of file private.h.

u32 memif_if_t::flags

Definition at line 131 of file private.h.

u32 memif_if_t::hw_if_index

Definition at line 133 of file private.h.

memif_interface_id_t memif_if_t::id

Definition at line 132 of file private.h.

u8* memif_if_t::local_disc_string

Definition at line 176 of file private.h.

clib_spinlock_t memif_if_t::lockp

Definition at line 130 of file private.h.

memif_log2_ring_size_t memif_if_t::log2_ring_size

Definition at line 161 of file private.h.

memif_interface_mode_t memif_if_t::mode

Definition at line 136 of file private.h.

memif_msg_fifo_elt_t* memif_if_t::msg_queue

Definition at line 144 of file private.h.

u8 memif_if_t::num_m2s_rings

Definition at line 163 of file private.h.

u8 memif_if_t::num_s2m_rings

Definition at line 162 of file private.h.

u32 memif_if_t::per_interface_next_index

Definition at line 138 of file private.h.

memif_region_t* memif_if_t::regions

Definition at line 147 of file private.h.

u8* memif_if_t::remote_disc_string

Definition at line 177 of file private.h.

gid_t memif_if_t::remote_gid

Definition at line 155 of file private.h.

u8* memif_if_t::remote_if_name

Definition at line 157 of file private.h.

u8* memif_if_t::remote_name

Definition at line 156 of file private.h.

pid_t memif_if_t::remote_pid

Definition at line 153 of file private.h.

uid_t memif_if_t::remote_uid

Definition at line 154 of file private.h.

struct { ... } memif_if_t::run
memif_queue_t* memif_if_t::rx_queues

Definition at line 149 of file private.h.

u8* memif_if_t::secret

Definition at line 145 of file private.h.

uword memif_if_t::socket_file_index

Definition at line 141 of file private.h.

u32 memif_if_t::sw_if_index

Definition at line 134 of file private.h.

memif_queue_t* memif_if_t::tx_queues

Definition at line 150 of file private.h.


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