Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_var.h
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | |||||
/* 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 rt_addrinfo *info, 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_byinfo(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); | ||||
int check_info_match_nhop(const struct rt_addrinfo *info, | int check_info_match_nhop(const struct rt_addrinfo *info, | ||||
const struct rtentry *rt, const struct nhop_object *nh); | const struct rtentry *rt, const struct nhop_object *nh); | ||||
int can_override_nhop(const struct rt_addrinfo *info, | int can_override_nhop(const struct rt_addrinfo *info, | ||||
const struct nhop_object *nh); | const struct nhop_object *nh); | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |