CNDP
22.08.0
|
#include <memif.h>
Data Fields | |
uint8_t | name [CNE_MEMIF_NAME_SZ] |
cne_memif_version_t | min_version |
cne_memif_version_t | max_version |
cne_memif_region_index_t | max_region |
cne_memif_ring_index_t | max_s2c_ring |
cne_memif_ring_index_t | max_c2s_ring |
cne_memif_log2_ring_size_t | max_log2_ring_size |
cne_memif_version_t | version |
cne_memif_interface_id_t | id |
cne_memif_interface_mode_t | mode: 8 |
uint8_t | secret [24] |
cne_memif_region_index_t | index |
cne_memif_region_size_t | size |
uint16_t | flags |
cne_memif_ring_index_t | index |
cne_memif_region_index_t | region |
cne_memif_region_offset_t | offset |
cne_memif_log2_ring_size_t | log2_ring_size |
uint16_t | private_hdr_size |
uint8_t | if_name [CNE_MEMIF_NAME_SZ] |
uint32_t | code |
uint8_t | string [96] |
uint32_t | length |
S2C Contains server interfaces configuration.
C2S Contains information required to identify interface to which the client wants to connect.
C2S Request server to add new shared memory region to server interface. Shared files file descriptor is passed in cmsghdr.
C2S Request server to add new ring to server interface.
C2S Finalize connection establishment.
S2C Finalize connection establishment.
C2S & S2C Disconnect interfaces.
Buffer descriptor.
cne_memif_version_t min_version |
cne_memif_version_t max_version |
cne_memif_log2_ring_size_t max_log2_ring_size |
cne_memif_region_index_t region |
cne_memif_region_offset_t offset |