summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-02-10 11:57:06 -0800
committerFlorin Coras <florin.coras@gmail.com>2022-02-10 21:17:16 +0000
commit0bce71eee3f144b7ad15cd008ccc9e646d6663f4 (patch)
treed9f4798fd127d48cbf7bf9d5b17aaf5cd5473cd9 /src/plugins
parentefeea5b111db9075ffdab73191f6343f6872bfb2 (diff)
session: use transport endpoint cfg for listen
Makes it similar to connects. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I38c328670054e1a9ba4dc4ea8fe7519a5a09e8be
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/http/http.c2
-rw-r--r--src/plugins/quic/quic.c3
-rw-r--r--src/plugins/srtp/srtp.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c
index 657a0b54755..668aab0fa83 100644
--- a/src/plugins/http/http.c
+++ b/src/plugins/http/http.c
@@ -734,7 +734,7 @@ http_transport_connect (transport_endpoint_cfg_t *tep)
}
static u32
-http_start_listen (u32 app_listener_index, transport_endpoint_t *tep)
+http_start_listen (u32 app_listener_index, transport_endpoint_cfg_t *tep)
{
vnet_listen_args_t _args = {}, *args = &_args;
session_t *tc_listener, *app_listener;
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 499eb8bc776..a0bacb6237d 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -1441,7 +1441,8 @@ quic_proto_on_close (u32 ctx_index, u32 thread_index)
}
static u32
-quic_start_listen (u32 quic_listen_session_index, transport_endpoint_t * tep)
+quic_start_listen (u32 quic_listen_session_index,
+ transport_endpoint_cfg_t *tep)
{
vnet_listen_args_t _bargs, *args = &_bargs;
transport_endpt_crypto_cfg_t *ccfg;
diff --git a/src/plugins/srtp/srtp.c b/src/plugins/srtp/srtp.c
index cc4b59de569..715e2c9e77c 100644
--- a/src/plugins/srtp/srtp.c
+++ b/src/plugins/srtp/srtp.c
@@ -706,7 +706,7 @@ srtp_disconnect (u32 ctx_handle, u32 thread_index)
}
static u32
-srtp_start_listen (u32 app_listener_index, transport_endpoint_t *tep)
+srtp_start_listen (u32 app_listener_index, transport_endpoint_cfg_t *tep)
{
vnet_listen_args_t _bargs, *args = &_bargs;
session_handle_t udp_al_handle;