FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gid_dictionary_t |
Macros | |
#define | GID_LOOKUP_MISS ((u32)~0) |
#define | IP4_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
#define | IP4_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
#define | IP6_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
#define | IP6_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
#define | MAC_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
#define | MAC_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Functions | |
u32 | gid_dictionary_add_del (gid_dictionary_t *db, gid_address_t *key, u32 value, u8 is_add) |
u32 | gid_dictionary_lookup (gid_dictionary_t *db, gid_address_t *key) |
void | gid_dictionary_init (gid_dictionary_t *db) |
#define GID_LOOKUP_MISS ((u32)~0) |
Definition at line 24 of file gid_dictionary.h.
#define IP4_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Definition at line 28 of file gid_dictionary.h.
#define IP4_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
Definition at line 27 of file gid_dictionary.h.
#define IP6_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Definition at line 32 of file gid_dictionary.h.
#define IP6_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
Definition at line 31 of file gid_dictionary.h.
#define MAC_LOOKUP_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Definition at line 36 of file gid_dictionary.h.
#define MAC_LOOKUP_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
Definition at line 35 of file gid_dictionary.h.
u32 gid_dictionary_add_del | ( | gid_dictionary_t * | db, |
gid_address_t * | key, | ||
u32 | value, | ||
u8 | is_add | ||
) |
Definition at line 316 of file gid_dictionary.c.
void gid_dictionary_init | ( | gid_dictionary_t * | db | ) |
Definition at line 422 of file gid_dictionary.c.
u32 gid_dictionary_lookup | ( | gid_dictionary_t * | db, |
gid_address_t * | key | ||
) |
Definition at line 119 of file gid_dictionary.c.