FD.io VPP  v16.09
Vector Packet Processing
gid_dictionary.c File Reference
+ Include dependency graph for gid_dictionary.c:

Go to the source code of this file.

Functions

static u32 mac_lookup (gid_dictionary_t *db, u32 vni, u8 *key)
 
static u32 ip4_lookup (gid_dictionary_t *db, u32 vni, ip_prefix_t *key)
 
static u32 ip6_lookup (gid_dictionary_t *db, u32 vni, ip_prefix_t *key)
 
static u32 ip_lookup (gid_dictionary_t *db, u32 vni, ip_prefix_t *key)
 
u32 gid_dictionary_lookup (gid_dictionary_t *db, gid_address_t *key)
 
static void ip4_compute_prefix_lengths_in_search_order (gid_dictionary_t *db)
 
static u32 add_del_ip4_key (gid_dictionary_t *db, u32 vni, ip_prefix_t *pref, u32 val, u8 is_add)
 
static void ip6_compute_prefix_lengths_in_search_order (gid_dictionary_t *db)
 
static u32 add_del_ip6_key (gid_dictionary_t *db, u32 vni, ip_prefix_t *pref, u32 val, u8 is_add)
 
static u32 add_del_mac (gid_dictionary_t *db, u32 vni, u8 *mac, u32 val, u8 is_add)
 
static u32 add_del_ip (gid_dictionary_t *db, u32 vni, ip_prefix_t *key, u32 value, u8 is_add)
 
u32 gid_dictionary_add_del (gid_dictionary_t *db, gid_address_t *key, u32 value, u8 is_add)
 
static void ip4_lookup_init (gid_dictionary_t *db)
 
static void ip6_lookup_init (gid_dictionary_t *db)
 
static void mac_lookup_init (gid_dictionary_t *db)
 
void gid_dictionary_init (gid_dictionary_t *db)
 

Function Documentation

static u32 add_del_ip ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  key,
u32  value,
u8  is_add 
)
static

Definition at line 296 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 add_del_ip4_key ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  pref,
u32  val,
u8  is_add 
)
static

Definition at line 153 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 add_del_ip6_key ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  pref,
u32  val,
u8  is_add 
)
static

Definition at line 221 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 add_del_mac ( gid_dictionary_t db,
u32  vni,
u8 mac,
u32  val,
u8  is_add 
)
static

Definition at line 273 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gid_dictionary_init ( gid_dictionary_t db)

Definition at line 422 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gid_dictionary_lookup ( gid_dictionary_t db,
gid_address_t key 
)

Definition at line 119 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ip4_compute_prefix_lengths_in_search_order ( gid_dictionary_t db)
static

Definition at line 136 of file gid_dictionary.c.

+ Here is the caller graph for this function:

static u32 ip4_lookup ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  key 
)
static

Definition at line 36 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ip4_lookup_init ( gid_dictionary_t db)
static

Definition at line 336 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ip6_compute_prefix_lengths_in_search_order ( gid_dictionary_t db)
static

Definition at line 205 of file gid_dictionary.c.

+ Here is the caller graph for this function:

static u32 ip6_lookup ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  key 
)
static

Definition at line 68 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ip6_lookup_init ( gid_dictionary_t db)
static

Definition at line 368 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 ip_lookup ( gid_dictionary_t db,
u32  vni,
ip_prefix_t *  key 
)
static

Definition at line 99 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 mac_lookup ( gid_dictionary_t db,
u32  vni,
u8 key 
)
static

Definition at line 19 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void mac_lookup_init ( gid_dictionary_t db)
static

Definition at line 405 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: