FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
memif_connection Struct Reference
+ Collaboration diagram for memif_connection:

Data Fields

uint16_t id
 
bool connected
 
struct per_thread_dataptd
 
memif_conn_handle_t handle
 
uint8_t ip_addr [4]
 
uint16_t index
 
memif_conn_args_t args
 
memif_conn_run_args_t run_args
 
int fd
 
memif_fnwrite_fn
 
memif_fnread_fn
 
memif_fnerror_fn
 
memif_connection_update_ton_connect
 
memif_connection_update_ton_disconnect
 
memif_interrupt_ton_interrupt
 
void * private_ctx
 
memif_msg_queue_elt_tmsg_queue
 
uint8_t remote_if_name [MEMIF_NAME_LEN]
 
uint8_t remote_name [MEMIF_NAME_LEN]
 
uint8_t remote_disconnect_string [96]
 
uint8_t regions_num
 
memif_region_tregions
 
uint8_t rx_queues_num
 
uint8_t tx_queues_num
 
memif_queue_trx_queues
 
memif_queue_ttx_queues
 
uint16_t flags
 

Detailed Description

Definition at line 57 of file main.c.

Field Documentation

◆ args

memif_conn_args_t memif_connection::args

Definition at line 128 of file memif_private.h.

◆ connected

bool memif_connection::connected

Definition at line 60 of file main.c.

◆ error_fn

memif_fn * memif_connection::error_fn

Definition at line 133 of file memif_private.h.

◆ fd

int memif_connection::fd

Definition at line 131 of file memif_private.h.

◆ flags

uint16_t memif_connection::flags

Definition at line 154 of file memif_private.h.

◆ handle

memif_conn_handle_t memif_connection::handle

Definition at line 62 of file main.c.

◆ id

uint16_t memif_connection::id

Definition at line 59 of file main.c.

◆ index

uint16_t memif_connection::index

Definition at line 127 of file memif_private.h.

◆ ip_addr

uint8_t memif_connection::ip_addr[4]

Definition at line 63 of file main.c.

◆ msg_queue

memif_msg_queue_elt_t* memif_connection::msg_queue

Definition at line 140 of file memif_private.h.

◆ on_connect

memif_connection_update_t* memif_connection::on_connect

Definition at line 135 of file memif_private.h.

◆ on_disconnect

memif_connection_update_t * memif_connection::on_disconnect

Definition at line 135 of file memif_private.h.

◆ on_interrupt

memif_interrupt_t* memif_connection::on_interrupt

Definition at line 136 of file memif_private.h.

◆ private_ctx

void* memif_connection::private_ctx

Definition at line 137 of file memif_private.h.

◆ ptd

struct per_thread_data* memif_connection::ptd

Definition at line 61 of file main.c.

◆ read_fn

memif_fn * memif_connection::read_fn

Definition at line 133 of file memif_private.h.

◆ regions

memif_region_t* memif_connection::regions

Definition at line 147 of file memif_private.h.

◆ regions_num

uint8_t memif_connection::regions_num

Definition at line 146 of file memif_private.h.

◆ remote_disconnect_string

uint8_t memif_connection::remote_disconnect_string[96]

Definition at line 144 of file memif_private.h.

◆ remote_if_name

uint8_t memif_connection::remote_if_name[MEMIF_NAME_LEN]

Definition at line 142 of file memif_private.h.

◆ remote_name

uint8_t memif_connection::remote_name[MEMIF_NAME_LEN]

Definition at line 143 of file memif_private.h.

◆ run_args

memif_conn_run_args_t memif_connection::run_args

Definition at line 129 of file memif_private.h.

◆ rx_queues

memif_queue_t* memif_connection::rx_queues

Definition at line 151 of file memif_private.h.

◆ rx_queues_num

uint8_t memif_connection::rx_queues_num

Definition at line 149 of file memif_private.h.

◆ tx_queues

memif_queue_t* memif_connection::tx_queues

Definition at line 152 of file memif_private.h.

◆ tx_queues_num

uint8_t memif_connection::tx_queues_num

Definition at line 150 of file memif_private.h.

◆ write_fn

memif_fn* memif_connection::write_fn

Definition at line 133 of file memif_private.h.


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