summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-03-13 04:44:51 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-03-25 18:56:27 +0000
commit07063b8ea39b05d5d7bb00ad2a2363b11792c571 (patch)
tree2df1cd5b5df869c729f534f093dea664eb059f3a /src/vcl
parent4e783b9c901cf90e58c3f921bb17170ab23e540a (diff)
session: api to add new transport types
Type: feature Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If4dee6dba1ea942daa921d566b35cdecdda680ee
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vppcom.c4
-rw-r--r--src/vcl/vppcom.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 46cea2a1884..c509f93557c 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1530,10 +1530,6 @@ vppcom_unformat_proto (uint8_t * proto, char *proto_str)
*proto = VPPCOM_PROTO_UDPC;
else if (!strcmp (proto_str, "udpc"))
*proto = VPPCOM_PROTO_UDPC;
- else if (!strcmp (proto_str, "SCTP"))
- *proto = VPPCOM_PROTO_SCTP;
- else if (!strcmp (proto_str, "sctp"))
- *proto = VPPCOM_PROTO_SCTP;
else if (!strcmp (proto_str, "TLS"))
*proto = VPPCOM_PROTO_TLS;
else if (!strcmp (proto_str, "tls"))
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 62613037575..d2a5a103f8d 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -49,7 +49,6 @@ typedef enum
{
VPPCOM_PROTO_TCP = 0,
VPPCOM_PROTO_UDP,
- VPPCOM_PROTO_SCTP,
VPPCOM_PROTO_NONE,
VPPCOM_PROTO_TLS,
VPPCOM_PROTO_UDPC,
@@ -69,9 +68,6 @@ vppcom_proto_str (vppcom_proto_t proto)
case VPPCOM_PROTO_UDP:
proto_str = "UDP";
break;
- case VPPCOM_PROTO_SCTP:
- proto_str = "SCTP";
- break;
case VPPCOM_PROTO_TLS:
proto_str = "TLS";
break;