Searched refs:rnh (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/net/
H A Drtbl.c138 struct radix_node_head *rnh = &t->t_rnh; local
141 rn = rnh->rnh_matchaddr(dst, rnh);
150 struct radix_node_head *rnh = &t->t_rnh; local
153 rn = rnh->rnh_addaddr(rt_getkey(rt), netmask, rnh, rt->rt_nodes);
161 struct radix_node_head *rnh = &t->t_rnh; local
164 rn = rnh->rnh_lookup(dst, netmask, rnh);
174 struct radix_node_head *rnh local
[all...]
H A Dradix.c1034 struct radix_node_head *rnh; local
1038 R_Malloc(rnh, struct radix_node_head *, sizeof (*rnh));
1039 if (rnh == NULL)
1041 *head = rnh;
1042 return rn_inithead0(rnh, off);
1046 rn_inithead0(struct radix_node_head *rnh, int off) argument
1052 memset(rnh, 0, sizeof(*rnh));
1053 t = rn_newpair(rn_zeros, off, rnh
[all...]
/netbsd-6-1-5-RELEASE/sys/netatalk/
H A Dat_rmx.c151 struct radix_node_head *rnh; local
156 rnh = *head;
157 rnh->rnh_addaddr = at_addroute;
158 rnh->rnh_deladdr = at_delroute;
159 rnh->rnh_matchaddr = at_matroute;
160 rnh->rnh_lookup = at_lookup;
/netbsd-6-1-5-RELEASE/dist/ipf/
H A Dradix.c972 struct radix_node_head *rnh; local
976 R_Malloc(rnh, struct radix_node_head *, sizeof (*rnh));
977 if (rnh == 0)
979 *head = rnh;
980 return rn_inithead0(rnh, off);
984 rn_inithead0(struct radix_node_head *rnh, int off) argument
988 Bzero(rnh, sizeof (*rnh));
989 t = rn_newpair(rn_zeros, off, rnh
1037 struct radix_node_head *rnh = p; local
1049 rn_freehead(struct radix_node_head *rnh) argument
1097 struct radix_node_head *rnh; local
[all...]
H A Dip_pool.c952 struct radix_node_head *rnh = p; local
955 d = rnh->rnh_deladdr(n->rn_key, NULL, rnh);
964 rn_freehead(struct radix_node_head *rnh) argument
967 RADIX_NODE_HEAD_LOCK(rnh);
969 rn_walktree(rnh, rn_freenode, rnh);
971 (*rnh->rnh_walktree)(rnh, rn_freenode, rnh);
[all...]
/netbsd-6-1-5-RELEASE/sys/nfs/
H A Dnfs_export.c512 struct radix_node_head *rnh; local
557 if ((rnh = nep->ne_rtable[i]) == 0) {
569 if ((rnh = nep->ne_rtable[i]) == 0) {
575 enp = (struct netcred *)(*rnh->rnh_addaddr)(saddr, smask, rnh,
579 enp = (struct netcred *)(*rnh->rnh_lookup)(saddr,
580 smask, rnh);
652 struct radix_node_head *rnh = (struct radix_node_head *)w; local
655 (*rnh->rnh_deladdr)(rn->rn_key, rn->rn_mask, rnh);
670 struct radix_node_head *rnh; local
820 struct radix_node_head *rnh; local
[all...]
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dip_encap.c183 struct radix_node_head *rnh = encap_rnh(AF_INET); local
209 rn = rnh->rnh_matchaddr((void *)&pack, rnh);
307 struct radix_node_head *rnh = encap_rnh(AF_INET6); local
333 rn = rnh->rnh_matchaddr((void *)&pack, rnh);
401 struct radix_node_head *rnh = encap_rnh(ep->af); local
407 if (!ep->func && rnh) {
408 if (!rnh->rnh_addaddr((void *)ep->addrpack,
409 (void *)ep->maskpack, rnh, e
426 struct radix_node_head *rnh = encap_rnh(ep->af); local
[all...]
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_pool.c965 struct radix_node_head *rnh = p; local
968 d = rnh->rnh_deladdr(n->rn_key, NULL, rnh);
977 rn_freehead(struct radix_node_head *rnh) argument
980 RADIX_NODE_HEAD_LOCK(rnh);
982 rn_walktree(rnh, rn_freenode, rnh);
984 (*rnh->rnh_walktree)(rnh, rn_freenode, rnh);
[all...]
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Dradix.c855 struct radix_node_head *rnh; local
859 rnh = (struct radix_node_head *)rtmalloc(sizeof(*rnh), "rn_inithead");
860 Bzero(rnh, sizeof (*rnh));
861 *head = rnh;
862 t = rn_newpair(rn_zeros, off, rnh->rnh_nodes);
863 ttt = rnh->rnh_nodes + 2;
871 rnh->rnh_addaddr = rn_addroute;
872 rnh
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/netstat/
H A Droute.c105 struct radix_node_head *rnh, head; local
118 if ((rnh = rt_nodes[i]) == 0)
120 kget(rnh, head);

Completed in 167 milliseconds