Home
last modified time | relevance | path

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

/freebsd/sys/net/route/
H A Droute_helpers.c265 rc->rc_nh_new = wn_src->nh; in notify_add()
313 if (NH_IS_NHGRP(rc->rc_nh_new)) { in decompose_change_notification()
314 wn_new = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_new); in decompose_change_notification()
316 tmp.nh = rc->rc_nh_new; in decompose_change_notification()
324 nhop_print_buf_any(rc->rc_nh_new, buf_new, NHOP_PRINT_BUFSIZE); in decompose_change_notification()
391 if (!NH_IS_NHGRP(rc->rc_nh_new)) in rib_decompose_notification()
393 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification()
407 if (!NH_IS_NHGRP(rc->rc_nh_old) && !NH_IS_NHGRP(rc->rc_nh_new)) in rib_decompose_notification()
H A Droute_ifaddrs.c82 nh = nhop_select(rc.rc_nh_new, 0); in rib_handle_ifaddr_one()
H A Droute_ctl.c904 if (V_fib_hash_outbound == 0 && NH_IS_NHGRP(rc->rc_nh_new)) { in add_route_flags_mpath()
1240 rc->rc_nh_new = rnd->rnd_nhop; in add_route()
1274 rc->rc_nh_new = NULL; in delete_route()
1310 rc->rc_nh_new = rnd->rnd_nhop; in change_route()
H A Droute_ctl.h44 struct nhop_object *rc_nh_new; /* Target nhop OR mpath */ member
H A Dfib_algo.c668 nh = rc->rc_nh_new; in need_immediate_sync()
730 ce->nh_new = rc->rc_nh_new; in fill_change_entry()
823 if (rc->rc_nh_new != NULL) { in handle_rtable_change_cb()
824 if (fib_ref_nhop(fd, rc->rc_nh_new) == 0) { in handle_rtable_change_cb()
/freebsd/sys/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()
178 nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_gu_change()
266 .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()
208 uint32_t nhidx = fib_get_nhop_idx(dd->fd, rc->rc_nh_new); in handle_gu_change()
328 .rc_nh_new = nh, in add_route_cb()
/freebsd/sys/net/
H A Drtsock.c283 nh = rc->rc_cmd == RTM_DELETE ? rc->rc_nh_old : rc->rc_nh_new; in report_route_event()
291 if ((rc->rc_nh_new && NH_IS_NHGRP(rc->rc_nh_new)) || in rts_handle_route_event()
853 rc->rc_nh_new = nh; in handle_rtm_get()
1166 if (NH_IS_NHGRP(rc.rc_nh_new) || in rts_send()
1175 nh = rc.rc_nh_new; in rts_send()
1189 (rc.rc_nh_new && NH_IS_NHGRP(rc.rc_nh_new))) { in rts_send()
1204 nh = rc.rc_nh_new; in rts_send()
/freebsd/sys/netlink/route/
H A Drt.c120 return ((rc->rc_cmd == RTM_DELETE) ? rc->rc_nh_old : rc->rc_nh_new); in rc_get_nhop()
/freebsd/sys/netinet6/
H A Dnd6_rtr.c696 struct nhop_object *nh = nhop_select_func(rc.rc_nh_new, 0); in defrouter_addreq()