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, 196 (
u32 sw_if_index,
u8 is_ip6,
u8 is_enable);
199 (
u32 hw_if_index,
u32 t_imdex,
int is_add);
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
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)
#define VLIB_BUFFER_PRE_DATA_SIZE
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...
vlib_node_registration_t vxlan4_flow_input_node
(constructor) VLIB_REGISTER_NODE (vxlan4_flow_input_node)
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
int vnet_vxlan_add_del_rx_flow(u32 hw_if_index, u32 t_imdex, int is_add)
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)
struct _vlib_node_registration vlib_node_registration_t
#define vnet_declare_rewrite(total_bytes)
fib_node_index_t fib_entry_index
u32 * tunnel_index_by_sw_if_index
u32 vnet_vxlan_get_tunnel_index(u32 sw_if_index)
typedef CLIB_PACKED(struct{ip4_header_t ip4;udp_header_t udp;vxlan_header_t vxlan;}) ip4_vxlan_header_t