15 #ifndef included_vnet_vxlan_h 16 #define included_vnet_vxlan_h 37 }) ip4_vxlan_header_t;
43 }) ip6_vxlan_header_t;
57 }) vxlan4_tunnel_key_t;
66 }) vxlan6_tunnel_key_t;
116 #define foreach_vxlan_input_next \ 117 _(DROP, "error-drop") \ 118 _(L2_INPUT, "l2-input") 121 #define _(s,n) VXLAN_INPUT_NEXT_##s, 128 #define vxlan_error(n,s) VXLAN_ERROR_##n, 187 (
u32 sw_if_index,
u8 is_ip6,
u8 is_enable);
int vnet_vxlan_add_del_tunnel(vnet_vxlan_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
u32 sibling_index
The tunnel is a child of the FIB entry for its desintion.
#define foreach_vxlan_input_next
vlib_node_registration_t vxlan4_encap_node
(constructor) VLIB_REGISTER_NODE (vxlan4_encap_node)
struct _vlib_node_registration vlib_node_registration_t
vlib_node_registration_t vxlan4_input_node
(constructor) VLIB_REGISTER_NODE (vxlan4_input_node)
u8 * format_vxlan_encap_trace(u8 *s, va_list *args)
fib_node_t node
Linkage into the FIB object graph.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
adj_index_t mcast_adj_index
vlib_node_registration_t vxlan6_input_node
(constructor) VLIB_REGISTER_NODE (vxlan6_input_node)
uword * vxlan4_tunnel_by_key
vlib_node_registration_t vxlan6_encap_node
(constructor) VLIB_REGISTER_NODE (vxlan6_encap_node)
An node in the FIB graph.
u32 fib_node_index_t
A typedef of a node index.
u32 adj_index_t
An index for adjacencies.
uword * vxlan6_tunnel_by_key
void vnet_int_vxlan_bypass_mode(u32 sw_if_index, u8 is_ip6, u8 is_enable)
fib_node_index_t fib_entry_index
u32 * tunnel_index_by_sw_if_index
typedef CLIB_PACKED(struct{ip4_header_t ip4;udp_header_t udp;vxlan_header_t vxlan;}) ip4_vxlan_header_t
u32 * free_vxlan_tunnel_hw_if_indices