FD.io VPP  v16.06
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 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_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)
 
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 242 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 127 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 192 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 261 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 342 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 98 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 114 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 19 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 279 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 179 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 49 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 308 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 79 of file gid_dictionary.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: