FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
vpp_echo_proto_tcp.c File Reference
+ Include dependency graph for vpp_echo_proto_tcp.c:

Go to the source code of this file.

Functions

static void tcp_echo_cleanup_cb (echo_session_t *s, u8 parent_died)
 
static void tcp_echo_connected_cb (session_connected_bundled_msg_t *mp, u32 session_index, u8 is_failed)
 
static void tcp_echo_accepted_cb (session_accepted_msg_t *mp, echo_session_t *session)
 
static void tcp_echo_disconnected_reply_cb (echo_session_t *s)
 
static void tcp_echo_disconnected_cb (session_disconnected_msg_t *mp, echo_session_t *s)
 
static void tcp_echo_reset_cb (session_reset_msg_t *mp, echo_session_t *s)
 
 ECHO_REGISTER_PROTO (TRANSPORT_PROTO_TCP, echo_tcp_proto_cb_vft)
 
 ECHO_REGISTER_PROTO (TRANSPORT_PROTO_TLS, echo_tcp_proto_cb_vft)
 
 ECHO_REGISTER_PROTO (TRANSPORT_PROTO_SCTP, echo_tcp_proto_cb_vft)
 

Variables

echo_proto_cb_vft_t echo_tcp_proto_cb_vft
 

Function Documentation

◆ ECHO_REGISTER_PROTO() [1/3]

ECHO_REGISTER_PROTO ( TRANSPORT_PROTO_TCP  ,
echo_tcp_proto_cb_vft   
)

◆ ECHO_REGISTER_PROTO() [2/3]

ECHO_REGISTER_PROTO ( TRANSPORT_PROTO_TLS  ,
echo_tcp_proto_cb_vft   
)

◆ ECHO_REGISTER_PROTO() [3/3]

ECHO_REGISTER_PROTO ( TRANSPORT_PROTO_SCTP  ,
echo_tcp_proto_cb_vft   
)

◆ tcp_echo_accepted_cb()

static void tcp_echo_accepted_cb ( session_accepted_msg_t mp,
echo_session_t session 
)
static

Definition at line 74 of file vpp_echo_proto_tcp.c.

+ Here is the call graph for this function:

◆ tcp_echo_cleanup_cb()

static void tcp_echo_cleanup_cb ( echo_session_t s,
u8  parent_died 
)
static

Definition at line 22 of file vpp_echo_proto_tcp.c.

◆ tcp_echo_connected_cb()

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

Definition at line 43 of file vpp_echo_proto_tcp.c.

+ Here is the call graph for this function:

◆ tcp_echo_disconnected_cb()

static void tcp_echo_disconnected_cb ( session_disconnected_msg_t mp,
echo_session_t s 
)
static

Definition at line 106 of file vpp_echo_proto_tcp.c.

+ Here is the call graph for this function:

◆ tcp_echo_disconnected_reply_cb()

static void tcp_echo_disconnected_reply_cb ( echo_session_t s)
static

Definition at line 100 of file vpp_echo_proto_tcp.c.

◆ tcp_echo_reset_cb()

static void tcp_echo_reset_cb ( session_reset_msg_t mp,
echo_session_t s 
)
static

Definition at line 118 of file vpp_echo_proto_tcp.c.

Variable Documentation

◆ echo_tcp_proto_cb_vft

echo_proto_cb_vft_t echo_tcp_proto_cb_vft
Initial value:
= {
.disconnected_cb = tcp_echo_disconnected_cb,
.connected_cb = tcp_echo_connected_cb,
.accepted_cb = tcp_echo_accepted_cb,
.reset_cb = tcp_echo_reset_cb,
.disconnected_reply_cb = tcp_echo_disconnected_reply_cb,
.cleanup_cb = tcp_echo_cleanup_cb,
}
static void tcp_echo_reset_cb(session_reset_msg_t *mp, echo_session_t *s)
static void tcp_echo_disconnected_cb(session_disconnected_msg_t *mp, echo_session_t *s)
static void tcp_echo_cleanup_cb(echo_session_t *s, u8 parent_died)
static void tcp_echo_connected_cb(session_connected_bundled_msg_t *mp, u32 session_index, u8 is_failed)
static void tcp_echo_disconnected_reply_cb(echo_session_t *s)
static void tcp_echo_accepted_cb(session_accepted_msg_t *mp, echo_session_t *session)

Definition at line 125 of file vpp_echo_proto_tcp.c.