Searched refs:rh_dst (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/net/route/ |
H A D | route_ifaddrs.c | 209 struct rib_head *rh_dst = (struct rib_head *)arg; in pick_kernel_route() local 217 rib_copy_route(rt, &rnd, rh_dst, &rc); in pick_kernel_route() 230 rib_copy_kernel_routes(struct rib_head *rh_src, struct rib_head *rh_dst) in rib_copy_kernel_routes() argument 238 rib_walk_ext_internal(rh_src, false, pick_kernel_route, NULL, rh_dst); in rib_copy_kernel_routes()
|
H A D | route_ctl.c | 630 struct rib_head *rh_dst, struct rib_cmd_info *rc) in rib_copy_route() argument 641 FIB_RH_LOG(LOG_DEBUG2, rh_dst, "copying %s -> %s from fib %u", in rib_copy_route() 644 struct nhop_object *nh = nhop_alloc(rh_dst->rib_fibnum, rh_dst->rib_family); in rib_copy_route() 646 FIB_RH_LOG(LOG_INFO, rh_dst, "unable to allocate new nexthop"); in rib_copy_route() 651 nhop_set_fibnum(nh, rh_dst->rib_fibnum); in rib_copy_route() 652 nh = nhop_get_nhop_internal(rh_dst, nh, &error); in rib_copy_route() 654 FIB_RH_LOG(LOG_INFO, rh_dst, in rib_copy_route() 659 struct rtentry *rt_new = rt_alloc(rh_dst, rt_key(rt), rt_mask(rt)); in rib_copy_route() 661 FIB_RH_LOG(LOG_INFO, rh_dst, "unable to create new rtentry"); in rib_copy_route() 671 error = add_route_flags(rh_dst, rt_new, &rnd, op_flags, rc); in rib_copy_route() [all …]
|
H A D | route_var.h | 223 struct rib_head *rh_dst, struct rib_cmd_info *rc); 244 void rib_copy_kernel_routes(struct rib_head *rh_src, struct rib_head *rh_dst);
|