FD.io VPP  v18.07.1-11-g31aa6f2
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 268 of file libmemif.h.

Field Documentation

uint32_t memif_details_t::id

Definition at line 275 of file libmemif.h.

uint8_t* memif_details_t::if_name

Definition at line 270 of file libmemif.h.

uint8_t* memif_details_t::inst_name

Definition at line 271 of file libmemif.h.

uint8_t memif_details_t::link_up_down

Definition at line 285 of file libmemif.h.

uint8_t memif_details_t::mode

Definition at line 278 of file libmemif.h.

uint8_t* memif_details_t::remote_if_name

Definition at line 272 of file libmemif.h.

uint8_t* memif_details_t::remote_inst_name

Definition at line 273 of file libmemif.h.

uint8_t memif_details_t::role

Definition at line 277 of file libmemif.h.

memif_queue_details_t* memif_details_t::rx_queues

Definition at line 282 of file libmemif.h.

uint8_t memif_details_t::rx_queues_num

Definition at line 280 of file libmemif.h.

uint8_t* memif_details_t::secret

Definition at line 276 of file libmemif.h.

uint8_t* memif_details_t::socket_filename

Definition at line 279 of file libmemif.h.

memif_queue_details_t* memif_details_t::tx_queues

Definition at line 283 of file libmemif.h.

uint8_t memif_details_t::tx_queues_num

Definition at line 281 of file libmemif.h.


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