Home
last modified time | relevance | path

Searched refs:rc_nh_new (Results 1 – 11 of 11) sorted by relevance

/f-stack/freebsd/net/route/
H A Droute_helpers.c245 if (NH_IS_NHGRP(rc->rc_nh_new)) { in decompose_change_notification()
246 wn_new = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_new); in decompose_change_notification()
248 tmp.nh = rc->rc_nh_new; in decompose_change_notification()
277 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
292 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
313 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
334 rc_add.rc_nh_new = wn_new[idx_new].nh; in decompose_change_notification()
359 if (!NH_IS_NHGRP(rc->rc_nh_new)) in rib_decompose_notification()
361 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification()
363 rc_new.rc_nh_new = wn[i].nh; in rib_decompose_notification()
[all …]
H A Dmpath_ctl.c133 NH_IS_NHGRP(rc->rc_nh_new)) { in add_route_mpath()
H A Droute_ifaddrs.c84 nh = nhop_select(rc.rc_nh_new, 0); in rib_handle_ifaddr_one()
H A Droute_ctl.h44 struct nhop_object *rc_nh_new; /* Target nhop OR mpath */ member
H A Dfib_algo.c518 nh = rc->rc_nh_new; in need_immediate_rebuild()
568 if (rc->rc_nh_new != NULL) { in handle_rtable_change_cb()
569 if (fib_ref_nhop(fd, rc->rc_nh_new) == 0) { in handle_rtable_change_cb()
H A Droute_ctl.c1082 rc->rc_nh_new = rnd->rnd_nhop; in add_route_nhop()
1139 rc->rc_nh_new = rnd->rnd_nhop; in change_route_nhop()
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm.c123 uint32_t nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_default_change()
177 nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_gu_change()
262 .rc_nh_new = nh, in add_route_cb()
H A Ddpdk_lpm6.c146 uint32_t nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_default_change()
212 uint32_t nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_gu_change()
326 .rc_nh_new = nh, in add_route_cb()
/f-stack/lib/
H A Dff_route.c715 rc->rc_nh_new = nh; in handle_rtm_get()
1124 if (NH_IS_NHGRP(rc.rc_nh_new) || in ff_rtioctl()
1132 nh = rc.rc_nh_new; in ff_rtioctl()
1143 (rc.rc_nh_new && NH_IS_NHGRP(rc.rc_nh_new))) { in ff_rtioctl()
1163 nh = rc.rc_nh_new; in ff_rtioctl()
/f-stack/freebsd/net/
H A Drtsock.c813 rc->rc_nh_new = nh; in handle_rtm_get()
1085 if (NH_IS_NHGRP(rc.rc_nh_new) || in route_output()
1093 nh = rc.rc_nh_new; in route_output()
1104 (rc.rc_nh_new && NH_IS_NHGRP(rc.rc_nh_new))) { in route_output()
1124 nh = rc.rc_nh_new; in route_output()
/f-stack/freebsd/netinet6/
H A Dnd6_rtr.c701 struct nhop_object *nh = nhop_select_func(rc.rc_nh_new, 0); in defrouter_addreq()