Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_var.h
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | |||||
/* route_temporal.c */ | /* route_temporal.c */ | ||||
void tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh); | void tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh); | ||||
void tmproutes_init(struct rib_head *rh); | void tmproutes_init(struct rib_head *rh); | ||||
void tmproutes_destroy(struct rib_head *rh); | void tmproutes_destroy(struct rib_head *rh); | ||||
/* route_ctl.c */ | /* route_ctl.c */ | ||||
struct route_nhop_data; | struct route_nhop_data; | ||||
int change_route_nhop(struct rib_head *rnh, struct rtentry *rt, | int change_route_nhop(struct rib_head *rnh, struct rtentry *rt, | ||||
struct rt_addrinfo *info, struct route_nhop_data *rnd, | struct route_nhop_data *rnd, struct rib_cmd_info *rc); | ||||
struct rib_cmd_info *rc); | |||||
int change_route_conditional(struct rib_head *rnh, struct rtentry *rt, | int change_route_conditional(struct rib_head *rnh, struct rtentry *rt, | ||||
struct rt_addrinfo *info, struct route_nhop_data *nhd_orig, | struct rt_addrinfo *info, struct route_nhop_data *nhd_orig, | ||||
struct route_nhop_data *nhd_new, struct rib_cmd_info *rc); | struct route_nhop_data *nhd_new, struct rib_cmd_info *rc); | ||||
struct rtentry *lookup_prefix(struct rib_head *rnh, | struct rtentry *lookup_prefix(struct rib_head *rnh, | ||||
const struct rt_addrinfo *info, struct route_nhop_data *rnd); | const struct rt_addrinfo *info, struct route_nhop_data *rnd); | ||||
bool nhop_can_multipath(const struct nhop_object *nh); | bool nhop_can_multipath(const struct nhop_object *nh); | ||||
bool match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw); | bool match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw); | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |