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;
122 #define foreach_vxlan_input_next \ 123 _(DROP, "error-drop") \ 124 _(L2_INPUT, "l2-input") 127 #define _(s,n) VXLAN_INPUT_NEXT_##s, 134 #define vxlan_error(n,s) VXLAN_ERROR_##n,
int vnet_vxlan_add_del_tunnel(vnet_vxlan_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
mcast_remote_t * mcast_eps
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)
vxlan6_tunnel_key_t * key6
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
adj_index_t mcast_adj_index
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
vxlan4_tunnel_key_t * key4
u32 * free_vxlan_tunnel_hw_if_indices
fib_node_index_t fib_entry_index