FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
flow_api.c File Reference
+ Include dependency graph for flow_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   flow_main.msg_id_base
 

Functions

static void ipv4_addr_and_mask_convert (vl_api_ip4_address_and_mask_t *vl_api_addr, ip4_address_and_mask_t *vnet_addr)
 
static void ipv6_addr_and_mask_convert (vl_api_ip6_address_and_mask_t *vl_api_addr, ip6_address_and_mask_t *vnet_addr)
 
static void protocol_and_mask_convert (vl_api_ip_prot_and_mask_t *vl_api_protocol, ip_prot_and_mask_t *vnet_protocol)
 
static void port_and_mask_convert (vl_api_ip_port_and_mask_t *vl_api_port, ip_port_and_mask_t *vnet_port)
 
static void ipv4_flow_convert (vl_api_flow_ip4_t *vl_api_flow, vnet_flow_ip4_t *f)
 
static void ipv6_flow_convert (vl_api_flow_ip6_t *vl_api_flow, vnet_flow_ip6_t *f)
 
static void ipv4_n_tuple_flow_convert (vl_api_flow_ip4_n_tuple_t *vl_api_flow, vnet_flow_ip4_n_tuple_t *f)
 
static void ipv6_n_tuple_flow_convert (vl_api_flow_ip6_n_tuple_t *vl_api_flow, vnet_flow_ip6_n_tuple_t *f)
 
static void ipv4_n_tuple_tagged_flow_convert (vl_api_flow_ip4_n_tuple_tagged_t *vl_api_flow, vnet_flow_ip4_n_tuple_tagged_t *f)
 
static void ipv6_n_tuple_tagged_flow_convert (vl_api_flow_ip6_n_tuple_tagged_t *vl_api_flow, vnet_flow_ip6_n_tuple_tagged_t *f)
 
static void ipv4_l2tpv3oip_flow_convert (vl_api_flow_ip4_l2tpv3oip_t *vl_api_flow, vnet_flow_ip4_l2tpv3oip_t *f)
 
static void ipv4_ipsec_esp_flow_convert (vl_api_flow_ip4_ipsec_esp_t *vl_api_flow, vnet_flow_ip4_ipsec_esp_t *f)
 
static void ipv4_ipsec_ah_flow_convert (vl_api_flow_ip4_ipsec_ah_t *vl_api_flow, vnet_flow_ip4_ipsec_ah_t *f)
 
static void ipv4_vxlan_flow_convert (vl_api_flow_ip4_vxlan_t *vl_api_flow, vnet_flow_ip4_vxlan_t *f)
 
static void ipv6_vxlan_flow_convert (vl_api_flow_ip6_vxlan_t *vl_api_flow, vnet_flow_ip6_vxlan_t *f)
 
static void ipv4_gtpu_flow_convert (vl_api_flow_ip4_gtpu_t *vl_api_flow, vnet_flow_ip4_gtpu_t *f)
 
static void ipv4_gtpc_flow_convert (vl_api_flow_ip4_gtpc_t *vl_api_flow, vnet_flow_ip4_gtpc_t *f)
 
static void vl_api_flow_add_t_handler (vl_api_flow_add_t *mp)
 
static void vl_api_flow_del_t_handler (vl_api_flow_del_t *mp)
 
static void vl_api_flow_enable_t_handler (vl_api_flow_enable_t *mp)
 
static void vl_api_flow_disable_t_handler (vl_api_flow_disable_t *mp)
 
static clib_error_thw_flow_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (hw_flow_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   flow_main.msg_id_base

Definition at line 36 of file flow_api.c.

Function Documentation

◆ hw_flow_api_hookup()

static clib_error_t* hw_flow_api_hookup ( vlib_main_t vm)
static

Definition at line 340 of file flow_api.c.

+ Here is the call graph for this function:

◆ ipv4_addr_and_mask_convert()

static void ipv4_addr_and_mask_convert ( vl_api_ip4_address_and_mask_t *  vl_api_addr,
ip4_address_and_mask_t vnet_addr 
)
inlinestatic

Definition at line 40 of file flow_api.c.

+ Here is the caller graph for this function:

◆ ipv4_flow_convert()

static void ipv4_flow_convert ( vl_api_flow_ip4_t *  vl_api_flow,
vnet_flow_ip4_t *  f 
)
inlinestatic

Definition at line 70 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_gtpc_flow_convert()

static void ipv4_gtpc_flow_convert ( vl_api_flow_ip4_gtpc_t *  vl_api_flow,
vnet_flow_ip4_gtpc_t *  f 
)
inlinestatic

Definition at line 205 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_gtpu_flow_convert()

static void ipv4_gtpu_flow_convert ( vl_api_flow_ip4_gtpu_t *  vl_api_flow,
vnet_flow_ip4_gtpu_t *  f 
)
inlinestatic

Definition at line 191 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_ipsec_ah_flow_convert()

static void ipv4_ipsec_ah_flow_convert ( vl_api_flow_ip4_ipsec_ah_t *  vl_api_flow,
vnet_flow_ip4_ipsec_ah_t *  f 
)
inlinestatic

Definition at line 152 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_ipsec_esp_flow_convert()

static void ipv4_ipsec_esp_flow_convert ( vl_api_flow_ip4_ipsec_esp_t *  vl_api_flow,
vnet_flow_ip4_ipsec_esp_t *  f 
)
inlinestatic

Definition at line 141 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_l2tpv3oip_flow_convert()

static void ipv4_l2tpv3oip_flow_convert ( vl_api_flow_ip4_l2tpv3oip_t *  vl_api_flow,
vnet_flow_ip4_l2tpv3oip_t *  f 
)
inlinestatic

Definition at line 130 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_n_tuple_flow_convert()

static void ipv4_n_tuple_flow_convert ( vl_api_flow_ip4_n_tuple_t *  vl_api_flow,
vnet_flow_ip4_n_tuple_t *  f 
)
inlinestatic

Definition at line 88 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_n_tuple_tagged_flow_convert()

static void ipv4_n_tuple_tagged_flow_convert ( vl_api_flow_ip4_n_tuple_tagged_t *  vl_api_flow,
vnet_flow_ip4_n_tuple_tagged_t *  f 
)
inlinestatic

Definition at line 112 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_vxlan_flow_convert()

static void ipv4_vxlan_flow_convert ( vl_api_flow_ip4_vxlan_t *  vl_api_flow,
vnet_flow_ip4_vxlan_t *  f 
)
inlinestatic

Definition at line 163 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv6_addr_and_mask_convert()

static void ipv6_addr_and_mask_convert ( vl_api_ip6_address_and_mask_t *  vl_api_addr,
ip6_address_and_mask_t vnet_addr 
)
inlinestatic

Definition at line 47 of file flow_api.c.

+ Here is the caller graph for this function:

◆ ipv6_flow_convert()

static void ipv6_flow_convert ( vl_api_flow_ip6_t *  vl_api_flow,
vnet_flow_ip6_t *  f 
)
static

Definition at line 79 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv6_n_tuple_flow_convert()

static void ipv6_n_tuple_flow_convert ( vl_api_flow_ip6_n_tuple_t *  vl_api_flow,
vnet_flow_ip6_n_tuple_t *  f 
)
static

Definition at line 100 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv6_n_tuple_tagged_flow_convert()

static void ipv6_n_tuple_tagged_flow_convert ( vl_api_flow_ip6_n_tuple_tagged_t *  vl_api_flow,
vnet_flow_ip6_n_tuple_tagged_t *  f 
)
inlinestatic

Definition at line 121 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv6_vxlan_flow_convert()

static void ipv6_vxlan_flow_convert ( vl_api_flow_ip6_vxlan_t *  vl_api_flow,
vnet_flow_ip6_vxlan_t *  f 
)
inlinestatic

Definition at line 177 of file flow_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ port_and_mask_convert()

static void port_and_mask_convert ( vl_api_ip_port_and_mask_t *  vl_api_port,
ip_port_and_mask_t vnet_port 
)
inlinestatic

Definition at line 62 of file flow_api.c.

+ Here is the caller graph for this function:

◆ protocol_and_mask_convert()

static void protocol_and_mask_convert ( vl_api_ip_prot_and_mask_t *  vl_api_protocol,
ip_prot_and_mask_t vnet_protocol 
)
inlinestatic

Definition at line 54 of file flow_api.c.

+ Here is the caller graph for this function:

◆ vl_api_flow_add_t_handler()

static void vl_api_flow_add_t_handler ( vl_api_flow_add_t mp)
static

Definition at line 219 of file flow_api.c.

+ Here is the call graph for this function:

◆ vl_api_flow_del_t_handler()

static void vl_api_flow_del_t_handler ( vl_api_flow_del_t mp)
static

Definition at line 301 of file flow_api.c.

+ Here is the call graph for this function:

◆ vl_api_flow_disable_t_handler()

static void vl_api_flow_disable_t_handler ( vl_api_flow_disable_t mp)
static

Definition at line 326 of file flow_api.c.

+ Here is the call graph for this function:

◆ vl_api_flow_enable_t_handler()

static void vl_api_flow_enable_t_handler ( vl_api_flow_enable_t mp)
static

Definition at line 313 of file flow_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( hw_flow_api_hookup  )