FD.io VPP  v19.08.3-2-gbabecb413
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_retry_connect (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_disconnected_reply_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 325 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 187 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 164 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 315 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 376 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_disconnected_reply_cb()

static void quic_echo_disconnected_reply_cb ( echo_session_t s)
static

Definition at line 367 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 216 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 106 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 120 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 128 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 92 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 248 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 84 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 70 of file vpp_echo_proto_quic.c.

◆ quic_echo_print_usage_cb()

static void quic_echo_print_usage_cb ( )
static

Definition at line 473 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 426 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 397 of file vpp_echo_proto_quic.c.

+ Here is the call graph for this function:

◆ quic_echo_retry_connect()

static void quic_echo_retry_connect ( u32  session_index)
static

Definition at line 293 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_set_defaults_after_opts_cb()

static void quic_echo_set_defaults_after_opts_cb ( )
static

Definition at line 451 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 443 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 413 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 137 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,
.disconnected_reply_cb = quic_echo_disconnected_reply_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_disconnected_reply_cb(echo_session_t *s)
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()

Definition at line 486 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 149 of file vpp_echo_proto_quic.c.