FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef int(* | init_fn) (ssvm_private_t *) |
typedef void(* | delete_fn) (ssvm_private_t *) |
Functions | |
int | ssvm_server_init_shm (ssvm_private_t *ssvm) |
int | ssvm_client_init_shm (ssvm_private_t *ssvm) |
void | ssvm_delete_shm (ssvm_private_t *ssvm) |
int | ssvm_server_init_memfd (ssvm_private_t *memfd) |
Initialize memfd segment server. More... | |
int | ssvm_client_init_memfd (ssvm_private_t *memfd) |
Initialize memfd segment client. More... | |
void | ssvm_delete_memfd (ssvm_private_t *memfd) |
int | ssvm_server_init_private (ssvm_private_t *ssvm) |
Initialize segment in a private heap. More... | |
int | ssvm_client_init_private (ssvm_private_t *ssvm) |
void | ssvm_delete_private (ssvm_private_t *ssvm) |
int | ssvm_server_init (ssvm_private_t *ssvm, ssvm_segment_type_t type) |
int | ssvm_client_init (ssvm_private_t *ssvm, ssvm_segment_type_t type) |
void | ssvm_delete (ssvm_private_t *ssvm) |
ssvm_segment_type_t | ssvm_type (const ssvm_private_t *ssvm) |
u8 * | ssvm_name (const ssvm_private_t *ssvm) |
Variables | |
static init_fn | server_init_fns [SSVM_N_SEGMENT_TYPES] |
static init_fn | client_init_fns [SSVM_N_SEGMENT_TYPES] |
static delete_fn | delete_fns [SSVM_N_SEGMENT_TYPES] |
typedef void(* delete_fn) (ssvm_private_t *) |
typedef int(* init_fn) (ssvm_private_t *) |
int ssvm_client_init | ( | ssvm_private_t * | ssvm, |
ssvm_segment_type_t | type | ||
) |
int ssvm_client_init_memfd | ( | ssvm_private_t * | memfd | ) |
Initialize memfd segment client.
Subtly different than svm_client_init. The caller needs to acquire a usable file descriptor for the memfd segment e.g. via vppinfra/socket.c:default_socket_recvmsg
Definition at line 292 of file ssvm.c.
int ssvm_client_init_private | ( | ssvm_private_t * | ssvm | ) |
int ssvm_client_init_shm | ( | ssvm_private_t * | ssvm | ) |
void ssvm_delete | ( | ssvm_private_t * | ssvm | ) |
void ssvm_delete_memfd | ( | ssvm_private_t * | memfd | ) |
void ssvm_delete_private | ( | ssvm_private_t * | ssvm | ) |
void ssvm_delete_shm | ( | ssvm_private_t * | ssvm | ) |
u8* ssvm_name | ( | const ssvm_private_t * | ssvm | ) |
int ssvm_server_init | ( | ssvm_private_t * | ssvm, |
ssvm_segment_type_t | type | ||
) |
int ssvm_server_init_memfd | ( | ssvm_private_t * | memfd | ) |
int ssvm_server_init_private | ( | ssvm_private_t * | ssvm | ) |
int ssvm_server_init_shm | ( | ssvm_private_t * | ssvm | ) |
ssvm_segment_type_t ssvm_type | ( | const ssvm_private_t * | ssvm | ) |
|
static |
|
static |
|
static |