FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
vpp_echo_proto_quic.c File Reference
+ Include dependency graph for vpp_echo_proto_quic.c:

Go to the source code of this file.

Data Structures

struct  quic_echo_proto_main_t
 

Typedefs

typedef struct _quic_echo_cb_vft quic_echo_cb_vft_t
 

Functions

static void quic_echo_on_connected_connect (session_connected_msg_t *mp, u32 session_index)
 
static void quic_echo_on_connected_send (session_connected_msg_t *mp, u32 session_index)
 
static void quic_echo_on_connected_error (session_connected_msg_t *mp, u32 session_index)
 
static void quic_echo_on_accept_recv (session_accepted_msg_t *mp, u32 session_index)
 
static void quic_echo_on_accept_connect (session_accepted_msg_t *mp, u32 session_index)
 
static void quic_echo_on_accept_error (session_accepted_msg_t *mp, u32 session_index)
 
static void quic_echo_on_accept_log_ip (session_accepted_msg_t *mp, u32 session_index)
 
static void quic_echo_cleanup_cb (echo_session_t *s, u8 parent_died)
 
static void quic_echo_cleanup_listener (u32 listener_index, echo_main_t *em, quic_echo_proto_main_t *eqm)
 
static void quic_echo_initiate_qsession_close_no_stream (echo_main_t *em)
 
static void quic_echo_on_connected (session_connected_msg_t *mp, u32 session_index)
 
static void quic_echo_connected_cb (session_connected_bundled_msg_t *mp, u32 session_index, u8 is_failed)
 
static void quic_echo_accepted_cb (session_accepted_msg_t *mp, echo_session_t *session)
 
static void quic_echo_sent_disconnect_cb (echo_session_t *s)
 
static void quic_echo_disconnected_cb (session_disconnected_msg_t *mp, echo_session_t *s)
 
static void quic_echo_reset_cb (session_reset_msg_t *mp, echo_session_t *s)
 
static uword quic_echo_unformat_setup_vft (unformat_input_t *input, va_list *args)
 
static int quic_echo_process_opts_cb (unformat_input_t *a)
 
static void quic_echo_set_defaults_before_opts_cb ()
 
static void quic_echo_set_defaults_after_opts_cb ()
 
static void quic_echo_print_usage_cb ()
 
 ECHO_REGISTER_PROTO (TRANSPORT_PROTO_QUIC, quic_echo_proto_cb_vft)
 

Variables

quic_echo_proto_main_t quic_echo_proto_main
 
static const quic_echo_cb_vft_t default_cb_vft
 
static const quic_echo_cb_vft_t server_stream_cb_vft
 
echo_proto_cb_vft_t quic_echo_proto_cb_vft
 

Typedef Documentation

◆ quic_echo_cb_vft_t

typedef struct _quic_echo_cb_vft quic_echo_cb_vft_t

Function Documentation

◆ ECHO_REGISTER_PROTO()

ECHO_REGISTER_PROTO ( TRANSPORT_PROTO_QUIC  ,
quic_echo_proto_cb_vft   
)

◆ quic_echo_accepted_cb()

static void quic_echo_accepted_cb ( session_accepted_msg_t mp,
echo_session_t session 
)
static

Definition at line 338 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_cleanup_cb()

static void quic_echo_cleanup_cb ( echo_session_t s,
u8  parent_died 
)
static

Definition at line 202 of file vpp_echo_proto_quic.c.

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

◆ quic_echo_cleanup_listener()

static void quic_echo_cleanup_listener ( u32  listener_index,
echo_main_t em,
quic_echo_proto_main_t eqm 
)
inlinestatic

Definition at line 174 of file vpp_echo_proto_quic.c.

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

◆ quic_echo_connected_cb()

static void quic_echo_connected_cb ( session_connected_bundled_msg_t mp,
u32  session_index,
u8  is_failed 
)
static

Definition at line 325 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_disconnected_cb()

static void quic_echo_disconnected_cb ( session_disconnected_msg_t mp,
echo_session_t s 
)
static

Definition at line 405 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_initiate_qsession_close_no_stream()

static void quic_echo_initiate_qsession_close_no_stream ( echo_main_t em)
static

Definition at line 235 of file vpp_echo_proto_quic.c.

+ Here is the caller graph for this function:

◆ quic_echo_on_accept_connect()

static void quic_echo_on_accept_connect ( session_accepted_msg_t mp,
u32  session_index 
)
static

Definition at line 111 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_on_accept_error()

static void quic_echo_on_accept_error ( session_accepted_msg_t mp,
u32  session_index 
)
static

Definition at line 130 of file vpp_echo_proto_quic.c.

◆ quic_echo_on_accept_log_ip()

static void quic_echo_on_accept_log_ip ( session_accepted_msg_t mp,
u32  session_index 
)
static

Definition at line 138 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_on_accept_recv()

static void quic_echo_on_accept_recv ( session_accepted_msg_t mp,
u32  session_index 
)
static

Definition at line 97 of file vpp_echo_proto_quic.c.

◆ quic_echo_on_connected()

static void quic_echo_on_connected ( session_connected_msg_t mp,
u32  session_index 
)
static

Definition at line 268 of file vpp_echo_proto_quic.c.

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

◆ quic_echo_on_connected_connect()

static void quic_echo_on_connected_connect ( session_connected_msg_t mp,
u32  session_index 
)
static

Definition at line 52 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_on_connected_error()

static void quic_echo_on_connected_error ( session_connected_msg_t mp,
u32  session_index 
)
static

Definition at line 89 of file vpp_echo_proto_quic.c.

◆ quic_echo_on_connected_send()

static void quic_echo_on_connected_send ( session_connected_msg_t mp,
u32  session_index 
)
static

Definition at line 75 of file vpp_echo_proto_quic.c.

◆ quic_echo_print_usage_cb()

static void quic_echo_print_usage_cb ( )
static

Definition at line 506 of file vpp_echo_proto_quic.c.

◆ quic_echo_process_opts_cb()

static int quic_echo_process_opts_cb ( unformat_input_t a)
static

Definition at line 455 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_reset_cb()

static void quic_echo_reset_cb ( session_reset_msg_t mp,
echo_session_t s 
)
static

Definition at line 426 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_sent_disconnect_cb()

static void quic_echo_sent_disconnect_cb ( echo_session_t s)
static

Definition at line 396 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_set_defaults_after_opts_cb()

static void quic_echo_set_defaults_after_opts_cb ( )
static

Definition at line 482 of file vpp_echo_proto_quic.c.

◆ quic_echo_set_defaults_before_opts_cb()

static void quic_echo_set_defaults_before_opts_cb ( )
static

Definition at line 474 of file vpp_echo_proto_quic.c.

◆ quic_echo_unformat_setup_vft()

static uword quic_echo_unformat_setup_vft ( unformat_input_t input,
va_list *  args 
)
static

Definition at line 442 of file vpp_echo_proto_quic.c.

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

Variable Documentation

◆ default_cb_vft

const quic_echo_cb_vft_t default_cb_vft
static
Initial value:
= {
.quic_accepted_cb = quic_echo_on_accept_log_ip,
.quic_connected_cb = quic_echo_on_connected_connect,
.server_stream_accepted_cb = quic_echo_on_accept_recv,
.client_stream_connected_cb = quic_echo_on_connected_send,
.client_stream_accepted_cb = quic_echo_on_accept_error,
.server_stream_connected_cb = quic_echo_on_connected_error,
}
static void quic_echo_on_accept_error(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_connected_error(session_connected_msg_t *mp, u32 session_index)
static void quic_echo_on_connected_connect(session_connected_msg_t *mp, u32 session_index)
static void quic_echo_on_accept_log_ip(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_accept_recv(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_connected_send(session_connected_msg_t *mp, u32 session_index)

Definition at line 147 of file vpp_echo_proto_quic.c.

◆ quic_echo_proto_cb_vft

echo_proto_cb_vft_t quic_echo_proto_cb_vft
Initial value:
= {
.disconnected_cb = quic_echo_disconnected_cb,
.connected_cb = quic_echo_connected_cb,
.accepted_cb = quic_echo_accepted_cb,
.reset_cb = quic_echo_reset_cb,
.sent_disconnect_cb = quic_echo_sent_disconnect_cb,
.cleanup_cb = quic_echo_cleanup_cb,
.process_opts_cb = quic_echo_process_opts_cb,
.print_usage_cb = quic_echo_print_usage_cb,
.set_defaults_before_opts_cb = quic_echo_set_defaults_before_opts_cb,
.set_defaults_after_opts_cb = quic_echo_set_defaults_after_opts_cb,
}
static void quic_echo_set_defaults_after_opts_cb()
static void quic_echo_disconnected_cb(session_disconnected_msg_t *mp, echo_session_t *s)
static void quic_echo_connected_cb(session_connected_bundled_msg_t *mp, u32 session_index, u8 is_failed)
static void quic_echo_reset_cb(session_reset_msg_t *mp, echo_session_t *s)
static void quic_echo_accepted_cb(session_accepted_msg_t *mp, echo_session_t *session)
static void quic_echo_cleanup_cb(echo_session_t *s, u8 parent_died)
static void quic_echo_print_usage_cb()
static int quic_echo_process_opts_cb(unformat_input_t *a)
static void quic_echo_set_defaults_before_opts_cb()
static void quic_echo_sent_disconnect_cb(echo_session_t *s)

Definition at line 520 of file vpp_echo_proto_quic.c.

◆ quic_echo_proto_main

quic_echo_proto_main_t quic_echo_proto_main

Definition at line 43 of file vpp_echo_proto_quic.c.

◆ server_stream_cb_vft

const quic_echo_cb_vft_t server_stream_cb_vft
static
Initial value:
= {
.quic_accepted_cb = quic_echo_on_accept_connect,
.quic_connected_cb = NULL,
.server_stream_accepted_cb = quic_echo_on_accept_error,
.client_stream_connected_cb = quic_echo_on_connected_error,
.client_stream_accepted_cb = quic_echo_on_accept_recv,
.server_stream_connected_cb = quic_echo_on_connected_send,
}
static void quic_echo_on_accept_connect(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_accept_error(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_connected_error(session_connected_msg_t *mp, u32 session_index)
static void quic_echo_on_accept_recv(session_accepted_msg_t *mp, u32 session_index)
static void quic_echo_on_connected_send(session_connected_msg_t *mp, u32 session_index)

Definition at line 159 of file vpp_echo_proto_quic.c.