/dragonfly/sys/netinet6/ |
H A D | in6_rmx.c | 376 arg.rnh = rnh; in in6_rtqtimo_dispatch() 379 rnh->rnh_walktree(rnh, in6_rtqkill, &arg); in in6_rtqtimo_dispatch() 404 rnh->rnh_walktree(rnh, in6_rtqkill, &arg); in in6_rtqtimo_dispatch() 479 arg.rnh = rnh; in in6_mtutimo_dispatch() 481 rnh->rnh_walktree(rnh, in6_mtuexpire, &arg); in in6_mtutimo_dispatch() 504 arg.rnh = rnh; 509 rnh->rnh_walktree(rnh, in6_rtqkill, &arg); 524 rnh = *head; in in6_inithead() 530 *head = rnh; in in6_inithead() 536 ctx->timo_rnh = rnh; in in6_inithead() [all …]
|
H A D | nd6_rtr.c | 1803 struct radix_node_head *rnh = rt_tables[mycpuid][AF_INET6]; in rt6_flush() local 1811 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway); in rt6_flush()
|
/dragonfly/sys/netinet/ |
H A D | in_rmx.c | 333 struct radix_node_head *rnh = pcpu->rnh; in in_rtqtimo_dispatch() local 343 arg.rnh = rnh; in in_rtqtimo_dispatch() 346 rnh->rnh_walktree(rnh, in_rtqkill, &arg); in in_rtqtimo_dispatch() 371 rnh->rnh_walktree(rnh, in_rtqkill, &arg); in in_rtqtimo_dispatch() 408 arg.rnh = rnh; in in_rtqdrain_oncpu() 412 rnh->rnh_walktree(rnh, in_rtqkill, &arg); in in_rtqdrain_oncpu() 486 rnh = *head; in in_inithead() 492 *head = rnh; in in_inithead() 498 pcpu->rnh = rnh; in in_inithead() 572 arg.rnh = rnh = rt_tables[cpu][AF_INET]; in in_ifadown_dispatch() [all …]
|
/dragonfly/sys/net/ipfw3_basic/ |
H A D | ip_fw3_table.c | 143 struct radix_node_head *rnh; in table_append_dispatch() local 168 if (rnh->rnh_addaddr(&ent->addr, &ent->mask, rnh, ent->rn) in table_append_dispatch() 182 if (rnh->rnh_addaddr(&ent->addr, NULL, rnh, ent->rn) != NULL) in table_append_dispatch() 197 struct radix_node_head *rnh; in table_remove_dispatch() local 209 rnh = table_ctx->node; in table_remove_dispatch() 218 ent = (struct table_entry *)rnh->rnh_deladdr(&sa, &mask, rnh); in table_remove_dispatch() 245 rnh = table_ctx->node; in table_flush_dispatch() 394 rnh->rnh_walktree(rnh, dump_table_ip_entry, tbl); in ip_fw3_ctl_table_show() 412 rnh->rnh_walktree(rnh, dump_table_mac_entry, tbl); in ip_fw3_ctl_table_show() 444 if (rnh->rnh_lookup(&sa, NULL, rnh) != NULL) in ip_fw3_ctl_table_test() [all …]
|
H A D | ip_fw3_basic.c | 302 struct radix_node_head *rnh; in check_from_lookup() local 315 rnh = table_ctx->node; in check_from_lookup() 318 if (rnh->rnh_lookup(&sa, NULL, rnh) != NULL) in check_from_lookup() 395 struct radix_node_head *rnh; in check_to_lookup() local 408 rnh = table_ctx->node; in check_to_lookup() 411 if (rnh->rnh_lookup(&sa, NULL, rnh) != NULL) in check_to_lookup()
|
/dragonfly/sys/net/ |
H A D | route.c | 243 if (rnh == NULL) in _rtlookup() 249 rt = (struct rtentry *) rnh->rnh_matchaddr(dst, rnh); in _rtlookup() 298 rnh->rnh_close((struct radix_node *)rt, rnh); in rtfree() 829 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt), in rtrequest1() 1012 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt), in rtrequest1() 1101 struct radix_node_head *rnh = ap->rnh; in rt_fixchange() local 1278 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt), in rt_setgate() 1371 rnh->rnh_walktree(rnh, rt_purgecloned_callback, &arg); in rt_purgecloned() 1581 (rn = rnh->rnh_lookup(dst, netmask, rnh)) == NULL || in rtinit() 1704 rnh->rnh_lookup(rtinfo.rti_dst, rtinfo.rti_netmask, rnh); in rtsearch_msghandler() [all …]
|
H A D | radix.c | 1242 struct radix_node_head *rnh; in rn_inithead() local 1248 R_Malloc(rnh, struct radix_node_head *, sizeof *rnh); in rn_inithead() 1249 if (rnh == NULL) in rn_inithead() 1257 bzero(rnh, sizeof *rnh); in rn_inithead() 1258 *head = rnh; in rn_inithead() 1261 right = &rnh->rnh_nodes[2]; in rn_inithead() 1273 rnh->rnh_treetop = root; in rn_inithead() 1274 rnh->rnh_maskhead = maskhead; in rn_inithead() 1277 rnh->rnh_deladdr = rn_delete; in rn_inithead() 1278 rnh->rnh_matchaddr = rn_match; in rn_inithead() [all …]
|
H A D | rtsock.c | 1779 struct radix_node_head *rnh = rt_tables[mycpuid][nmsg->af]; in rttable_walk_dispatch() local 1783 error = rnh->rnh_walktree_at(rnh, w->w_key, w->w_mask, in rttable_walk_dispatch()
|
H A D | if.c | 920 struct radix_node_head *rnh; in if_rtdel_dispatch() local 922 if ((rnh = rt_tables[cpu][i]) == NULL) in if_rtdel_dispatch() 924 rnh->rnh_walktree(rnh, if_rtdel, rmsg->ifp); in if_rtdel_dispatch()
|
/dragonfly/sys/net/ipfw3_layer2/ |
H A D | ip_fw3_layer2.c | 115 struct radix_node_head *rnh; in check_mac_from_lookup() local 120 rnh = table_ctx->node; in check_mac_from_lookup() 128 ent = (struct table_mac_entry *)rnh->rnh_lookup(&sa, NULL, rnh); in check_mac_from_lookup() 158 struct radix_node_head *rnh; in check_mac_to_lookup() local 163 rnh = table_ctx->node; in check_mac_to_lookup() 171 ent = (struct table_mac_entry *)rnh->rnh_lookup(&sa, NULL, rnh); in check_mac_to_lookup()
|
/dragonfly/sys/netproto/mpls/ |
H A D | mpls_proto.c | 69 struct radix_node_head *rnh; in mpls_inithead() local 71 rnh = *head; in mpls_inithead() 72 KKASSERT(rnh == rt_tables[mycpuid][AF_MPLS]); in mpls_inithead() 74 if (!rn_inithead(&rnh, rn_cpumaskhead(mycpuid), off)) in mpls_inithead() 77 *head = rnh; in mpls_inithead()
|
/dragonfly/sys/kern/ |
H A D | vfs_subr.c | 2027 struct radix_node_head *rnh; in vfs_hang_addrlist() local 2075 rn = rnh->rnh_addaddr(saddr, smask, rnh, np->netc_rnodes); in vfs_hang_addrlist() 2123 nep->ne_inethead = rnh; in vfs_create_addrlist_af() 2133 nep->ne_inet6head = rnh; in vfs_create_addrlist_af() 2138 return (rnh); in vfs_create_addrlist_af() 2281 struct radix_node_head *rnh; in vfs_export_lookup() local 2295 rnh = nep->ne_inethead; in vfs_export_lookup() 2300 rnh = nep->ne_inet6head; in vfs_export_lookup() 2304 rnh = NULL; in vfs_export_lookup() 2306 if (rnh != NULL) { in vfs_export_lookup() [all …]
|
/dragonfly/sys/net/ipfw/ |
H A D | ip_fw2.c | 6126 rnh->rnh_walktree(rnh, ipfw_table_cntent, &cnt); in ipfw_table_get() 6139 rnh->rnh_walktree(rnh, ipfw_table_cpent, &cp); in ipfw_table_get() 6190 rn = rnh->rnh_deladdr(nm->key, nm->netmask, rnh); in ipfw_table_del_dispatch() 6276 rnh->rnh_walktree(rnh, ipfw_table_zeroent, NULL); in ipfw_table_zero_dispatch() 6293 rnh->rnh_walktree(rnh, ipfw_table_zeroent, NULL); in ipfw_table_zeroall_dispatch() 6357 nm->rnh = rnh; in ipfw_table_expire_dispatch() 6358 rnh->rnh_walktree(rnh, ipfw_table_killexp, nm); in ipfw_table_expire_dispatch() 6381 nm->rnh = rnh; in ipfw_table_expireall_dispatch() 6382 rnh->rnh_walktree(rnh, ipfw_table_killexp, nm); in ipfw_table_expireall_dispatch() 6446 rnh->rnh_walktree(rnh, ipfw_table_markexp, &nm); in ipfw_table_expire() [all …]
|
/dragonfly/usr.bin/netstat/ |
H A D | route.c | 131 struct radix_node_head *rnh, head; in routepr() local 152 if ((rnh = rt_tables[i]) == NULL) in routepr() 154 if (kget(rnh, head) != 0) in routepr()
|