X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcl_private.h;h=59bb7621e7021ebcda908e9cf0da51631b1ae7a3;hb=4b47ee26cba610b26bbfc088736846541bee7be3;hp=21853ebdc9a6ae6329f4a8e6556824738de18c2a;hpb=da2305fb874a7cf6573267adb87166564e328396;p=vpp.git diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 21853ebdc9a..59bb7621e70 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -542,7 +542,8 @@ static inline u8 vcl_session_has_crypto (vcl_session_t *s) { return (s->session_type == VPPCOM_PROTO_TLS || - s->session_type == VPPCOM_PROTO_QUIC); + s->session_type == VPPCOM_PROTO_QUIC || + s->session_type == VPPCOM_PROTO_DTLS); } static inline u8 @@ -608,7 +609,7 @@ vcl_ip_copy_to_ep (ip46_address_t * ip, vppcom_endpt_t * ep, u8 is_ip4) static inline int vcl_proto_is_dgram (uint8_t proto) { - return proto == VPPCOM_PROTO_UDP; + return proto == VPPCOM_PROTO_UDP || proto == VPPCOM_PROTO_DTLS; } static inline u8