Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_var.h
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | |||||
int rib_copy_route(struct rtentry *rt, const struct route_nhop_data *rnd_src, | int rib_copy_route(struct rtentry *rt, const struct route_nhop_data *rnd_src, | ||||
struct rib_head *rh_dst, struct rib_cmd_info *rc); | struct rib_head *rh_dst, struct rib_cmd_info *rc); | ||||
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); | ||||
bool rib_can_4o6_nhop(void); | bool rib_can_4o6_nhop(void); | ||||
struct rtentry *rt_get_parent(struct rib_head *rh, struct rtentry *rt); | |||||
/* route_rtentry.c */ | /* route_rtentry.c */ | ||||
void vnet_rtzone_init(void); | void vnet_rtzone_init(void); | ||||
void vnet_rtzone_destroy(void); | void vnet_rtzone_destroy(void); | ||||
void rt_free(struct rtentry *rt); | void rt_free(struct rtentry *rt); | ||||
void rt_free_immediate(struct rtentry *rt); | void rt_free_immediate(struct rtentry *rt); | ||||
struct rtentry *rt_alloc(struct rib_head *rnh, const struct sockaddr *dst, | struct rtentry *rt_alloc(struct rib_head *rnh, const struct sockaddr *dst, | ||||
struct sockaddr *netmask); | struct sockaddr *netmask); | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |