FD.io VPP
v18.07.1-19-g511ce25
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 181 of file libmemif.h.
uint16_t memif_conn_args_t::buffer_size |
default = 2048
Definition at line 188 of file libmemif.h.
uint32_t memif_conn_args_t::interface_id |
Definition at line 192 of file libmemif.h.
uint8_t memif_conn_args_t::interface_name[32] |
Definition at line 193 of file libmemif.h.
uint8_t memif_conn_args_t::is_master |
Definition at line 190 of file libmemif.h.
uint8_t memif_conn_args_t::log2_ring_size |
default = 10 (1024)
Definition at line 189 of file libmemif.h.
memif_interface_mode_t memif_conn_args_t::mode |
Definition at line 194 of file libmemif.h.
uint8_t memif_conn_args_t::num_m2s_rings |
default = 1
Definition at line 187 of file libmemif.h.
uint8_t memif_conn_args_t::num_s2m_rings |
default = 1
Definition at line 186 of file libmemif.h.
uint8_t memif_conn_args_t::secret[24] |
optional (interface authentication)
Definition at line 184 of file libmemif.h.
uint8_t* memif_conn_args_t::socket_filename |
default = /run/vpp/memif.sock
Definition at line 183 of file libmemif.h.