FD.io VPP  v21.06-3-gbb25fbf28
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 foreach_quic_echo_msg
 

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)
 

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 537 of file vpp_echo_bapi.c.

Function Documentation

◆ echo_api_hookup()

void echo_api_hookup ( echo_main_t em)

Definition at line 544 of file vpp_echo_bapi.c.

◆ 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 291 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 111 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 361 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 225 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 335 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 273 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 255 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 69 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 28 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 168 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 90 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 55 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 198 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 129 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 151 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 104 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 396 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 432 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 418 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 525 of file vpp_echo_bapi.c.