FD.io VPP  v19.04.1-1-ge4a0f9f
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 regions_num
 
memif_region_details_tregions
 
uint8_t rx_queues_num
 
uint8_t tx_queues_num
 
memif_queue_details_trx_queues
 
memif_queue_details_ttx_queues
 
uint8_t * error
 
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
regions_num- number of regions
regions- struct containing region details
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
error- error string
link_up_down- 1 = up (connected), 2 = down (disconnected)

Definition at line 362 of file libmemif.h.

Field Documentation

uint8_t* memif_details_t::error

Definition at line 381 of file libmemif.h.

uint32_t memif_details_t::id

Definition at line 369 of file libmemif.h.

uint8_t* memif_details_t::if_name

Definition at line 364 of file libmemif.h.

uint8_t* memif_details_t::inst_name

Definition at line 365 of file libmemif.h.

uint8_t memif_details_t::link_up_down

Definition at line 382 of file libmemif.h.

uint8_t memif_details_t::mode

Definition at line 372 of file libmemif.h.

memif_region_details_t* memif_details_t::regions

Definition at line 375 of file libmemif.h.

uint8_t memif_details_t::regions_num

Definition at line 374 of file libmemif.h.

uint8_t* memif_details_t::remote_if_name

Definition at line 366 of file libmemif.h.

uint8_t* memif_details_t::remote_inst_name

Definition at line 367 of file libmemif.h.

uint8_t memif_details_t::role

Definition at line 371 of file libmemif.h.

memif_queue_details_t* memif_details_t::rx_queues

Definition at line 378 of file libmemif.h.

uint8_t memif_details_t::rx_queues_num

Definition at line 376 of file libmemif.h.

uint8_t* memif_details_t::secret

Definition at line 370 of file libmemif.h.

uint8_t* memif_details_t::socket_filename

Definition at line 373 of file libmemif.h.

memif_queue_details_t* memif_details_t::tx_queues

Definition at line 379 of file libmemif.h.

uint8_t memif_details_t::tx_queues_num

Definition at line 377 of file libmemif.h.


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