15 #ifndef __included_srv6_ad_flow_h__ 16 #define __included_srv6_ad_flow_h__ 29 #define AD_TYPE_IP4 IP_PROTOCOL_IP_IN_IP 30 #define AD_TYPE_IP6 IP_PROTOCOL_IPV6 32 #define SRV6_AD_FLOW_DEFAULT_CACHE_SIZE 100 33 #define SRV6_AD_CACHE_TIMEOUT 300 dpo_type_t srv6_ad_flow_dpo_type
DPO type.
u32 sw_if_index_out
Outgoing iface to proxied dev.
srv6_ad_flow_entry_t * cache
Cache table.
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type() ...
srv6_ad_flow_localsid_t * ls
u32 * sw_iface_localsid6
Retrieve local SID from iface.
srv6_ad_flow_localsid_t ** sids
Pool of AD SID pointers.
vlib_combined_counter_main_t sid_cache_full_counters
u16 msg_id_base
API message ID base.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
void srv6_ad_flow_dpo_unlock(dpo_id_t *dpo)
ip46_address_t nh_addr
Proxied device address.
unformat_function_t unformat_srv6_ad_flow_localsid
u32 sw_if_index_in
Incoming iface from proxied dev.
The fine-grained event logger allows lightweight, thread-safe event logging at minimum cost...
u32 srv6_localsid_behavior_id
SRv6 LocalSID behavior number.
vlib_combined_counter_main_t sid_bypass_counters
Packets/bytes bypassing NF.
vlib_combined_counter_main_t sid_punt_counters
Packets/bytes punted.
vnet_main_t * vnet_main
[convenience] vnet main
clib_bihash_40_8_t ftable
Flow table.
u32 * sw_iface_localsid4
Retrieve local SID from iface.
srv6_ad_flow_main_t srv6_ad_flow_main
vlib_combined_counter_main_t rw_invalid_counters
Invalid rewrite counters.
u32 * sw_iface_localsid2
Retrieve local SID from iface.
struct _vlib_node_registration vlib_node_registration_t
format_function_t format_srv6_ad_flow_localsid
void srv6_ad_flow_dpo_lock(dpo_id_t *dpo)
A collection of combined counters.
Segment Routing data structures definitions.
vlib_node_registration_t srv6_ad_flow_localsid_node
(constructor) VLIB_REGISTER_NODE (srv6_ad_flow_localsid_node)
u32 nh_adj
Adjacency index for out.
vlib_main_t * vlib_main
[convenience] vlib main
vlib_combined_counter_main_t rw_valid_counters
Valid rewrite counters.