From d0236f725d31e5e5d23e5f207b1a317fcd96a964 Mon Sep 17 00:00:00 2001 From: Chenmin Sun Date: Mon, 27 Jul 2020 17:54:40 +0800 Subject: 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 Change-Id: Icb8ae20cab9bdad6b120dddc3bd4fb1d85634f3f --- src/vnet/ip/ip_types.api | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/vnet/ip/ip_types.api') diff --git a/src/vnet/ip/ip_types.api b/src/vnet/ip/ip_types.api index 72bd39e254c..8ea77334081 100644 --- a/src/vnet/ip/ip_types.api +++ b/src/vnet/ip/ip_types.api @@ -92,6 +92,18 @@ manual_print typedef prefix { u8 len; }; +typedef ip4_address_and_mask +{ + vl_api_ip4_address_t addr; + vl_api_ip4_address_t mask; +}; + +typedef ip6_address_and_mask +{ + vl_api_ip6_address_t addr; + vl_api_ip6_address_t mask; +}; + typedef mprefix { vl_api_address_family_t af; u16 grp_address_length; -- cgit 1.2.3-korg