aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.api3
-rw-r--r--src/vnet/session/session_api.c4
-rw-r--r--src/vnet/session/transport_types.h1
3 files changed, 1 insertions, 7 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api
index f95abb92f78..b897ae020ed 100644
--- a/src/vnet/session/session.api
+++ b/src/vnet/session/session.api
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-option version = "3.0.0";
+option version = "3.1.0";
import "vnet/interface_types.api";
import "vnet/ip/ip_types.api";
@@ -25,7 +25,6 @@ enum transport_proto : u8
TRANSPORT_PROTO_API_UDP,
TRANSPORT_PROTO_API_NONE,
TRANSPORT_PROTO_API_TLS,
- TRANSPORT_PROTO_API_UDPC,
TRANSPORT_PROTO_API_QUIC,
};
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 43ecf2b07e9..39545375e62 100644
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -66,8 +66,6 @@ api_session_transport_proto_decode (const vl_api_transport_proto_t * api_tp)
return TRANSPORT_PROTO_UDP;
case TRANSPORT_PROTO_API_TLS:
return TRANSPORT_PROTO_TLS;
- case TRANSPORT_PROTO_API_UDPC:
- return TRANSPORT_PROTO_UDPC;
case TRANSPORT_PROTO_API_QUIC:
return TRANSPORT_PROTO_QUIC;
default:
@@ -86,8 +84,6 @@ api_session_transport_proto_encode (const transport_proto_t tp)
return TRANSPORT_PROTO_API_UDP;
case TRANSPORT_PROTO_TLS:
return TRANSPORT_PROTO_API_TLS;
- case TRANSPORT_PROTO_UDPC:
- return TRANSPORT_PROTO_API_UDPC;
case TRANSPORT_PROTO_QUIC:
return TRANSPORT_PROTO_API_QUIC;
default:
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index e065ed1fa59..2c4863a4812 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -159,7 +159,6 @@ STATIC_ASSERT (sizeof (transport_connection_t) <= 128,
_(UDP, "udp", "U") \
_(NONE, "ct", "C") \
_(TLS, "tls", "J") \
- _(UDPC, "udpc", "U") \
_(QUIC, "quic", "Q") \
typedef enum _transport_proto