FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
vl_api_memif_create_t Struct Reference

Create memory interface. More...

Data Fields

u32 client_index
 
u32 context
 
u8 role
 
u64 key
 
u8 socket_filename [128]
 
u32 ring_size
 
u16 buffer_size
 
u8 hw_addr [6]
 

Detailed Description

Create memory interface.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
role- role of the interface in the connection (master/slave)
key- 64bit integer used to authenticate and match opposite sides of the connection
socket_filename- filename of the socket to be used for connection establishment
ring_size- the number of entries of RX/TX rings
buffer_size- size of the buffer allocated for each ring entry
hw_addr- interface MAC address

Definition at line 28 of file memif.api.

Field Documentation

u16 vl_api_memif_create_t::buffer_size

Definition at line 39 of file memif.api.

u32 vl_api_memif_create_t::client_index

Definition at line 30 of file memif.api.

u32 vl_api_memif_create_t::context

Definition at line 31 of file memif.api.

u8 vl_api_memif_create_t::hw_addr[6]

Definition at line 40 of file memif.api.

u64 vl_api_memif_create_t::key

Definition at line 34 of file memif.api.

u32 vl_api_memif_create_t::ring_size

Definition at line 38 of file memif.api.

u8 vl_api_memif_create_t::role

Definition at line 33 of file memif.api.

u8 vl_api_memif_create_t::socket_filename[128]

Definition at line 35 of file memif.api.


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