|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
|
static void | srtp_disconnect (u32 ctx_handle, u32 thread_index) |
|
static void | srtp_disconnect_transport (srtp_tc_t *ctx) |
|
static u32 | srtp_ctx_alloc_w_thread (u32 thread_index) |
|
static srtp_tc_t * | srtp_ctx_get_w_thread (u32 ctx_index, u32 thread_index) |
|
static void | srtp_init_policy (srtp_tc_t *ctx, transport_endpt_cfg_srtp_t *cfg) |
|
static void | srtp_ctx_free_policy (srtp_tc_t *ctx) |
|
void | srtp_ctx_free (srtp_tc_t *ctx) |
|
static u32 | srtp_ctx_attach (u32 thread_index, void *ctx_ptr) |
|
static void * | srtp_ctx_detach (srtp_tc_t *ctx) |
|
u32 | srtp_listener_ctx_alloc (void) |
|
void | srtp_listener_ctx_free (srtp_tc_t *ctx) |
|
srtp_tc_t * | srtp_listener_ctx_get (u32 ctx_index) |
|
u32 | srtp_listener_ctx_index (srtp_tc_t *ctx) |
|
static int | srtp_ctx_init_client (srtp_tc_t *ctx) |
|
static int | srtp_ctx_init_server (srtp_tc_t *ctx) |
|
static int | srtp_ctx_deinit (srtp_tc_t *ctx) |
|
static int | srtp_ctx_write (srtp_tc_t *ctx, session_t *app_session, transport_send_params_t *sp) |
|
int | srtp_add_vpp_q_builtin_rx_evt (session_t *s) |
|
void | srtp_notify_app_enqueue (srtp_tc_t *ctx, session_t *app_session) |
|
static int | srtp_ctx_read (srtp_tc_t *ctx, session_t *us) |
|
int | srtp_add_segment_callback (u32 client_index, u64 segment_handle) |
|
int | srtp_del_segment_callback (u32 client_index, u64 segment_handle) |
|
void | srtp_session_disconnect_callback (session_t *us) |
|
void | srtp_session_reset_callback (session_t *us) |
|
static int | srtp_session_connected_callback (u32 srtp_app_index, u32 ctx_handle, session_t *us, session_error_t err) |
|
int | srtp_session_accept_callback (session_t *us) |
|
int | srtp_app_rx_callback (session_t *us) |
|
int | srtp_app_tx_callback (session_t *us) |
|
static void | srtp_app_session_cleanup (session_t *s, session_cleanup_ntf_t ntf) |
|
static void | srtp_migrate_ctx_reply (void *arg) |
|
static void | srtp_migrate_ctx (void *arg) |
|
static void | srtp_session_migrate_callback (session_t *us, session_handle_t new_sh) |
|
static clib_error_t * | srtp_enable (vlib_main_t *vm, u8 is_en) |
|
int | srtp_connect (transport_endpoint_cfg_t *tep) |
|
static u32 | srtp_start_listen (u32 app_listener_index, transport_endpoint_t *tep) |
|
u32 | srtp_stop_listen (u32 lctx_index) |
|
transport_connection_t * | srtp_connection_get (u32 ctx_index, u32 thread_index) |
|
transport_connection_t * | srtp_listener_get (u32 listener_index) |
|
int | srtp_custom_tx_callback (void *session, transport_send_params_t *sp) |
|
u8 * | format_srtp_ctx (u8 *s, va_list *args) |
|
static u8 * | format_srtp_listener_ctx (u8 *s, va_list *args) |
|
static u8 * | format_srtp_ctx_state (u8 *s, va_list *args) |
|
u8 * | format_srtp_connection (u8 *s, va_list *args) |
|
u8 * | format_srtp_listener (u8 *s, va_list *args) |
|
u8 * | format_srtp_half_open (u8 *s, va_list *args) |
|
static void | srtp_transport_endpoint_get (u32 ctx_handle, u32 thread_index, transport_endpoint_t *tep, u8 is_lcl) |
|
static void | srtp_transport_listener_endpoint_get (u32 ctx_handle, transport_endpoint_t *tep, u8 is_lcl) |
|
static clib_error_t * | srtp_transport_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ format_srtp_connection()
u8* format_srtp_connection |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_srtp_ctx()
u8* format_srtp_ctx |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_srtp_ctx_state()
static u8* format_srtp_ctx_state |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_srtp_half_open()
u8* format_srtp_half_open |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_srtp_listener()
u8* format_srtp_listener |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_srtp_listener_ctx()
static u8* format_srtp_listener_ctx |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ srtp_add_segment_callback()
int srtp_add_segment_callback |
( |
u32 |
client_index, |
|
|
u64 |
segment_handle |
|
) |
| |
◆ srtp_add_vpp_q_builtin_rx_evt()
int srtp_add_vpp_q_builtin_rx_evt |
( |
session_t * |
s | ) |
|
◆ srtp_app_rx_callback()
◆ srtp_app_session_cleanup()
◆ srtp_app_tx_callback()
◆ srtp_connect()
◆ srtp_connection_get()
◆ srtp_ctx_alloc_w_thread()
static u32 srtp_ctx_alloc_w_thread |
( |
u32 |
thread_index | ) |
|
|
inlinestatic |
◆ srtp_ctx_attach()
static u32 srtp_ctx_attach |
( |
u32 |
thread_index, |
|
|
void * |
ctx_ptr |
|
) |
| |
|
inlinestatic |
◆ srtp_ctx_deinit()
static int srtp_ctx_deinit |
( |
srtp_tc_t * |
ctx | ) |
|
|
static |
◆ srtp_ctx_detach()
static void* srtp_ctx_detach |
( |
srtp_tc_t * |
ctx | ) |
|
|
inlinestatic |
◆ srtp_ctx_free()
◆ srtp_ctx_free_policy()
static void srtp_ctx_free_policy |
( |
srtp_tc_t * |
ctx | ) |
|
|
static |
◆ srtp_ctx_get_w_thread()
static srtp_tc_t* srtp_ctx_get_w_thread |
( |
u32 |
ctx_index, |
|
|
u32 |
thread_index |
|
) |
| |
|
inlinestatic |
◆ srtp_ctx_init_client()
static int srtp_ctx_init_client |
( |
srtp_tc_t * |
ctx | ) |
|
|
static |
◆ srtp_ctx_init_server()
static int srtp_ctx_init_server |
( |
srtp_tc_t * |
ctx | ) |
|
|
static |
◆ srtp_ctx_read()
◆ srtp_ctx_write()
◆ srtp_custom_tx_callback()
◆ srtp_del_segment_callback()
int srtp_del_segment_callback |
( |
u32 |
client_index, |
|
|
u64 |
segment_handle |
|
) |
| |
◆ srtp_disconnect()
static void srtp_disconnect |
( |
u32 |
ctx_handle, |
|
|
u32 |
thread_index |
|
) |
| |
|
static |
◆ srtp_disconnect_transport()
static void srtp_disconnect_transport |
( |
srtp_tc_t * |
ctx | ) |
|
|
static |
◆ srtp_enable()
◆ srtp_init_policy()
◆ srtp_listener_ctx_alloc()
u32 srtp_listener_ctx_alloc |
( |
void |
| ) |
|
◆ srtp_listener_ctx_free()
void srtp_listener_ctx_free |
( |
srtp_tc_t * |
ctx | ) |
|
◆ srtp_listener_ctx_get()
◆ srtp_listener_ctx_index()
◆ srtp_listener_get()
◆ srtp_migrate_ctx()
static void srtp_migrate_ctx |
( |
void * |
arg | ) |
|
|
static |
◆ srtp_migrate_ctx_reply()
static void srtp_migrate_ctx_reply |
( |
void * |
arg | ) |
|
|
static |
◆ srtp_notify_app_enqueue()
◆ srtp_session_accept_callback()
int srtp_session_accept_callback |
( |
session_t * |
us | ) |
|
◆ srtp_session_connected_callback()
◆ srtp_session_disconnect_callback()
void srtp_session_disconnect_callback |
( |
session_t * |
us | ) |
|
◆ srtp_session_migrate_callback()
◆ srtp_session_reset_callback()
void srtp_session_reset_callback |
( |
session_t * |
us | ) |
|
◆ srtp_start_listen()
◆ srtp_stop_listen()
u32 srtp_stop_listen |
( |
u32 |
lctx_index | ) |
|
◆ srtp_transport_endpoint_get()
◆ srtp_transport_init()
◆ srtp_transport_listener_endpoint_get()
◆ VLIB_PLUGIN_REGISTER()
◆ srtp_app_cb_vft
Initial value:
Definition at line 566 of file srtp.c.
◆ srtp_main
◆ srtp_proto
Initial value:= {
.transport_options = {
.name = "srtp",
.short_name = "R",
},
}
Definition at line 948 of file srtp.c.
u8 * format_srtp_half_open(u8 *s, va_list *args)
int srtp_add_segment_callback(u32 client_index, u64 segment_handle)
static clib_error_t * srtp_enable(vlib_main_t *vm, u8 is_en)
int srtp_app_tx_callback(session_t *us)
static void srtp_transport_endpoint_get(u32 ctx_handle, u32 thread_index, transport_endpoint_t *tep, u8 is_lcl)
static void srtp_app_session_cleanup(session_t *s, session_cleanup_ntf_t ntf)
int srtp_app_rx_callback(session_t *us)
int srtp_session_accept_callback(session_t *us)
static void srtp_session_migrate_callback(session_t *us, session_handle_t new_sh)
static u32 srtp_start_listen(u32 app_listener_index, transport_endpoint_t *tep)
void srtp_session_reset_callback(session_t *us)
int srtp_custom_tx_callback(void *session, transport_send_params_t *sp)
@ TRANSPORT_SERVICE_APP
app transport service
static int srtp_session_connected_callback(u32 srtp_app_index, u32 ctx_handle, session_t *us, session_error_t err)
void srtp_session_disconnect_callback(session_t *us)
@ TRANSPORT_TX_INTERNAL
apps acting as transports
int srtp_del_segment_callback(u32 client_index, u64 segment_handle)
u32 srtp_stop_listen(u32 lctx_index)
u8 * format_srtp_listener(u8 *s, va_list *args)
static void srtp_transport_listener_endpoint_get(u32 ctx_handle, transport_endpoint_t *tep, u8 is_lcl)
transport_connection_t * srtp_listener_get(u32 listener_index)
transport_connection_t * srtp_connection_get(u32 ctx_index, u32 thread_index)
int srtp_connect(transport_endpoint_cfg_t *tep)
u8 * format_srtp_connection(u8 *s, va_list *args)
static void srtp_disconnect(u32 ctx_handle, u32 thread_index)