15 #ifndef included_vnet_vxlan_h 16 #define included_vnet_vxlan_h 40 }) ip4_vxlan_header_t;
46 }) ip6_vxlan_header_t;
135 #define foreach_vxlan_input_next \ 136 _(DROP, "error-drop") \ 137 _(L2_INPUT, "l2-input") 141 #define _(s,n) VXLAN_INPUT_NEXT_##s, 149 #define vxlan_error(n,s) VXLAN_ERROR_##n,
#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 destination.
clib_bihash_24_8_t vxlan6_tunnel_by_key
#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)
clib_bihash_kv_16_8_t vxlan4_tunnel_key_t
u8 * format_vxlan_encap_trace(u8 *s, va_list *args)
fib_node_t node
Linkage into the FIB object graph.
clib_bihash_kv_24_8_t vxlan6_tunnel_key_t
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)
uword * bm_ip6_bypass_enabled_by_sw_if
adj_index_t mcast_adj_index
vlib_node_registration_t vxlan6_input_node
(constructor) VLIB_REGISTER_NODE (vxlan6_input_node)
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.
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)
uword * bm_ip4_bypass_enabled_by_sw_if
fib_node_index_t fib_entry_index
u32 * tunnel_index_by_sw_if_index
u32 vnet_vxlan_get_tunnel_index(u32 sw_if_index)
clib_bihash_16_8_t vxlan4_tunnel_by_key
typedef CLIB_PACKED(struct{ip4_header_t ip4;udp_header_t udp;vxlan_header_t vxlan;}) ip4_vxlan_header_t