diff options
author | Florin Coras <fcoras@cisco.com> | 2021-01-06 17:35:17 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2021-05-25 21:18:54 +0000 |
commit | 6621abf49aec6d764e654316ff75274c75d4c1a1 (patch) | |
tree | 918ce456d904d3cf192e8f79ba6b8c6609f7129d /src/vnet | |
parent | 6bb77dec7074e6b7b27d6bc94238bcddda375a66 (diff) |
srtp: basic implementation based on libsrtp2
Type: feature
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic5e99938a5f130e83de6d590d2f89252d055bceb
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/session/session.c | 2 | ||||
-rw-r--r-- | src/vnet/session/transport_types.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index e82c1d662e2..56a1fd71f5a 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -1966,7 +1966,7 @@ session_main_init (vlib_main_t * vm) smm->evt_qs_segment_size = 1 << 20; #endif - smm->last_transport_proto_type = TRANSPORT_PROTO_DTLS; + smm->last_transport_proto_type = TRANSPORT_PROTO_SRTP; return 0; } diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h index 75fd1b8993b..9fabac5deaa 100644 --- a/src/vnet/session/transport_types.h +++ b/src/vnet/session/transport_types.h @@ -163,7 +163,8 @@ STATIC_ASSERT (sizeof (transport_connection_t) <= 128, _ (NONE, "ct", "C") \ _ (TLS, "tls", "J") \ _ (QUIC, "quic", "Q") \ - _ (DTLS, "dtls", "D") + _ (DTLS, "dtls", "D") \ + _ (SRTP, "srtp", "R") typedef enum _transport_proto { |