aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-04-15 08:50:00 -0700
committerDave Barach <openvpp@barachs.net>2021-04-15 17:12:10 +0000
commit7fdf8b2d5d125d17c38fd13f45b48dc5b2281af1 (patch)
treebf3ca79ef071dd75f223637696d77ad4d26a768c /src/vnet/session
parenta5dd6d78742a6ef396a4dc821dae5965b0e035b8 (diff)
tcp: support for rate sample attr flag
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I94b8063c9d8f9b811589c6815cb5c8ca6220f2b5
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/transport_types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index f0fc285510f..5f14701f110 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -220,9 +220,17 @@ typedef struct transport_endpoint_pair_
_ (GSO) \
_ (RATE_SAMPLING)
+typedef enum transport_endpt_attr_flag_bit_
+{
+#define _(name) TRANSPORT_ENDPT_ATTR_F_BIT_##name,
+ foreach_transport_endpt_cfg_flags
+#undef _
+} __clib_packed transport_endpt_attr_flag_bit_t;
+
typedef enum transport_endpt_attr_flag_
{
-#define _(name) TRANSPORT_ENDPT_ATTR_F_##name,
+#define _(name) \
+ TRANSPORT_ENDPT_ATTR_F_##name = 1 << TRANSPORT_ENDPT_ATTR_F_BIT_##name,
foreach_transport_endpt_cfg_flags
#undef _
} __clib_packed transport_endpt_attr_flag_t;