15 #ifndef __included_srv6_ad_h__ 16 #define __included_srv6_ad_h__
vnet_main_t * vnet_main
[convenience] vnet main
void srv6_ad_dpo_lock(dpo_id_t *dpo)
u32 * sw_iface_localsid4
Retrieve local SID from iface.
u32 srv6_localsid_behavior_id
SRv6 LocalSID behavior number.
void srv6_ad_dpo_unlock(dpo_id_t *dpo)
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type() ...
vlib_combined_counter_main_t invalid_counters
Invalid rewrite counters.
u32 nh_adj
Adjacency index for out.
ip46_address_t nh_addr
Proxied device address.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
format_function_t format_srv6_ad_localsid
u32 sw_if_index_out
Outgoing iface to proxied dev.
u32 rw_len
Number of bits to be rewritten.
vlib_main_t * vlib_main
[convenience] vlib main
u8 * rewrite
Headers to be rewritten.
srv6_ad_localsid_t ** sids
Pool of AD SID pointers.
The fine-grained event logger allows lightweight, thread-safe event logging at minimum cost...
dpo_type_t srv6_ad_dpo_type
DPO type.
u32 * sw_iface_localsid2
Retrieve local SID from iface.
struct _vlib_node_registration vlib_node_registration_t
vlib_combined_counter_main_t valid_counters
Valid rewrite counters.
u32 * sw_iface_localsid6
Retrieve local SID from iface.
u32 sw_if_index_in
Incoming iface from proxied dev.
srv6_ad_main_t srv6_ad_main
A collection of combined counters.
unformat_function_t unformat_srv6_ad_localsid
vlib_node_registration_t srv6_ad_localsid_node
(constructor) VLIB_REGISTER_NODE (srv6_ad_localsid_node)
Segment Routing data structures definitions.
u16 msg_id_base
API message ID base.