FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vpp_echo_bapi.c File Reference
+ Include dependency graph for vpp_echo_bapi.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   msg_id_base
 
#define foreach_quic_echo_msg
 
#define vl_print(handle, ...)   fformat (handle, __VA_ARGS__)
 
#define vl_endianfun
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version = v;
 

Functions

void echo_send_attach (echo_main_t *em)
 
void echo_send_detach (echo_main_t *em)
 
void echo_send_add_cert_key (echo_main_t *em)
 
void echo_send_del_cert_key (echo_main_t *em)
 
static u8 echo_transport_needs_crypto (transport_proto_t proto)
 
static void echo_msg_add_crypto_ext_config (echo_main_t *em, uword *offset)
 
void echo_send_listen (echo_main_t *em, ip46_address_t *ip)
 
void echo_send_unbind (echo_main_t *em, echo_session_t *s)
 
void echo_send_connect (echo_main_t *em, void *args)
 
void echo_send_disconnect_session (echo_main_t *em, void *args)
 
int echo_segment_attach (u64 segment_handle, char *name, ssvm_segment_type_t type, int fd)
 
u32 echo_segment_lookup (u64 segment_handle)
 
void echo_segment_detach (u64 segment_handle)
 
int echo_attach_session (uword segment_handle, uword rxf_offset, uword txf_offset, uword mq_offset, echo_session_t *s)
 
int echo_segment_attach_mq (uword segment_handle, uword mq_offset, u32 mq_index, svm_msg_q_t **mq)
 
svm_fifo_chunk_techo_segment_alloc_chunk (uword segment_handle, u32 slice_index, u32 size, uword *offset)
 
static void vl_api_app_add_cert_key_pair_reply_t_handler (vl_api_app_add_cert_key_pair_reply_t *mp)
 
static void vl_api_app_del_cert_key_pair_reply_t_handler (vl_api_app_del_cert_key_pair_reply_t *mp)
 
static void vl_api_app_attach_reply_t_handler (vl_api_app_attach_reply_t *mp)
 
static void vl_api_application_detach_reply_t_handler (vl_api_application_detach_reply_t *mp)
 
void echo_api_hookup (echo_main_t *em)
 

Variables

static u16 msg_id_base
 

Macro Definition Documentation

◆ foreach_quic_echo_msg

#define foreach_quic_echo_msg
Value:
_(APP_ATTACH_REPLY, app_attach_reply) \
_(APPLICATION_DETACH_REPLY, application_detach_reply) \
_(APP_ADD_CERT_KEY_PAIR_REPLY, app_add_cert_key_pair_reply) \
_(APP_DEL_CERT_KEY_PAIR_REPLY, app_del_cert_key_pair_reply)

Definition at line 540 of file vpp_echo_bapi.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   msg_id_base

Definition at line 21 of file vpp_echo_bapi.c.

◆ vl_api_version

#define vl_api_version (   n,
 
)    static u32 api_version = v;

Definition at line 555 of file vpp_echo_bapi.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 547 of file vpp_echo_bapi.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    fformat (handle, __VA_ARGS__)

Definition at line 546 of file vpp_echo_bapi.c.

◆ vl_printfun

#define vl_printfun

Definition at line 551 of file vpp_echo_bapi.c.

Function Documentation

◆ echo_api_hookup()

void echo_api_hookup ( echo_main_t em)

Definition at line 560 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ echo_attach_session()

int echo_attach_session ( uword  segment_handle,
uword  rxf_offset,
uword  txf_offset,
uword  mq_offset,
echo_session_t s 
)

Definition at line 294 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_msg_add_crypto_ext_config()

static void echo_msg_add_crypto_ext_config ( echo_main_t em,
uword offset 
)
static

Definition at line 114 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_segment_alloc_chunk()

svm_fifo_chunk_t* echo_segment_alloc_chunk ( uword  segment_handle,
u32  slice_index,
u32  size,
uword offset 
)

Definition at line 364 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_segment_attach()

int echo_segment_attach ( u64  segment_handle,
char *  name,
ssvm_segment_type_t  type,
int  fd 
)

Definition at line 228 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_segment_attach_mq()

int echo_segment_attach_mq ( uword  segment_handle,
uword  mq_offset,
u32  mq_index,
svm_msg_q_t **  mq 
)

Definition at line 338 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_segment_detach()

void echo_segment_detach ( u64  segment_handle)

Definition at line 276 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_segment_lookup()

u32 echo_segment_lookup ( u64  segment_handle)

Definition at line 258 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_send_add_cert_key()

void echo_send_add_cert_key ( echo_main_t em)

Definition at line 72 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ echo_send_attach()

void echo_send_attach ( echo_main_t em)

Definition at line 31 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ echo_send_connect()

void echo_send_connect ( echo_main_t em,
void *  args 
)

Definition at line 171 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_send_del_cert_key()

void echo_send_del_cert_key ( echo_main_t em)

Definition at line 93 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ echo_send_detach()

void echo_send_detach ( echo_main_t em)

Definition at line 58 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ echo_send_disconnect_session()

void echo_send_disconnect_session ( echo_main_t em,
void *  args 
)

Definition at line 201 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_send_listen()

void echo_send_listen ( echo_main_t em,
ip46_address_t *  ip 
)

Definition at line 132 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_send_unbind()

void echo_send_unbind ( echo_main_t em,
echo_session_t s 
)

Definition at line 154 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_transport_needs_crypto()

static u8 echo_transport_needs_crypto ( transport_proto_t  proto)
static

Definition at line 107 of file vpp_echo_bapi.c.

+ Here is the caller graph for this function:

◆ vl_api_app_add_cert_key_pair_reply_t_handler()

static void vl_api_app_add_cert_key_pair_reply_t_handler ( vl_api_app_add_cert_key_pair_reply_t mp)
static

Definition at line 399 of file vpp_echo_bapi.c.

◆ vl_api_app_attach_reply_t_handler()

static void vl_api_app_attach_reply_t_handler ( vl_api_app_attach_reply_t mp)
static

Definition at line 435 of file vpp_echo_bapi.c.

+ Here is the call graph for this function:

◆ vl_api_app_del_cert_key_pair_reply_t_handler()

static void vl_api_app_del_cert_key_pair_reply_t_handler ( vl_api_app_del_cert_key_pair_reply_t *  mp)
static

Definition at line 421 of file vpp_echo_bapi.c.

◆ vl_api_application_detach_reply_t_handler()

static void vl_api_application_detach_reply_t_handler ( vl_api_application_detach_reply_t *  mp)
static

Definition at line 528 of file vpp_echo_bapi.c.

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 22 of file vpp_echo_bapi.c.