Lines Matching refs:rib_head
77 static int add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info,
79 static int change_route_byinfo(struct rib_head *rnh, struct rtentry *rt,
83 static int add_route_flags(struct rib_head *rnh, struct rtentry *rt,
86 static int add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt,
91 static int add_route(struct rib_head *rnh, struct rtentry *rt,
93 static int delete_route(struct rib_head *rnh, struct rtentry *rt,
95 static int rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt,
104 static bool rib_can_multipath(struct rib_head *rh);
148 static struct rib_head *
151 struct rib_head *rnh; in get_rnh()
172 rib_can_multipath(struct rib_head *rh) in rib_can_multipath()
352 lookup_prefix_bysa(struct rib_head *rnh, const struct sockaddr *dst, in lookup_prefix_bysa()
372 lookup_prefix_rt(struct rib_head *rnh, const struct rtentry *rt, in lookup_prefix_rt()
385 lookup_prefix(struct rib_head *rnh, const struct rt_addrinfo *info, in lookup_prefix()
397 rib_lookup_prefix_plen(struct rib_head *rnh, struct sockaddr *dst, int plen, in rib_lookup_prefix_plen()
493 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_add_route_px()
572 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_del_route_px()
630 struct rib_head *rh_dst, struct rib_cmd_info *rc) in rib_copy_route()
695 struct rib_head *rnh; in rib_add_route()
726 add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info, in add_route_byinfo()
787 add_route_flags(struct rib_head *rnh, struct rtentry *rt, struct route_nhop_data *rnd_add, in add_route_flags()
873 add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt, in add_route_flags_mpath()
926 struct rib_head *rnh; in rib_del_route()
1006 rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt, in rt_delete_conditional()
1046 struct rib_head *rnh; in rib_change_route()
1103 change_nhop(struct rib_head *rnh, struct rt_addrinfo *info, in change_nhop()
1134 change_mpath_route(struct rib_head *rnh, struct rtentry *rt, in change_mpath_route()
1186 change_route_byinfo(struct rib_head *rnh, struct rtentry *rt, in change_route_byinfo()
1217 add_route(struct rib_head *rnh, struct rtentry *rt, in add_route()
1254 delete_route(struct rib_head *rnh, struct rtentry *rt, struct rib_cmd_info *rc) in delete_route()
1286 change_route(struct rib_head *rnh, struct rtentry *rt, in change_route()
1323 change_route_conditional(struct rib_head *rnh, struct rtentry *rt, in change_route_conditional()
1418 struct rib_head *rnh;
1477 struct rib_head *rnh; in rib_walk_del()
1536 struct rib_head *rnh = (struct rib_head *)arg; in rt_delete_unconditional()
1550 rib_flush_routes(struct rib_head *rnh) in rib_flush_routes()
1560 struct rib_head *rnh; in rib_flush_routes_family()