diff options
author | Chenmin Sun <chenmin.sun@intel.com> | 2020-07-27 17:54:40 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-08-25 12:13:43 +0000 |
commit | d0236f725d31e5e5d23e5f207b1a317fcd96a964 (patch) | |
tree | 9ff39dfeb54be6cc17899c999bb6a210a2585060 /src/vnet/ip | |
parent | 4fa3aad33fffadec7b7614dc68c8f1d3d9f311c9 (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/ip')
-rw-r--r-- | src/vnet/ip/ip_types.api | 12 |
1 files changed, 12 insertions, 0 deletions
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; |