FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | session_t |
struct | vppcom_cfg_t_ |
struct | vppcom_main_t_ |
Macros | |
#define | vl_typedefs /* define message structures */ |
#define | vl_endianfun /* define message structures */ |
#define | vl_print(handle, ...) |
#define | vl_printfun |
#define | VPPCOM_DEBUG 1 |
#define | foreach_sock_msg |
Typedefs | |
typedef struct vppcom_cfg_t_ | vppcom_cfg_t |
typedef struct vppcom_main_t_ | vppcom_main_t |
Enumerations | |
enum | app_state_t { STATE_APP_START, STATE_APP_CONN_VPP, STATE_APP_ENABLED, STATE_APP_ATTACHED } |
enum | session_state_t { STATE_START, STATE_CONNECT, STATE_LISTEN, STATE_ACCEPT, STATE_DISCONNECT, STATE_FAILED } |
Variables | |
vppcom_main_t | vppcom_main = {.my_client_index = ~0 } |
#define foreach_sock_msg |
typedef struct vppcom_cfg_t_ vppcom_cfg_t |
typedef struct vppcom_main_t_ vppcom_main_t |
enum app_state_t |
enum session_state_t |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int vppcom_app_create | ( | char * | app_name | ) |
void vppcom_app_destroy | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int vppcom_select | ( | unsigned long | n_bits, |
unsigned long * | read_map, | ||
unsigned long * | write_map, | ||
unsigned long * | except_map, | ||
double | time_to_wait | ||
) |
|
static |
|
static |
|
static |
|
static |
int vppcom_session_accept | ( | uint32_t | listen_session_index, |
vppcom_endpt_t * | ep, | ||
double | wait_for_time | ||
) |
int vppcom_session_bind | ( | uint32_t | session_index, |
vppcom_endpt_t * | ep | ||
) |
int vppcom_session_close | ( | uint32_t | session_index | ) |
int vppcom_session_connect | ( | uint32_t | session_index, |
vppcom_endpt_t * | server_ep | ||
) |
|
static |
int vppcom_session_listen | ( | uint32_t | listen_session_index, |
uint32_t | q_len | ||
) |
int vppcom_session_read | ( | uint32_t | session_index, |
void * | buf, | ||
int | n | ||
) |
|
static |
|
static |
|
static |
int vppcom_session_write | ( | uint32_t | session_index, |
void * | buf, | ||
int | n | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
vppcom_main_t vppcom_main = {.my_client_index = ~0 } |