Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/route/shared.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
struct rib_head; | struct rib_head; | ||||
/* Nexhops */ | /* Nexhops */ | ||||
void nhops_init(void); | void nhops_init(void); | ||||
int nhops_init_rib(struct rib_head *rh); | int nhops_init_rib(struct rib_head *rh); | ||||
void nhops_destroy_rib(struct rib_head *rh); | void nhops_destroy_rib(struct rib_head *rh); | ||||
int nhop_ref_object(struct nhop_object *nh); | void nhop_ref_object(struct nhop_object *nh); | ||||
int nhop_try_ref_object(struct nhop_object *nh); | |||||
int nhop_ref_any(struct nhop_object *nh); | int nhop_ref_any(struct nhop_object *nh); | ||||
void nhop_free_any(struct nhop_object *nh); | void nhop_free_any(struct nhop_object *nh); | ||||
void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type); | void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type); | ||||
void nhop_set_rtflags(struct nhop_object *nh, int rt_flags); | void nhop_set_rtflags(struct nhop_object *nh, int rt_flags); | ||||
int nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info, | int nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info, | ||||
struct nhop_object **nh_ret); | struct nhop_object **nh_ret); | ||||
Show All 15 Lines |