Go to the source code of this file.
|
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_t * | lpm_table_init (enum lpm_type_e lpm_type) |
|
◆ lpm_128_add()
static void lpm_128_add |
( |
lpm_t * |
lpm, |
|
|
void * |
addr_v, |
|
|
u8 |
pfxlen, |
|
|
u32 |
value |
|
) |
| |
|
static |
◆ lpm_128_delete()
static void lpm_128_delete |
( |
lpm_t * |
lpm, |
|
|
void * |
addr_v, |
|
|
u8 |
pfxlen |
|
) |
| |
|
static |
◆ lpm_128_lookup()
static u32 lpm_128_lookup |
( |
lpm_t * |
lpm, |
|
|
void * |
addr_v, |
|
|
u8 |
pfxlen |
|
) |
| |
|
static |
◆ 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.
◆ 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.
◆ 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.
◆ 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.
◆ lpm_table_init()
◆ masked_address32()
static uint32_t masked_address32 |
( |
uint32_t |
addr, |
|
|
uint8_t |
len |
|
) |
| |
|
static |
Definition at line 23 of file lpm.c.
◆ masked_address64()
static uint64_t masked_address64 |
( |
uint64_t |
addr, |
|
|
uint8_t |
len |
|
) |
| |
|
static |
Definition at line 29 of file lpm.c.