| /xnu-12377.1.9/bsd/netinet/ |
| H A D | in_rmx.c | 462 struct radix_node_head *rnh; member 576 struct radix_node_head *rnh; in in_rtqtimo() local 585 rnh = rt_tables[AF_INET]; in in_rtqtimo() 586 VERIFY(rnh != NULL); in in_rtqtimo() 595 arg.rnh = rnh; in in_rtqtimo() 597 rnh->rnh_walktree(rnh, in_rtqkill, &arg); in in_rtqtimo() 626 rnh->rnh_walktree(rnh, in_rtqkill, &arg); in in_rtqtimo() 667 struct radix_node_head *rnh; in in_rtqdrain() local 675 rnh = rt_tables[AF_INET]; in in_rtqdrain() 676 VERIFY(rnh != NULL); in in_rtqdrain() [all …]
|
| H A D | in_arp.c | 1255 struct radix_node_head *rnh = NULL; in arp_send_probe_notification() local 1264 rnh = rt_tables[AF_INET]; in arp_send_probe_notification() 1266 if (rnh != NULL) { in arp_send_probe_notification() 1267 (void) rnh->rnh_walktree(rnh, in arp_send_probe_notification() 2139 struct radix_node_head *rnh = NULL; in arp_ip_handle_input() local 2148 rnh = rt_tables[AF_INET]; in arp_ip_handle_input() 2150 if (rnh != NULL) { in arp_ip_handle_input() 2151 (void) rnh->rnh_walktree(rnh, route_event_walktree, in arp_ip_handle_input()
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | in6_rmx.c | 550 struct radix_node_head *rnh; member 667 struct radix_node_head *__single rnh; in in6_rtqtimo() local 676 rnh = rt_tables[AF_INET6]; in in6_rtqtimo() 677 VERIFY(rnh != NULL); in in6_rtqtimo() 686 arg.rnh = rnh; in in6_rtqtimo() 688 rnh->rnh_walktree(rnh, in6_rtqkill, &arg); in in6_rtqtimo() 717 rnh->rnh_walktree(rnh, in6_rtqkill, &arg); in in6_rtqtimo() 758 struct radix_node_head *__single rnh; in in6_rtqdrain() local 766 rnh = rt_tables[AF_INET6]; in in6_rtqdrain() 767 VERIFY(rnh != NULL); in in6_rtqdrain() [all …]
|
| H A D | nd6_nbr.c | 1147 struct radix_node_head *__single rnh = NULL; in nd6_na_input() local 1163 rnh = rt_tables[AF_INET6]; in nd6_na_input() 1165 if (rnh != NULL) { in nd6_na_input() 1166 (void) rnh->rnh_walktree(rnh, route_event_walktree, in nd6_na_input() 1285 struct radix_node_head *__single rnh = NULL; in nd6_na_input() local 1302 rnh = rt_tables[AF_INET6]; in nd6_na_input() 1304 if (rnh != NULL) { in nd6_na_input() 1305 (void) rnh->rnh_walktree(rnh, route_event_walktree, in nd6_na_input()
|
| H A D | nd6.c | 794 radix_node_head_ref_t rnh = rt_tables[AF_INET6]; in nd6_service_neighbor_cache() local 1030 (void) rnh->rnh_walktree(rnh, route_event_walktree, (void *)&rt_ev); in nd6_service_neighbor_cache() 1054 (void) rnh->rnh_walktree(rnh, route_event_walktree, (void *)&rt_ev); in nd6_service_neighbor_cache() 1144 (void) rnh->rnh_walktree(rnh, in nd6_service_neighbor_cache() 3773 radix_node_head_ref_t rnh = NULL; in nd6_cache_lladdr() local 3788 rnh = rt_tables[AF_INET6]; in nd6_cache_lladdr() 3789 if (rnh != NULL) { in nd6_cache_lladdr() 3790 (void) rnh->rnh_walktree(rnh, route_event_walktree, in nd6_cache_lladdr()
|
| H A D | nd6_rtr.c | 4461 radix_node_head_ref_t rnh = rt_tables[AF_INET6]; in rt6_flush() local 4473 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway); in rt6_flush()
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | route.c | 1032 struct radix_node_head *rnh = rt_tables[dst->sa_family]; in rtalloc1_common_locked() local 1040 if (rnh == NULL) { in rtalloc1_common_locked() 1055 rt = rt_lookup(FALSE, dst, NULL, rnh, ifscope); in rtalloc1_common_locked() 1208 struct radix_node_head *rnh; in rtfree_common() local 1270 rnh = rt_tables[rt_key(rt)->sa_family]; in rtfree_common() 1280 if (rnh != NULL && rnh->rnh_close != NULL) { in rtfree_common() 1281 rnh->rnh_close(RN(rt), rnh); in rtfree_common() 1874 struct radix_node_head *rnh; member 1923 struct radix_node_head *rnh; in rtrequest_common_locked() local 1949 if ((rnh = rt_tables[af]) == NULL) { in rtrequest_common_locked() [all …]
|
| H A D | radix.c | 1388 struct radix_node_head *rnh; in rn_inithead() local 1397 rnh = zalloc_flags(radix_node_head_zone, Z_WAITOK_ZERO_NOFAIL); in rn_inithead() 1398 *head = rnh; in rn_inithead() 1399 t = rn_newpair(rn_zeros, (int8_t)MAX_KEYLEN, off, rnh->rnh_nodes); in rn_inithead() 1400 ttt = rnh->rnh_nodes + 2; in rn_inithead() 1408 rnh->rnh_addaddr = rn_addroute; in rn_inithead() 1409 rnh->rnh_deladdr = rn_delete; in rn_inithead() 1410 rnh->rnh_matchaddr = rn_match; in rn_inithead() 1411 rnh->rnh_matchaddr_args = rn_match_args; in rn_inithead() 1412 rnh->rnh_lookup = rn_lookup; in rn_inithead() [all …]
|
| H A D | rtsock.c | 328 struct radix_node_head *rnh; in route_output() local 618 rnh = rt_tables[info.rti_info[RTAX_DST]->sa_family]; in route_output() 619 if (rnh == NULL) { in route_output() 627 info.rti_info[RTAX_NETMASK], rnh, ifscope); in route_output() 794 (void) rnh->rnh_walktree(rnh, route_event_walktree, (void *)&rt_ev); in route_output() 2409 struct radix_node_head *rnh; variable 2432 if ((rnh = rt_tables[i]) && (af == 0 || af == i) && 2433 (error = rnh->rnh_walktree(rnh, 2444 if ((rnh = rt_tables[i]) && (af == 0 || af == i) && 2445 (error = rnh->rnh_walktree(rnh,
|
| H A D | if_llreach.c | 408 struct radix_node_head *rnh; in ifnet_llreach_get_defrouter() local 418 if ((rnh = rt_tables[af]) == NULL) { in ifnet_llreach_get_defrouter() 429 rt = rt_lookup(TRUE, SA(&dst_ss), SA(&mask_ss), rnh, ifp->if_index); in ifnet_llreach_get_defrouter()
|
| H A D | if.c | 6138 struct radix_node_head *rnh; in if_rtproto_del() local 6141 ((rnh = rt_tables[protocol]) != NULL) && (ifp != NULL)) { in if_rtproto_del() 6143 (void) rnh->rnh_walktree(rnh, if_rtdel, ifp); in if_rtproto_del() 6184 struct radix_node_head *__single rnh; in if_rtmtu_update() local 6188 if ((rnh = rt_tables[p]) == NULL) { in if_rtmtu_update() 6193 (void) rnh->rnh_walktree(rnh, if_rtmtu, ifp); in if_rtmtu_update()
|
| H A D | ntstat.c | 1316 struct radix_node_head *rnh = rt_tables[dst->sa_family]; in nstat_route_lookup() local 1317 if (rnh == NULL) { in nstat_route_lookup() 1322 struct rtentry *rt = rt_lookup(TRUE, dst, mask, rnh, param->ifindex); in nstat_route_lookup() 1441 struct radix_node_head *rnh; in nstat_route_add_watcher() local 1442 rnh = rt_tables[i]; in nstat_route_add_watcher() 1443 if (!rnh) { in nstat_route_add_watcher() 1447 result = rnh->rnh_walktree(rnh, nstat_route_walktree_add, client); in nstat_route_add_watcher()
|
| /xnu-12377.1.9/bsd/nfs/ |
| H A D | nfs_subs.c | 1341 struct radix_node_head *rnh; in nfsrv_hang_addrlist() local 1418 if ((rnh = nx->nx_rtable[family]) == 0) { in nfsrv_hang_addrlist() 1430 if ((rnh = nx->nx_rtable[family]) == 0) { in nfsrv_hang_addrlist() 1438 rn = (*rnh->rnh_addaddr)((caddr_t)saddr, (caddr_t)smask, rnh, no->no_rnodes); in nfsrv_hang_addrlist() 1449 rn = (*rnh->rnh_matchaddr)((caddr_t)saddr, rnh); in nfsrv_hang_addrlist() 1513 struct radix_node_head *rnh; member 1520 struct radix_node_head *rnh = fna->rnh; in nfsrv_free_netopt() local 1524 (*rnh->rnh_deladdr)(rn_get_key(rn), rn_get_mask(rn), rnh); in nfsrv_free_netopt() 1540 struct radix_node_head *rnh; in nfsrv_free_addrlist() local 1552 if ((rnh = nx->nx_rtable[i])) { in nfsrv_free_addrlist() [all …]
|