diff options
author | Florin Coras <fcoras@cisco.com> | 2020-05-15 21:23:58 +0000 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2020-05-15 21:36:33 +0000 |
commit | 3ca663e743dda703e76d8493a0c5cf13d7004c63 (patch) | |
tree | b265369a451a3196e6beb281ec64c66c4f4cb28c /src | |
parent | 8bf80a3ddae7733925a757cb1710e25776eea01c (diff) |
vcl: remove udpc transport
Type: refactor
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I145ff3301f168973c4f7f32c337bbcac47900705
Diffstat (limited to 'src')
-rw-r--r-- | src/vcl/vppcom.c | 4 | ||||
-rw-r--r-- | src/vcl/vppcom.h | 6 |
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 |