udp: node counter for connected sessions
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I4c0c1b27adb3e3ea3c3ff6353b068447db19fa85
This commit is contained in:
Florin Coras
committed by
Florin Coras
parent
05f7137389
commit
6126ec9c53
@ -28,3 +28,4 @@ udp_error (CREATE_SESSION, create_session, ERROR, "Failed to create session")
|
||||
udp_error (MQ_FULL, mq_full, ERROR, "Application msg queue full")
|
||||
udp_error (INVALID_CONNECTION, invalid_connection, ERROR, "Invalid connection")
|
||||
udp_error (PKTS_SENT, pkts_sent, INFO, "Packets sent")
|
||||
udp_error (CONNECTED, connected, INFO, "Connected session")
|
||||
|
@ -272,6 +272,7 @@ udp46_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
|
||||
uc0->sw_if_index = vnet_buffer (b[0])->sw_if_index[VLIB_RX];
|
||||
if (uc0->flags & UDP_CONN_F_CONNECTED)
|
||||
{
|
||||
error0 = UDP_ERROR_CONNECTED;
|
||||
if (s0->thread_index != thread_index)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user