/xnu-2422.115.4/bsd/net/ |
H A D | radix.c | 113 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg)) 941 struct radix_node *rn, *last; local 965 for (rn = h->rnh_treetop; rn->rn_bit >= 0; ) { 966 last = rn; 967 if (!(rn->rn_bmask & xm[rn->rn_offset])) 970 if (rn->rn_bmask & xa[rn 1063 struct radix_node *rn; local [all...] |
H A D | route.c | 795 rn_match_ifscope(struct radix_node *rn, void *arg) argument 797 struct rtentry *rt = (struct rtentry *)rn; 1683 struct radix_node *rn; local 1759 if ((rn = rnh->rnh_deladdr(dst, netmask, rnh)) == NULL) 1761 if (rn->rn_flags & (RNF_ACTIVE | RNF_ROOT)) { 1765 rt = (struct rtentry *)rn; 2029 rn = rnh->rnh_addaddr((caddr_t)ndst, (caddr_t)netmask, 2031 if (rn == 0) { 2056 rn = rnh->rnh_addaddr((caddr_t)ndst, 2068 if (rn 2213 rt_fixdelete(struct radix_node *rn, void *vp) argument 2250 rt_fixchange(struct radix_node *rn, void *vp) argument 2678 struct radix_node *rn; local 2752 struct radix_node *rn0, *rn; local [all...] |
H A D | radix.h | 179 (struct radix_node *rn, struct radix_node_head *head);
|
H A D | pf_table.c | 996 struct radix_node *rn; local 1011 rn = rn_addroute(&ke->pfrke_sa, &mask, head, ke->pfrke_node); 1013 rn = rn_addroute(&ke->pfrke_sa, NULL, head, ke->pfrke_node); 1015 return (rn == NULL ? -1 : 0); 1022 struct radix_node *rn; local 1036 rn = rn_delete(&ke->pfrke_sa, &mask, head); 1038 rn = rn_delete(&ke->pfrke_sa, NULL, head); 1040 if (rn == NULL) { 1063 pfr_walktree(struct radix_node *rn, void *arg) argument 1065 struct pfr_kentry *ke = (struct pfr_kentry *)rn; [all...] |
H A D | rtsock.c | 135 static int sysctl_dumpentry(struct radix_node *rn, void *vw); 136 static int sysctl_dumpentry_ext(struct radix_node *rn, void *vw); 1443 sysctl_dumpentry(struct radix_node *rn, void *vw) argument 1446 struct rtentry *rt = (struct rtentry *)rn; 1509 sysctl_dumpentry_ext(struct radix_node *rn, void *vw) argument 1512 struct rtentry *rt = (struct rtentry *)rn;
|
H A D | if.c | 3394 * rn pointer to node in the routing table 3403 if_rtdel(struct radix_node *rn, void *arg) argument 3405 struct rtentry *rt = (struct rtentry *)rn; 3452 if_rtmtu(struct radix_node *rn, void *arg) argument 3454 struct rtentry *rt = (struct rtentry *)rn;
|
H A D | ntstat.c | 405 struct radix_node *rn, 409 struct rtentry *rt = (struct rtentry *)rn; 404 nstat_route_walktree_add( struct radix_node *rn, void *context) argument
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | in_rmx.c | 253 struct radix_node *rn; local 257 rn = rn_delete(v_arg, netmask_arg, head); 258 if (rt_verbose > 1 && rn != NULL) { 260 struct rtentry *rt = (struct rtentry *)rn; 269 return (rn); 276 in_validate(struct radix_node *rn) argument 278 struct rtentry *rt = (struct rtentry *)rn; 304 return (rn); 325 struct radix_node *rn = rn_match_args(v_arg, head, f, w); local 327 if (rn ! 358 in_clsroute(struct radix_node *rn, struct radix_node_head *head) argument 458 in_rtqkill(struct radix_node *rn, void *rock) argument 707 in_ifadownkill(struct radix_node *rn, void *xap) argument [all...] |
/xnu-2422.115.4/bsd/netinet6/ |
H A D | in6_rmx.c | 335 struct radix_node *rn; local 339 rn = rn_delete(v_arg, netmask_arg, head); 340 if (rn != NULL) { 341 struct rtentry *rt = (struct rtentry *)rn; 357 return (rn); 364 in6_validate(struct radix_node *rn) argument 366 struct rtentry *rt = (struct rtentry *)rn; 392 return (rn); 413 struct radix_node *rn = rn_match_args(v_arg, head, f, w); local 415 if (rn ! 445 in6_clsroute(struct radix_node *rn, struct radix_node_head *head) argument 547 in6_rtqkill(struct radix_node *rn, void *rock) argument [all...] |
H A D | nd6_rtr.c | 4206 struct radix_node *rn, 4209 struct rtentry *rt = (struct rtentry *)rn; 4205 rt6_deleteroute( struct radix_node *rn, void *arg) argument
|
/xnu-2422.115.4/tools/lldbmacros/ |
H A D | net.py | 699 rn = Cast(rt_tables.rnh_treetop, 'radix_node *') 702 while (rn.rn_bit >= 0): 703 rn = rn.rn_u.rn_node.rn_L 706 base = Cast(rn, 'radix_node *') 707 while ((rn.rn_parent.rn_u.rn_node.rn_R == rn) and (rn.rn_flags & RNF_ROOT == 0)): 708 rn = rn [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_subs.c | 2471 struct radix_node *rn; local 2555 rn = (*rnh->rnh_addaddr)((caddr_t)saddr, (caddr_t)smask, rnh, no->no_rnodes); 2556 if (rn == 0) { 2566 rn = (*rnh->rnh_matchaddr)((caddr_t)saddr, rnh); 2567 rn_no = (struct nfs_netopt *)rn; 2568 if (rn != 0 && (rn->rn_flags & RNF_ROOT) == 0 && 2629 nfsrv_free_netopt(struct radix_node *rn, void *w) argument 2634 struct nfs_netopt *nno = (struct nfs_netopt *)rn; 2636 (*rnh->rnh_deladdr)(rn 2652 struct radix_node *rn; local [all...] |
/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccn.h | 462 void ccn_gcdn(cc_size rn, cc_unit *r, cc_size sn, const cc_unit *s, cc_size tn, const cc_unit *t);
|