16 #ifndef included_vnet_lisp_gpe_h 17 #define included_vnet_lisp_gpe_h 34 }) ip4_udp_lisp_gpe_header_t;
40 }) ip6_udp_lisp_gpe_header_t;
84 #define foreach_lisp_gpe_ip_input_next \ 85 _(DROP, "error-drop") \ 86 _(IP4_INPUT, "ip4-input") \ 87 _(IP6_INPUT, "ip6-input") \ 88 _(ETHERNET_INPUT, "ethernet-input") 91 #define _(s,n) LISP_GPE_INPUT_NEXT_##s, 98 #define lisp_gpe_error(n,s) LISP_GPE_ERROR_##n, 100 #undef lisp_gpe_error 111 BVT(clib_bihash) ip6_lookup_table;
238 ip_prefix_t * src_prefix,
u32 table_id,
242 ip_prefix_t * src_prefix,
u32 table_id);
244 #define foreach_lgpe_ip4_lookup_next \ 245 _(DROP, "error-drop") \ 246 _(LISP_CP_LOOKUP, "lisp-cp-lookup") 250 #define _(sym,str) LGPE_IP4_LOOKUP_NEXT_##sym, 256 #define foreach_lgpe_ip6_lookup_next \ 257 _(DROP, "error-drop") \ 258 _(LISP_CP_LOOKUP, "lisp-cp-lookup") 262 #define _(sym,str) LGPE_IP6_LOOKUP_NEXT_##sym,
#define foreach_lisp_gpe_ip_input_next
lisp_gpe_main_t lisp_gpe_main
u32 ip4_lookup_next_lgpe_ip4_lookup
void vnet_lisp_gpe_add_del_iface(vnet_lisp_gpe_add_del_iface_args_t *a, u32 *hw_if_indexp)
uword * tunnel_term_sw_if_index_by_vni
lisp_gpe_tunnel_t * tunnels
i32 dst_address_length_refcounts[129]
clib_error_t * vnet_lisp_gpe_enable_disable(vnet_lisp_gpe_enable_disable_args_t *a)
struct _vlib_node_registration vlib_node_registration_t
ip6_address_t fib_masks[129]
uword * lgpe_ip6_lookup_next_index_by_table_id
vlib_node_registration_t lisp_gpe_ip4_input_node
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip4_input_node)
int ip_sd_fib_add_del_route(lisp_gpe_main_t *lgm, ip_prefix_t *dst_prefix, ip_prefix_t *src_prefix, u32 table_id, ip_adjacency_t *add_adj, u8 is_add)
u32 ip_sd_fib_get_route(lisp_gpe_main_t *lgm, ip_prefix_t *dst_prefix, ip_prefix_t *src_prefix, u32 table_id)
typedef CLIB_PACKED(struct{ip4_header_t ip4;udp_header_t udp;lisp_gpe_header_t lisp;}) ip4_udp_lisp_gpe_header_t
ip6_src_fib_t * ip6_src_fibs
u32 * free_lisp_gpe_tunnel_hw_if_indices
ip4_src_fib_t * ip4_src_fibs
mhash_t lisp_gpe_tunnel_by_key
vlib_node_registration_t lisp_gpe_ip6_input_node
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip6_input_node)
uword * lisp_gpe_hw_if_index_by_table_id
u8 * prefix_lengths_in_search_order
vlib_node_registration_t lgpe_ip4_lookup_node
(constructor) VLIB_REGISTER_NODE (lgpe_ip4_lookup_node)
u32 ip6_lookup_next_lgpe_ip6_lookup
BVT(clib_bihash) ip6_lookup_table
u8 * format_lisp_gpe_header_with_length(u8 *s, va_list *args)
uword * vni_by_tunnel_term_sw_if_index
struct ip6_src_fib ip6_src_fib_t
enum lgpe_ip6_lookup_next lgpe_ip6_lookup_next_t
#define foreach_lgpe_ip4_lookup_next
struct _gid_address_t gid_address_t
uword * non_empty_dst_address_length_bitmap
enum lgpe_ip4_lookup_next lgpe_ip4_lookup_next_t
struct lisp_gpe_main lisp_gpe_main_t
#define foreach_lgpe_ip6_lookup_next
negative_fwd_actions_e action
int vnet_lisp_gpe_add_del_fwd_entry(vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp)
u8 * format_vnet_lisp_gpe_status(u8 *s, va_list *args)
u8 vnet_lisp_gpe_enable_disable_status(void)
vlib_node_registration_t lgpe_ip6_lookup_node
(constructor) VLIB_REGISTER_NODE (lgpe_ip6_lookup_node)
u32 lookup_table_nbuckets
uword * lgpe_ip4_lookup_next_index_by_table_id