Home
last modified time | relevance | path

Searched refs:rnd_weight (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/net/route/
H A Droute_ctl.c361 rnd->rnd_weight = rt->rt_weight; in lookup_prefix_bysa()
364 rnd->rnd_weight = 0; in lookup_prefix_bysa()
667 .rnd_weight = rnd_src->rnd_weight in rib_copy_route()
772 rnd_add.rnd_weight = get_info_weight(info, RT_DEFAULT_WEIGHT); in add_route_byinfo()
1089 rnd_orig.rnd_weight = rt->rt_weight; in rib_change_route()
1203 rnd_new.rnd_weight = get_info_weight(info, rnd_orig->rnd_weight); in change_route_byinfo()
1225 rt->rt_weight = rnd->rnd_weight; in add_route()
1240 rc->rc_nh_weight = rnd->rnd_weight; in add_route()
1300 rt->rt_weight = rnd->rnd_weight; in change_route()
1310 rc->rc_nh_weight = rnd->rnd_weight; in change_route()
[all …]
H A Dnhgrp_ctl.c699 rnd->rnd_weight = 0; in nhgrp_get_filtered_group()
702 rnd->rnd_weight = pnhops[0].weight; in nhgrp_get_filtered_group()
709 rnd->rnd_weight = 0; in nhgrp_get_filtered_group()
741 wn[0].weight = rnd_add->rnd_weight; in nhgrp_get_addition_group()
746 wn[1].weight = rnd_orig->rnd_weight; in nhgrp_get_addition_group()
757 rnd_new->rnd_weight = 0; in nhgrp_get_addition_group()
H A Droute_ifaddrs.c215 .rnd_weight = rt->rt_weight, in pick_kernel_route()
H A Droute_rtentry.c197 rnd->rnd_weight = rt->rt_weight; in rt_get_rnd()
H A Droute_ctl.h52 uint32_t rnd_weight; member
H A Droute_helpers.c430 struct route_nhop_data rnd = { .rnd_weight = RT_DEFAULT_WEIGHT }; in rib_add_default_route()
/freebsd/sys/netlink/route/
H A Drt.c258 if (rnd->rnd_weight != RT_DEFAULT_WEIGHT) in dump_rc_nhop()
259 nlattr_add_u32(nw, NL_RTA_WEIGHT, rnd->rnd_weight); in dump_rc_nhop()
359 .rnd_weight = rc->rc_nh_weight, in report_operation()
967 struct route_nhop_data rnd = { .rnd_nhop = nh, .rnd_weight = attrs.rta_weight }; in rtnl_handle_newroute()
1081 .rnd_weight = rc->rc_nh_weight, in rtnl_handle_route_event()
/freebsd/sys/netinet/
H A Din_fib.c307 rnd->rnd_weight = rt->rt_weight; in fib4_lookup_rt()
/freebsd/sys/netinet6/
H A Din6_fib.c322 rnd->rnd_weight = rt->rt_weight; in fib6_lookup_rt()
/freebsd/sys/net/
H A Droute.c193 struct route_nhop_data rnd = { .rnd_weight = RT_DEFAULT_WEIGHT }; in rib_add_redirect()