FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ad-flow.h File Reference
+ Include dependency graph for ad-flow.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  srv6_ad_flow_entry_t
 
struct  srv6_ad_flow_localsid_t
 
struct  srv6_ad_flow_main_t
 
struct  srv6_ad_is_idle_entry_ctx_t
 

Macros

#define AD_TYPE_IP4   IP_PROTOCOL_IP_IN_IP
 
#define AD_TYPE_IP6   IP_PROTOCOL_IPV6
 
#define SRV6_AD_FLOW_DEFAULT_CACHE_SIZE   100
 
#define SRV6_AD_CACHE_TIMEOUT   300
 

Functions

void srv6_ad_flow_dpo_lock (dpo_id_t *dpo)
 
void srv6_ad_flow_dpo_unlock (dpo_id_t *dpo)
 

Variables

srv6_ad_flow_main_t srv6_ad_flow_main
 
format_function_t format_srv6_ad_flow_localsid
 
unformat_function_t unformat_srv6_ad_flow_localsid
 
vlib_node_registration_t srv6_ad_flow_localsid_node
 (constructor) VLIB_REGISTER_NODE (srv6_ad_flow_localsid_node) More...
 

Macro Definition Documentation

◆ AD_TYPE_IP4

#define AD_TYPE_IP4   IP_PROTOCOL_IP_IN_IP

Definition at line 29 of file ad-flow.h.

◆ AD_TYPE_IP6

#define AD_TYPE_IP6   IP_PROTOCOL_IPV6

Definition at line 30 of file ad-flow.h.

◆ SRV6_AD_CACHE_TIMEOUT

#define SRV6_AD_CACHE_TIMEOUT   300

Definition at line 33 of file ad-flow.h.

◆ SRV6_AD_FLOW_DEFAULT_CACHE_SIZE

#define SRV6_AD_FLOW_DEFAULT_CACHE_SIZE   100

Definition at line 32 of file ad-flow.h.

Function Documentation

◆ srv6_ad_flow_dpo_lock()

void srv6_ad_flow_dpo_lock ( dpo_id_t dpo)

Definition at line 397 of file ad-flow.c.

◆ srv6_ad_flow_dpo_unlock()

void srv6_ad_flow_dpo_unlock ( dpo_id_t dpo)

Definition at line 402 of file ad-flow.c.

Variable Documentation

◆ format_srv6_ad_flow_localsid

format_function_t format_srv6_ad_flow_localsid

Definition at line 125 of file ad-flow.h.

◆ srv6_ad_flow_localsid_node

vlib_node_registration_t srv6_ad_flow_localsid_node

(constructor) VLIB_REGISTER_NODE (srv6_ad_flow_localsid_node)

Definition at line 658 of file node.c.

◆ srv6_ad_flow_main

srv6_ad_flow_main_t srv6_ad_flow_main

Definition at line 41 of file ad-flow.c.

◆ unformat_srv6_ad_flow_localsid

unformat_function_t unformat_srv6_ad_flow_localsid

Definition at line 126 of file ad-flow.h.