• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/bsd/net/

Lines Matching defs:rnh

911 	struct radix_node_head *rnh = rt_tables[dst->sa_family];
917 if (rnh == NULL)
924 rt = rt_lookup(FALSE, dst, NULL, rnh, ifscope);
1024 struct radix_node_head *rnh;
1084 * Note: in the case of igmp packets, there might not be an rnh
1086 rnh = rt_tables[rt_key(rt)->sa_family];
1096 if (rnh != NULL && rnh->rnh_close != NULL)
1097 rnh->rnh_close((struct radix_node *)rt, rnh);
1636 struct radix_node_head *rnh;
1684 struct radix_node_head *rnh;
1698 if ((rnh = rt_tables[af]) == NULL)
1759 if ((rn = rnh->rnh_deladdr(dst, netmask, rnh)) == NULL)
1805 rnh->rnh_walktree_from(rnh, dst, rt_mask(rt),
2021 * This moved from below so that rnh->rnh_addaddr() can
2029 rn = rnh->rnh_addaddr((caddr_t)ndst, (caddr_t)netmask,
2030 rnh, rt->rt_nodes);
2056 rn = rnh->rnh_addaddr((caddr_t)ndst,
2057 (caddr_t)netmask, rnh, rt->rt_nodes);
2160 arg.rnh = rnh;
2163 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt),
2209 * rnh->rnh_walktree_from() above, and those that actually are children of
2255 struct radix_node_head *rnh = ap->rnh;
2294 for (i = rnh->rnh_treetop->rn_offset; i < mlen; i++) {
2302 for (i = rnh->rnh_treetop->rn_offset; i < len; i++) {
2345 struct radix_node_head *rnh = rt_tables[dst->sa_family];
2580 arg.rnh = rnh;
2583 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt),
2677 struct radix_node_head *rnh;
2688 rnh = rt_tables[af];
2703 rn = rnh->rnh_lookup_args(dst, netmask, rnh, f, w);
2716 struct radix_node_head *rnh;
2719 rnh = rt_tables[af];
2721 return (af == AF_INET ? rnh->rnh_lookup(&sin_def, NULL, rnh) :
2722 rnh->rnh_lookup(&sin6_def, NULL, rnh));
2750 struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope)
2781 rn = rnh->rnh_matchaddr(dst, rnh);
2926 struct radix_node_head *rnh, unsigned int ifscope)
2929 rnh, ifscope));
2934 struct sockaddr *netmask, struct radix_node_head *rnh)
2937 rnh, IFSCOPE_NONE));
2980 struct radix_node_head *rnh;
3028 if ((rnh = rt_tables[dst->sa_family]) == NULL) {
3056 rt = rt_lookup_coarse(TRUE, dst, NULL, rnh);
3314 struct radix_node_head *rnh = rt_tables[rt_key(rt)->sa_family];
3322 if (rnh != NULL && rt_mask(rt)) {
3323 rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt),