Searched refs:rc_rt (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/net/ |
H A D | rtsock.c | 284 rt_routemsg(rc->rc_cmd, rc->rc_rt, nh, fibnum); in report_route_event() 797 rc->rc_rt = (struct rtentry *) rnh->rnh_matchaddr( in handle_rtm_get() 800 rc->rc_rt = (struct rtentry *) rnh->rnh_lookup( in handle_rtm_get() 804 if (rc->rc_rt == NULL) { in handle_rtm_get() 809 nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]); in handle_rtm_get() 841 rc->rc_rt = (struct rtentry *)rnh->rnh_matchaddr( in handle_rtm_get() 843 if (rc->rc_rt == NULL) { in handle_rtm_get() 847 nh = select_nhop(rt_get_raw_nhop(rc->rc_rt), info->rti_info[RTAX_GATEWAY]); in handle_rtm_get() 854 rc->rc_nh_weight = rc->rc_rt->rt_weight; in handle_rtm_get() 983 export_rtaddrs(rc->rc_rt, &sa_dst.sa, &sa_mask.sa); in update_rtm_from_rc() [all …]
|
/freebsd/sys/net/route/ |
H A D | route_helpers.c | 302 struct rib_cmd_info rc_del = { .rc_cmd = RTM_DELETE, .rc_rt = rc->rc_rt }; in decompose_change_notification() 303 struct rib_cmd_info rc_add = { .rc_cmd = RTM_ADD, .rc_rt = rc->rc_rt }; in decompose_change_notification()
|
H A D | route_ctl.c | 604 rt_free(rc->rc_rt); in rib_del_route_px() 984 rt_free(rc->rc_rt); in rib_del_route() 1238 rc->rc_rt = rt; in add_route() 1272 rc->rc_rt = rt; in delete_route() 1308 rc->rc_rt = rt; in change_route() 1509 di.rc.rc_rt = rt; in rib_walk_del()
|
H A D | route_ifaddrs.c | 85 rt_routemsg(cmd, rc.rc_rt, nh, fibnum); in rib_handle_ifaddr_one()
|
H A D | route_ctl.h | 42 struct rtentry *rc_rt; /* Target entry */ member
|
H A D | fib_algo.c | 718 rt_get_inet_prefix_plen(rc->rc_rt, &ce->addr4, &plen, &ce->scopeid); in fill_change_entry() 723 rt_get_inet6_prefix_plen(rc->rc_rt, &ce->addr6, &plen, &ce->scopeid); in fill_change_entry()
|
/freebsd/sys/netlink/route/ |
H A D | rt.c | 354 uint32_t group_id = family_to_group(rt_get_family(rc->rc_rt)); in report_operation() 377 dump_px(fibnum, hdr, rc->rc_rt, &rnd, &nw); in report_operation() 1063 family = rt_get_family(rc->rc_rt); in rtnl_handle_route_event() 1084 rt_print_buf(rc->rc_rt, rtbuf, sizeof(rtbuf)), in rtnl_handle_route_event() 1105 dump_px(fibnum, &hdr, rc->rc_rt, &rnd, &nw);
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | dpdk_lpm.c | 224 rt_get_inet_prefix_plen(rc->rc_rt, &addr4, &plen, &scopeid); in handle_rtable_change_cb()
|
H A D | dpdk_lpm6.c | 255 rt_get_inet6_prefix_plen(rc->rc_rt, &addr6, &plen, &scopeid); in handle_any_change()
|
/freebsd/sys/netinet6/ |
H A D | nd6_rtr.c | 697 rt_routemsg(RTM_ADD, rc.rc_rt, nh, fibnum); in defrouter_addreq() 731 rt_routemsg(RTM_DELETE, rc.rc_rt, nh, fibnum); in defrouter_delreq()
|