|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef VNET_LISP_GPE_GID_DICTIONARY_H_
17 #define VNET_LISP_GPE_GID_DICTIONARY_H_
24 #define GID_LOOKUP_MISS ((u32)~0)
25 #define GID_LOOKUP_MISS_L2 ((u64)~0)
28 #define IP4_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
29 #define IP4_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20)
32 #define IP6_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
33 #define IP6_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20)
36 #define MAC_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
37 #define MAC_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20)
40 #define ARP_NDP_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
41 #define ARP_NDP_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20)
44 #define NSH_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024)
45 #define NSH_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20)
51 BVT (clib_bihash) ip4_lookup_table;
57 u32 ip4_prefix_len_refcount[33];
67 BVT (clib_bihash) ip6_lookup_table;
72 ip6_address_t ip6_fib_masks[129];
73 u64 ip6_prefix_len_refcount[129];
83 BVT (clib_bihash) mac_lookup_table;
93 BVT (clib_bihash) nsh_lookup_table;
103 BVT (clib_bihash) arp_ndp_lookup_table;
uword ip4_lookup_table_size
struct gid_mac_table gid_mac_table_t
u32 mac_lookup_table_nbuckets
void gid_dictionary_init(gid_dictionary_t *db)
u32 gid_dictionary_add_del(gid_dictionary_t *db, gid_address_t *key, u64 value, u8 is_add)
gid_ip4_table_t * src_ip4_table_pool
pool of source IP LPM ip4 lookup tables
u32 nsh_lookup_table_nbuckets
u32 ip4_lookup_table_nbuckets
gid_ip6_table_t dst_ip6_table
destination IP LPM ip6 lookup table
void gid_dict_foreach_l2_arp_ndp_entry(gid_dictionary_t *db, cb, void *ht)
void(* foreach_subprefix_match_cb_t)(u32, void *)
uword * ip6_non_empty_dst_address_length_bitmap
u32 gid_dictionary_sd_lookup(gid_dictionary_t *db, gid_address_t *dst, gid_address_t *src)
u64 gid_dictionary_lookup(gid_dictionary_t *db, gid_address_t *key)
BVT(clib_bihash)
The table of adjacencies indexed by the rewrite string.
u32 arp_ndp_lookup_table_nbuckets
gid_nsh_table_t nsh_table
NSH lookup table.
gid_ip6_table_t * src_ip6_table_pool
pool of source IP LPM ip6 lookup tables
BVT(clib_bihash) mac_lookup_table
u8 * ip4_prefix_lengths_in_search_order
uword mac_lookup_table_size
uword * ip4_non_empty_dst_address_length_bitmap
uword nsh_lookup_table_size
gid_l2_arp_ndp_table_t arp_ndp_table
L2 ARP/NDP table.
u32 ip6_lookup_table_nbuckets
void gid_dict_foreach_subprefix(gid_dictionary_t *db, gid_address_t *eid, foreach_subprefix_match_cb_t cb, void *arg)
uword ip6_lookup_table_size
u8 * ip6_prefix_lengths_in_search_order
struct gid_nsh_table gid_nsh_table_t
struct _gid_address_t gid_address_t
uword arp_ndp_lookup_table_size
int(* clib_bihash_foreach_key_value_pair_cb)(clib_bihash_kv *kv, void *ctx)
gid_mac_table_t sd_mac_table
flat source/dest mac lookup table
gid_ip4_table_t dst_ip4_table
destination IP LPM ip4 lookup table
BVT(clib_bihash) nsh_lookup_table