Searched refs:rnd_nhop (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/net/route/ |
H A D | route_ctl.c | 360 rnd->rnd_nhop = rt->rt_nhop; in lookup_prefix_bysa() 363 rnd->rnd_nhop = NULL; in lookup_prefix_bysa() 631 struct nhop_object __diagused *nh_src = rnd_src->rnd_nhop; in rib_copy_route() 648 nhop_copy(nh, rnd_src->rnd_nhop); in rib_copy_route() 649 nhop_set_origin(nh, nhop_get_origin(rnd_src->rnd_nhop)); in rib_copy_route() 666 .rnd_nhop = nh, in rib_copy_route() 771 rnd_add.rnd_nhop = nh; in add_route_byinfo() 797 nh = rnd_add->rnd_nhop; in add_route_flags() 823 if (nhop_get_prio(rnd_orig.rnd_nhop) > nhop_get_prio(rnd_add->rnd_nhop)) { in add_route_flags() 839 nhop_can_multipath(rnd_add->rnd_nhop) && in add_route_flags() [all …]
|
H A D | nhgrp_ctl.c | 701 rnd->rnd_nhop = pnhops[0].nh; in nhgrp_get_filtered_group() 703 if (nhop_try_ref_object(rnd->rnd_nhop) == 0) in nhgrp_get_filtered_group() 732 if (rnd_orig->rnd_nhop == NULL) { in nhgrp_get_addition_group() 735 if (nhop_try_ref_object(rnd_new->rnd_nhop) == 0) in nhgrp_get_addition_group() 740 wn[0].nh = rnd_add->rnd_nhop; in nhgrp_get_addition_group() 743 if (!NH_IS_NHGRP(rnd_orig->rnd_nhop)) { in nhgrp_get_addition_group() 745 wn[1].nh = rnd_orig->rnd_nhop; in nhgrp_get_addition_group()
|
H A D | route_ifaddrs.c | 214 .rnd_nhop = nh, in pick_kernel_route()
|
H A D | route_rtentry.c | 196 rnd->rnd_nhop = rt->rt_nhop; in rt_get_rnd()
|
H A D | route_ctl.h | 49 struct nhop_object *rnd_nhop; member
|
H A D | route_helpers.c | 464 rnd.rnd_nhop = nhop_get_nhop(nh, &error); in rib_add_default_route()
|
/freebsd/sys/netlink/route/ |
H A D | rt.c | 224 if (NH_IS_NHGRP(rnd->rnd_nhop)) { in dump_rc_nhop() 229 const struct nhop_object *nh = rnd->rnd_nhop; in dump_rc_nhop() 289 rtm->rtm_protocol = nl_get_rtm_protocol(rnd->rnd_nhop); in dump_px() 290 rtm->rtm_type = get_rtm_type(rnd->rnd_nhop); in dump_px() 358 .rnd_nhop = rc_get_nhop(rc), in report_operation() 642 rnd.rnd_nhop = nhop_select_func(rnd.rnd_nhop, 0); in handle_rtm_getroute() 652 nhop_print_buf_any(rnd.rnd_nhop, nhbuf, sizeof(nhbuf)), in handle_rtm_getroute() 967 struct route_nhop_data rnd = { .rnd_nhop = nh, .rnd_weight = attrs.rta_weight }; in rtnl_handle_newroute() 1080 .rnd_nhop = rc_get_nhop(rc), in rtnl_handle_route_event()
|
/freebsd/sys/tests/fib_lookup/ |
H A D | fib_lookup.c | 302 } else if (nh_fib == nhop_select(rnd.rnd_nhop, 0)) { in cmp_dst() 312 if (rnd.rnd_nhop == NULL) { in cmp_dst() 320 nhop_get_idx(nhop_select(rnd.rnd_nhop, 0)), in cmp_dst() 339 } else if (nh_fib == nhop_select(rnd.rnd_nhop, 0)) { in cmp_dst6() 349 if (rnd.rnd_nhop == NULL) { in cmp_dst6() 357 nhop_get_idx(nhop_select(rnd.rnd_nhop, 0)), in cmp_dst6()
|
/freebsd/sys/netinet/ |
H A D | in_fib.c | 306 rnd->rnd_nhop = rt->rt_nhop; in fib4_lookup_rt() 324 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib4_lookup_debugnet()
|
H A D | in_fib_dxr.c | 362 fhp->nexthop = fib_get_nhop_idx(da->fd, rnd.rnd_nhop); in initheap()
|
/freebsd/sys/netinet6/ |
H A D | in6_fib.c | 321 rnd->rnd_nhop = rt->rt_nhop; in fib6_lookup_rt() 339 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib6_lookup_debugnet()
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow.c | 359 struct nhop_object *nh = nhop_select_func(rnd.rnd_nhop, 0); in hash_insert() 437 struct nhop_object *nh = nhop_select_func(rnd.rnd_nhop, 0); in hash6_insert()
|
/freebsd/sys/net/ |
H A D | route.c | 223 rnd.rnd_nhop = nhop_get_nhop(nh, &error); in rib_add_redirect()
|