Lines Matching refs:rib_head

76 static int add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info,
78 static int change_route_byinfo(struct rib_head *rnh, struct rtentry *rt,
82 static int add_route_flags(struct rib_head *rnh, struct rtentry *rt,
85 static int add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt,
90 static int add_route(struct rib_head *rnh, struct rtentry *rt,
92 static int delete_route(struct rib_head *rnh, struct rtentry *rt,
94 static int rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt,
101 static bool rib_can_multipath(struct rib_head *rh);
145 static struct rib_head *
148 struct rib_head *rnh; in get_rnh()
169 rib_can_multipath(struct rib_head *rh) in rib_can_multipath()
349 lookup_prefix_bysa(struct rib_head *rnh, const struct sockaddr *dst, in lookup_prefix_bysa()
369 lookup_prefix_rt(struct rib_head *rnh, const struct rtentry *rt, in lookup_prefix_rt()
382 lookup_prefix(struct rib_head *rnh, const struct rt_addrinfo *info, in lookup_prefix()
478 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_add_route_px()
557 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_del_route_px()
615 struct rib_head *rh_dst, struct rib_cmd_info *rc) in rib_copy_route()
681 struct rib_head *rnh; in rib_add_route()
712 add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info, in add_route_byinfo()
773 add_route_flags(struct rib_head *rnh, struct rtentry *rt, struct route_nhop_data *rnd_add, in add_route_flags()
859 add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt, in add_route_flags_mpath()
912 struct rib_head *rnh; in rib_del_route()
992 rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt, in rt_delete_conditional()
1032 struct rib_head *rnh; in rib_change_route()
1089 change_nhop(struct rib_head *rnh, struct rt_addrinfo *info, in change_nhop()
1120 change_mpath_route(struct rib_head *rnh, struct rtentry *rt, in change_mpath_route()
1172 change_route_byinfo(struct rib_head *rnh, struct rtentry *rt, in change_route_byinfo()
1203 add_route(struct rib_head *rnh, struct rtentry *rt, in add_route()
1240 delete_route(struct rib_head *rnh, struct rtentry *rt, struct rib_cmd_info *rc) in delete_route()
1272 change_route(struct rib_head *rnh, struct rtentry *rt, in change_route()
1309 change_route_conditional(struct rib_head *rnh, struct rtentry *rt, in change_route_conditional()
1404 struct rib_head *rnh;
1463 struct rib_head *rnh; in rib_walk_del()
1522 struct rib_head *rnh = (struct rib_head *)arg; in rt_delete_unconditional()
1536 rib_flush_routes(struct rib_head *rnh) in rib_flush_routes()
1546 struct rib_head *rnh; in rib_flush_routes_family()