FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Memif connection arguments. More...
Data Fields | |
uint8_t * | socket_filename |
uint8_t | secret [24] |
uint8_t | num_s2m_rings |
uint8_t | num_m2s_rings |
uint16_t | buffer_size |
uint8_t | log2_ring_size |
uint8_t | is_master |
uint32_t | interface_id |
uint8_t | interface_name [32] |
memif_interface_mode_t | mode:8 |
Memif connection arguments.
socket_filename | - socket filename |
secret | - otional parameter used as interface autenthication |
num_s2m_rings | - number of slave to master rings |
num_m2s_rings | - number of master to slave rings |
buffer_size | - size of buffer in shared memory |
log2_ring_size | - logarithm base 2 of ring size |
is_master | - 0 == master, 1 == slave |
interface_id | - id used to identify peer connection |
interface_name | - interface name |
mode | - 0 == ethernet, 1 == ip , 2 == punt/inject |
Definition at line 254 of file libmemif.h.
uint16_t memif_conn_args_t::buffer_size |
default = 2048
Definition at line 261 of file libmemif.h.
uint32_t memif_conn_args_t::interface_id |
Definition at line 265 of file libmemif.h.
uint8_t memif_conn_args_t::interface_name[32] |
Definition at line 266 of file libmemif.h.
uint8_t memif_conn_args_t::is_master |
Definition at line 263 of file libmemif.h.
uint8_t memif_conn_args_t::log2_ring_size |
default = 10 (1024)
Definition at line 262 of file libmemif.h.
memif_interface_mode_t memif_conn_args_t::mode |
Definition at line 267 of file libmemif.h.
uint8_t memif_conn_args_t::num_m2s_rings |
default = 1
Definition at line 260 of file libmemif.h.
uint8_t memif_conn_args_t::num_s2m_rings |
default = 1
Definition at line 259 of file libmemif.h.
uint8_t memif_conn_args_t::secret[24] |
optional (interface authentication)
Definition at line 257 of file libmemif.h.
uint8_t* memif_conn_args_t::socket_filename |
default = /run/vpp/memif.sock
Definition at line 256 of file libmemif.h.