Go to the source code of this file.
|
#define | RNF_NORMAL 1 /* leaf contains normal route */ |
|
#define | RNF_ROOT 2 /* leaf is root leaf for tree */ |
|
#define | RNF_ACTIVE 4 /* This node is alive (for rtfree) */ |
|
#define | rn_dupedkey rn_u.rn_leaf.rn_Dupedkey |
|
#define | rn_key rn_u.rn_leaf.rn_Key |
|
#define | rn_mask rn_u.rn_leaf.rn_Mask |
|
#define | rn_off rn_u.rn_node.rn_Off |
|
#define | rn_l rn_u.rn_node.rn_L |
|
#define | rn_r rn_u.rn_node.rn_R |
|
#define | rm_mask rm_rmu.rmu_mask |
|
#define | rm_leaf rm_rmu.rmu_leaf /* extra field would make 32 bytes */ |
|
|
void | rn_init (void) |
|
int | rn_inithead (void **, int) |
|
void | rn_delayedinit (void **, int) |
|
int | rn_inithead0 (struct radix_node_head *, int) |
|
int | rn_refines (const void *, const void *) |
|
int | rn_walktree (struct radix_node_head *, int(*)(struct radix_node *, void *), void *) |
|
struct radix_node * | rn_search_matched (struct radix_node_head *, int(*)(struct radix_node *, void *), void *) |
|
struct radix_node * | rn_addmask (const void *, int, int) |
|
struct radix_node * | rn_addroute (const void *, const void *, struct radix_node_head *, struct radix_node[2]) |
|
struct radix_node * | rn_delete1 (const void *, const void *, struct radix_node_head *, struct radix_node *) |
|
struct radix_node * | rn_delete (const void *, const void *, struct radix_node_head *) |
|
struct radix_node * | rn_insert (const void *, struct radix_node_head *, int *, struct radix_node[2]) |
|
struct radix_node * | rn_lookup (const void *, const void *, struct radix_node_head *) |
|
struct radix_node * | rn_match (const void *, struct radix_node_head *) |
|
struct radix_node * | rn_newpair (const void *, int, struct radix_node[2]) |
|
struct radix_node * | rn_search (const void *, struct radix_node *) |
|
struct radix_node * | rn_search_m (const void *, struct radix_node *, const void *) |
|
#define rm_leaf rm_rmu.rmu_leaf /* extra field would make 32 bytes */ |
#define rm_mask rm_rmu.rmu_mask |
#define rn_dupedkey rn_u.rn_leaf.rn_Dupedkey |
#define rn_key rn_u.rn_leaf.rn_Key |
#define rn_l rn_u.rn_node.rn_L |
#define rn_mask rn_u.rn_leaf.rn_Mask |
#define rn_off rn_u.rn_node.rn_Off |
#define rn_r rn_u.rn_node.rn_R |
#define RNF_ACTIVE 4 /* This node is alive (for rtfree) */ |
#define RNF_NORMAL 1 /* leaf contains normal route */ |
#define RNF_ROOT 2 /* leaf is root leaf for tree */ |
struct radix_node* rn_addmask |
( |
const void * |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
void rn_delayedinit |
( |
void ** |
, |
|
|
int |
|
|
) |
| |
int rn_inithead |
( |
void ** |
, |
|
|
int |
|
|
) |
| |
int rn_refines |
( |
const void * |
, |
|
|
const void * |
|
|
) |
| |