Changeset View
Changeset View
Standalone View
Standalone View
sys/net/radix.h
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | |||||
typedef struct radix_node *rn_lookup_f_t(const void *v, const void *mask, | typedef struct radix_node *rn_lookup_f_t(const void *v, const void *mask, | ||||
struct radix_head *head); | struct radix_head *head); | ||||
typedef int rn_walktree_t(struct radix_head *head, walktree_f_t *f, | typedef int rn_walktree_t(struct radix_head *head, walktree_f_t *f, | ||||
void *w); | void *w); | ||||
typedef int rn_walktree_from_t(struct radix_head *head, | typedef int rn_walktree_from_t(struct radix_head *head, | ||||
void *a, void *m, walktree_f_t *f, void *w); | void *a, void *m, walktree_f_t *f, void *w); | ||||
typedef void rn_close_t(struct radix_node *rn, struct radix_head *head); | typedef void rn_close_t(struct radix_node *rn, struct radix_head *head); | ||||
struct radix_node *rn_nextprefix(struct radix_node *rn); | struct radix_node *rn_nextprefix(struct radix_node *rn); | ||||
struct radix_node *rn_get_parent(const struct radix_head *head, struct radix_node *); | |||||
struct radix_mask_head; | struct radix_mask_head; | ||||
struct radix_head { | struct radix_head { | ||||
struct radix_node *rnh_treetop; | struct radix_node *rnh_treetop; | ||||
struct radix_mask_head *rnh_masks; /* Storage for our masks */ | struct radix_mask_head *rnh_masks; /* Storage for our masks */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |