FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
memif_details_t Struct Reference

Memif details. More...

+ Collaboration diagram for memif_details_t:

Data Fields

uint8_t * if_name
 
uint8_t * inst_name
 
uint8_t * remote_if_name
 
uint8_t * remote_inst_name
 
uint32_t id
 
uint8_t * secret
 
uint8_t role
 
uint8_t mode
 
uint8_t * socket_filename
 
uint8_t rx_queues_num
 
uint8_t tx_queues_num
 
memif_queue_details_trx_queues
 
memif_queue_details_ttx_queues
 
uint8_t link_up_down
 

Detailed Description

Memif details.

Parameters
if_name- interface name
inst_name- application name
remote_if_name- peer interface name
remote_inst_name- peer application name
id- connection id
secret- secret
role- 0 = master, 1 = slave
mode- 0 = ethernet, 1 = ip , 2 = punt/inject
socket_filename= socket filename
rx_queues_num- number of receive queues
tx_queues_num- number of transmit queues
rx_queues- struct containing receive queue details
tx_queues- struct containing transmit queue details
link_up_down- 1 = up (connected), 2 = down (disconnected)

Definition at line 241 of file libmemif.h.

Field Documentation

uint32_t memif_details_t::id

Definition at line 248 of file libmemif.h.

uint8_t* memif_details_t::if_name

Definition at line 243 of file libmemif.h.

uint8_t* memif_details_t::inst_name

Definition at line 244 of file libmemif.h.

uint8_t memif_details_t::link_up_down

Definition at line 258 of file libmemif.h.

uint8_t memif_details_t::mode

Definition at line 251 of file libmemif.h.

uint8_t* memif_details_t::remote_if_name

Definition at line 245 of file libmemif.h.

uint8_t* memif_details_t::remote_inst_name

Definition at line 246 of file libmemif.h.

uint8_t memif_details_t::role

Definition at line 250 of file libmemif.h.

memif_queue_details_t* memif_details_t::rx_queues

Definition at line 255 of file libmemif.h.

uint8_t memif_details_t::rx_queues_num

Definition at line 253 of file libmemif.h.

uint8_t* memif_details_t::secret

Definition at line 249 of file libmemif.h.

uint8_t* memif_details_t::socket_filename

Definition at line 252 of file libmemif.h.

memif_queue_details_t* memif_details_t::tx_queues

Definition at line 256 of file libmemif.h.

uint8_t memif_details_t::tx_queues_num

Definition at line 254 of file libmemif.h.


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