FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
flow_types.api File Reference

Go to the source code of this file.

Data Structures

union  flow
 

Enumerations

enum  flow_type {
  FLOW_TYPE_ETHERNET = 1, FLOW_TYPE_IP4, FLOW_TYPE_IP6, FLOW_TYPE_IP4_L2TPV3OIP,
  FLOW_TYPE_IP4_IPSEC_ESP, FLOW_TYPE_IP4_IPSEC_AH, FLOW_TYPE_IP4_N_TUPLE, FLOW_TYPE_IP6_N_TUPLE,
  FLOW_TYPE_IP4_N_TUPLE_TAGGED, FLOW_TYPE_IP6_N_TUPLE_TAGGED, FLOW_TYPE_IP4_VXLAN, FLOW_TYPE_IP6_VXLAN,
  FLOW_TYPE_IP4_GTPC, FLOW_TYPE_IP4_GTPU
}
 
enum  flow_action {
  FLOW_ACTION_COUNT = 1, FLOW_ACTION_MARK = 2, FLOW_ACTION_BUFFER_ADVANCE = 4, FLOW_ACTION_REDIRECT_TO_NODE = 8,
  FLOW_ACTION_REDIRECT_TO_QUEUE = 16, FLOW_ACTION_DROP = 64
}
 

Variables

option version = "0.0.3"
 
import vnet ethernet ethernet_types api
 
typedef ip_port_and_mask
 
u16 mask
 
typedef ip_prot_and_mask
 
typedef flow_ethernet
 
vl_api_mac_address_t src_addr
 
vl_api_mac_address_t dst_addr
 
u16 type
 
typedef flow_ip4
 
vl_api_ip_prot_and_mask_t protocol
 
typedef flow_ip6
 
typedef flow_ip4_n_tuple
 
vl_api_ip_port_and_mask_t src_port
 
vl_api_ip_port_and_mask_t dst_port
 
typedef flow_ip6_n_tuple
 
typedef flow_ip4_n_tuple_tagged
 
typedef flow_ip6_n_tuple_tagged
 
typedef flow_ip4_l2tpv3oip
 
u32 session_id
 
typedef flow_ip4_ipsec_esp
 
u32 spi
 
typedef flow_ip4_ipsec_ah
 
typedef flow_ip4_vxlan
 
u32 vni
 
typedef flow_ip6_vxlan
 
typedef flow_ip4_gtpc
 
u32 teid
 
typedef flow_ip4_gtpu
 
typedef flow_rule
 
u32 index
 
vl_api_flow_action_t actions
 
u32 mark_flow_id
 
u32 redirect_node_index
 
u32 redirect_device_input_next_index
 
u32 redirect_queue
 
i32 buffer_advance
 
vl_api_flow_t flow
 

Enumeration Type Documentation

◆ flow_action

Enumerator
FLOW_ACTION_COUNT 
FLOW_ACTION_MARK 
FLOW_ACTION_BUFFER_ADVANCE 
FLOW_ACTION_REDIRECT_TO_NODE 
FLOW_ACTION_REDIRECT_TO_QUEUE 
FLOW_ACTION_DROP 

Definition at line 39 of file flow_types.api.

◆ flow_type

enum flow_type
Enumerator
FLOW_TYPE_ETHERNET 
FLOW_TYPE_IP4 
FLOW_TYPE_IP6 
FLOW_TYPE_IP4_L2TPV3OIP 
FLOW_TYPE_IP4_IPSEC_ESP 
FLOW_TYPE_IP4_IPSEC_AH 
FLOW_TYPE_IP4_N_TUPLE 
FLOW_TYPE_IP6_N_TUPLE 
FLOW_TYPE_IP4_N_TUPLE_TAGGED 
FLOW_TYPE_IP6_N_TUPLE_TAGGED 
FLOW_TYPE_IP4_VXLAN 
FLOW_TYPE_IP6_VXLAN 
FLOW_TYPE_IP4_GTPC 
FLOW_TYPE_IP4_GTPU 

Definition at line 21 of file flow_types.api.

Variable Documentation

◆ actions

vl_api_flow_action_t actions

Definition at line 224 of file flow_types.api.

◆ api

import vnet ip ip_types api

Definition at line 18 of file flow_types.api.

◆ buffer_advance

i32 buffer_advance

Definition at line 237 of file flow_types.api.

◆ dst_addr

vl_api_ip4_address_and_mask_t dst_addr

Definition at line 65 of file flow_types.api.

◆ dst_port

vl_api_ip_port_and_mask_t dst_port

Definition at line 92 of file flow_types.api.

◆ flow

vl_api_flow_t flow

Definition at line 240 of file flow_types.api.

◆ flow_ethernet

typedef flow_ethernet
Initial value:
{
i32 foo

Definition at line 62 of file flow_types.api.

◆ flow_ip4

typedef flow_ip4
Initial value:
{
i32 foo

Definition at line 70 of file flow_types.api.

◆ flow_ip4_gtpc

typedef flow_ip4_gtpc
Initial value:
{
i32 foo

Definition at line 175 of file flow_types.api.

◆ flow_ip4_gtpu

typedef flow_ip4_gtpu
Initial value:
{
i32 foo

Definition at line 186 of file flow_types.api.

◆ flow_ip4_ipsec_ah

typedef flow_ip4_ipsec_ah
Initial value:
{
i32 foo

Definition at line 144 of file flow_types.api.

◆ flow_ip4_ipsec_esp

typedef flow_ip4_ipsec_esp
Initial value:
{
i32 foo

Definition at line 135 of file flow_types.api.

◆ flow_ip4_l2tpv3oip

typedef flow_ip4_l2tpv3oip
Initial value:
{
i32 foo

Definition at line 126 of file flow_types.api.

◆ flow_ip4_n_tuple

typedef flow_ip4_n_tuple
Initial value:
{
i32 foo

Definition at line 86 of file flow_types.api.

◆ flow_ip4_n_tuple_tagged

typedef flow_ip4_n_tuple_tagged
Initial value:
{
i32 foo

Definition at line 106 of file flow_types.api.

◆ flow_ip4_vxlan

typedef flow_ip4_vxlan
Initial value:
{
i32 foo

Definition at line 153 of file flow_types.api.

◆ flow_ip6

typedef flow_ip6
Initial value:
{
i32 foo

Definition at line 78 of file flow_types.api.

◆ flow_ip6_n_tuple

typedef flow_ip6_n_tuple
Initial value:
{
i32 foo

Definition at line 96 of file flow_types.api.

◆ flow_ip6_n_tuple_tagged

typedef flow_ip6_n_tuple_tagged
Initial value:
{
i32 foo

Definition at line 116 of file flow_types.api.

◆ flow_ip6_vxlan

typedef flow_ip6_vxlan
Initial value:
{
i32 foo

Definition at line 164 of file flow_types.api.

◆ flow_rule

typedef flow_rule
Initial value:
{
vl_api_flow_type_t type

Definition at line 216 of file flow_types.api.

◆ index

Definition at line 221 of file flow_types.api.

◆ ip_port_and_mask

typedef ip_port_and_mask
Initial value:

Definition at line 50 of file flow_types.api.

◆ ip_prot_and_mask

typedef ip_prot_and_mask
Initial value:
{
vl_api_ip_proto_t prot

Definition at line 56 of file flow_types.api.

◆ mark_flow_id

u32 mark_flow_id

Definition at line 227 of file flow_types.api.

◆ mask

u8 mask

Definition at line 52 of file flow_types.api.

◆ protocol

vl_api_ip_prot_and_mask_t protocol

Definition at line 74 of file flow_types.api.

◆ redirect_device_input_next_index

u32 redirect_device_input_next_index

Definition at line 231 of file flow_types.api.

◆ redirect_node_index

u32 redirect_node_index

Definition at line 230 of file flow_types.api.

◆ redirect_queue

u32 redirect_queue

Definition at line 234 of file flow_types.api.

◆ session_id

u32 session_id

Definition at line 131 of file flow_types.api.

◆ spi

u32 spi

Definition at line 140 of file flow_types.api.

◆ src_addr

vl_api_ip4_address_and_mask_t src_addr

Definition at line 64 of file flow_types.api.

◆ src_port

vl_api_ip_port_and_mask_t src_port

Definition at line 91 of file flow_types.api.

◆ teid

u32 teid

Definition at line 182 of file flow_types.api.

◆ type

u16 type

Definition at line 66 of file flow_types.api.

◆ version

option version = "0.0.3"

Definition at line 17 of file flow_types.api.

◆ vni

u32 vni

Definition at line 160 of file flow_types.api.

u16
unsigned short u16
Definition: types.h:57
port
u16 port
Definition: lb_types.api:73
i32
signed int i32
Definition: types.h:77
type
u16 type
Definition: flow_types.api:66