summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-05-15 21:23:58 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-05-18 16:44:16 +0000
commit0762fbc46e2626e196c5b9213976996e78afaacb (patch)
tree8353864e9e6a29737b5c80195881dc7111c96bd8 /src/vcl
parentb5898d2f77a0451c506b10a3a4885e974ef418a1 (diff)
vcl: remove udpc transport
Type: refactor Ticket: VPP-1875 Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I145ff3301f168973c4f7f32c337bbcac47900705 (cherry picked from commit 3ca663e743dda703e76d8493a0c5cf13d7004c63)
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vppcom.c4
-rw-r--r--src/vcl/vppcom.h6
2 files changed, 1 insertions, 9 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 4fc8bfce581..173b7fdd556 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1556,10 +1556,6 @@ vppcom_unformat_proto (uint8_t * proto, char *proto_str)
*proto = VPPCOM_PROTO_UDP;
else if (!strcmp (proto_str, "udp"))
*proto = VPPCOM_PROTO_UDP;
- else if (!strcmp (proto_str, "UDPC"))
- *proto = VPPCOM_PROTO_UDPC;
- else if (!strcmp (proto_str, "udpc"))
- *proto = VPPCOM_PROTO_UDPC;
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 902e9ea5d47..e2e0ae7d4bf 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -51,7 +51,6 @@ typedef enum
VPPCOM_PROTO_UDP,
VPPCOM_PROTO_NONE,
VPPCOM_PROTO_TLS,
- VPPCOM_PROTO_UDPC,
VPPCOM_PROTO_QUIC,
} vppcom_proto_t;
@@ -71,9 +70,6 @@ vppcom_proto_str (vppcom_proto_t proto)
case VPPCOM_PROTO_TLS:
proto_str = "TLS";
break;
- case VPPCOM_PROTO_UDPC:
- proto_str = "UDPC";
- break;
case VPPCOM_PROTO_QUIC:
proto_str = "QUIC";
break;
@@ -87,7 +83,7 @@ vppcom_proto_str (vppcom_proto_t proto)
static inline int
vcl_proto_is_dgram (uint8_t proto)
{
- return proto == VPPCOM_PROTO_UDP || proto == VPPCOM_PROTO_UDPC;
+ return proto == VPPCOM_PROTO_UDP;
}
typedef enum