summaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-08 01:55:39 +0000
committerFlorin Coras <fcoras@cisco.com>2020-04-08 22:24:41 +0000
commite759bb543c38a682dc31492a3a0a58669a811538 (patch)
treeb3fa09028b32fb3e50f60d2e6de0ccbaf29b35ad /src/vnet/udp/udp.h
parent8324c55f95dd5ddbf1f5f9c47907204a12e152ef (diff)
udp: cleanup input node
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ida9daefc20a161b36d6f36c56267123c7f2efc01
Diffstat (limited to 'src/vnet/udp/udp.h')
-rw-r--r--src/vnet/udp/udp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index b8ddbc2208d..0cb085b1d72 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -202,7 +202,7 @@ vnet_get_udp_main ()
}
always_inline udp_connection_t *
-udp_get_connection_from_transport (transport_connection_t * tc)
+udp_connection_from_transport (transport_connection_t * tc)
{
return ((udp_connection_t *) tc);
}
@@ -213,6 +213,7 @@ udp_connection_index (udp_connection_t * uc)
return (uc - udp_main.connections[uc->c_thread_index]);
}
+void udp_connection_free (udp_connection_t * uc);
udp_connection_t *udp_connection_alloc (u32 thread_index);
/**