summaryrefslogtreecommitdiffstats
path: root/src/vnet/vnet.h
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2020-07-27 17:54:40 +0800
committerDamjan Marion <dmarion@me.com>2020-08-25 12:13:43 +0000
commitd0236f725d31e5e5d23e5f207b1a317fcd96a964 (patch)
tree9ff39dfeb54be6cc17899c999bb6a210a2585060 /src/vnet/vnet.h
parent4fa3aad33fffadec7b7614dc68c8f1d3d9f311c9 (diff)
flow: add vnet/flow formal API
This patch adds the API for vnet/flow infra. Currently this API supports the below flow types: VNET_FLOW_TYPE_IP4_N_TUPLE VNET_FLOW_TYPE_IP6_N_TUPLE VNET_FLOW_TYPE_IP4_N_TUPLE_TAGGED VNET_FLOW_TYPE_IP6_N_TUPLE_TAGGED VNET_FLOW_TYPE_IP4_L2TPV3OIP VNET_FLOW_TYPE_IP4_IPSEC_ESP VNET_FLOW_TYPE_IP4_IPSEC_AH VNET_FLOW_TYPE_IP4_GTPU All the above flows are tested with Intel E810/X710 NIC Type: feature Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: Icb8ae20cab9bdad6b120dddc3bd4fb1d85634f3f
Diffstat (limited to 'src/vnet/vnet.h')
-rw-r--r--src/vnet/vnet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/vnet.h b/src/vnet/vnet.h
index 42f7333feb5..14da23f66ce 100644
--- a/src/vnet/vnet.h
+++ b/src/vnet/vnet.h
@@ -40,6 +40,8 @@
#ifndef included_vnet_vnet_h
#define included_vnet_vnet_h
+#include <stddef.h>
+
#include <vppinfra/types.h>
#include <vppinfra/pcap.h>