FD.io VPP  v20.09-64-g4f7b92f0a
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

◆ lpm_128_add()

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:

◆ lpm_128_delete()

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:

◆ lpm_128_lookup()

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:

◆ lpm_128_lookup_core()

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:

◆ lpm_32_add()

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:

◆ lpm_32_delete()

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:

◆ lpm_32_lookup()

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_table_init()

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:

◆ masked_address32()

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:

◆ masked_address64()

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: