FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
lpm.c File Reference
+ Include dependency graph for lpm.c:

Go to the source code of this file.

Functions

static uint32_t masked_address32 (uint32_t addr, uint8_t len)
 
static uint64_t masked_address64 (uint64_t addr, uint8_t len)
 
static void lpm_32_add (lpm_t *lpm, void *addr_v, u8 pfxlen, u32 value)
 
static void lpm_32_delete (lpm_t *lpm, void *addr_v, u8 pfxlen)
 
static u32 lpm_32_lookup (lpm_t *lpm, void *addr_v, u8 pfxlen)
 
static int lpm_128_lookup_core (lpm_t *lpm, ip6_address_t *addr, u8 pfxlen, u32 *value)
 
static u32 lpm_128_lookup (lpm_t *lpm, void *addr_v, u8 pfxlen)
 
static void lpm_128_add (lpm_t *lpm, void *addr_v, u8 pfxlen, u32 value)
 
static void lpm_128_delete (lpm_t *lpm, void *addr_v, u8 pfxlen)
 
lpm_tlpm_table_init (enum lpm_type_e lpm_type)
 

Function Documentation

static void lpm_128_add ( lpm_t lpm,
void *  addr_v,
u8  pfxlen,
u32  value 
)
static

Definition at line 124 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lpm_128_delete ( lpm_t lpm,
void *  addr_v,
u8  pfxlen 
)
static

Definition at line 139 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 lpm_128_lookup ( lpm_t lpm,
void *  addr_v,
u8  pfxlen 
)
static

Definition at line 109 of file lpm.c.

+ Here is the caller graph for this function:

static int lpm_128_lookup_core ( lpm_t lpm,
ip6_address_t addr,
u8  pfxlen,
u32 value 
)
static

Definition at line 94 of file lpm.c.

+ Here is the call graph for this function:

static void lpm_32_add ( lpm_t lpm,
void *  addr_v,
u8  pfxlen,
u32  value 
)
static

Definition at line 35 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lpm_32_delete ( lpm_t lpm,
void *  addr_v,
u8  pfxlen 
)
static

Definition at line 60 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 lpm_32_lookup ( lpm_t lpm,
void *  addr_v,
u8  pfxlen 
)
static

Definition at line 74 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

lpm_t* lpm_table_init ( enum lpm_type_e  lpm_type)

Definition at line 157 of file lpm.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uint32_t masked_address32 ( uint32_t  addr,
uint8_t  len 
)
static

Definition at line 23 of file lpm.c.

+ Here is the caller graph for this function:

static uint64_t masked_address64 ( uint64_t  addr,
uint8_t  len 
)
static

Definition at line 29 of file lpm.c.

+ Here is the caller graph for this function: