/darwin-on-arm/xnu/bsd/net/ |
H A D | radix.c | 117 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg)) 944 struct radix_node *rn, *last; local 968 for (rn = h->rnh_treetop; rn->rn_bit >= 0; ) { 969 last = rn; 970 if (!(rn->rn_bmask & xm[rn->rn_offset])) 973 if (rn->rn_bmask & xa[rn 1066 struct radix_node *rn; local [all...] |
H A D | route.c | 713 rn_match_ifscope(struct radix_node *rn, void *arg) argument 715 struct rtentry *rt = (struct rtentry *)rn; 1603 struct radix_node *rn; local 1679 if ((rn = rnh->rnh_deladdr(dst, netmask, rnh)) == NULL) 1681 if (rn->rn_flags & (RNF_ACTIVE | RNF_ROOT)) 1683 rt = (struct rtentry *)rn; 1915 rn = rnh->rnh_addaddr((caddr_t)ndst, (caddr_t)netmask, 1917 if (rn == 0) { 1942 rn = rnh->rnh_addaddr((caddr_t)ndst, 1955 if (rn 2099 rt_fixdelete(struct radix_node *rn, void *vp) argument 2136 rt_fixchange(struct radix_node *rn, void *vp) argument 2564 struct radix_node *rn; local 2638 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 | 110 static int sysctl_dumpentry(struct radix_node *rn, void *vw); 111 static int sysctl_dumpentry_ext(struct radix_node *rn, void *vw); 1383 sysctl_dumpentry(struct radix_node *rn, void *vw) argument 1386 struct rtentry *rt = (struct rtentry *)rn; 1449 sysctl_dumpentry_ext(struct radix_node *rn, void *vw) argument 1452 struct rtentry *rt = (struct rtentry *)rn;
|
H A D | ntstat.c | 392 struct radix_node *rn, 396 struct rtentry *rt = (struct rtentry *)rn; 391 nstat_route_walktree_add( struct radix_node *rn, void *context) argument
|
H A D | if.c | 3235 * rn pointer to node in the routing table 3244 if_rtdel(struct radix_node *rn, void *arg) argument 3246 struct rtentry *rt = (struct rtentry *)rn; 3295 if_rtmtu(struct radix_node *rn, void *arg) argument 3297 struct rtentry *rt = (struct rtentry *)rn;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_rmx.c | 285 struct radix_node *rn; local 289 rn = rn_delete(v_arg, netmask_arg, head); 290 if (rn != NULL) { 291 struct rtentry *rt = (struct rtentry *)rn; 298 return (rn); 305 in6_validate(struct radix_node *rn) argument 307 struct rtentry *rt = (struct rtentry *)rn; 316 return (rn); 337 struct radix_node *rn = rn_match_args(v_arg, head, f, w); local 339 if (rn ! 370 in6_clsroute(struct radix_node *rn, __unused struct radix_node_head *head) argument 441 in6_rtqkill(struct radix_node *rn, void *rock) argument 561 in6_mtuexpire(struct radix_node *rn, void *rock) argument [all...] |
H A D | nd6_rtr.c | 4144 struct radix_node *rn, 4147 struct rtentry *rt = (struct rtentry *)rn; 4143 rt6_deleteroute( struct radix_node *rn, void *arg) argument
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_rmx.c | 200 in_validate(struct radix_node *rn) argument 202 struct rtentry *rt = (struct rtentry *)rn; 220 return (rn); 241 struct radix_node *rn = rn_match_args(v_arg, head, f, w); local 243 if (rn != NULL) { 244 RT_LOCK_SPIN((struct rtentry *)rn); 245 in_validate(rn); 246 RT_UNLOCK((struct rtentry *)rn); 248 return (rn); 295 in_clsroute(struct radix_node *rn, __unuse argument 360 in_rtqkill(struct radix_node *rn, void *rock) argument 535 in_ifadownkill(struct radix_node *rn, void *xap) argument [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_subs.c | 2419 struct radix_node *rn; local 2502 rn = (*rnh->rnh_addaddr)((caddr_t)saddr, (caddr_t)smask, rnh, no->no_rnodes); 2503 if (rn == 0) { 2513 rn = (*rnh->rnh_matchaddr)((caddr_t)saddr, rnh); 2514 rn_no = (struct nfs_netopt *)rn; 2515 if (rn != 0 && (rn->rn_flags & RNF_ROOT) == 0 && 2576 nfsrv_free_netopt(struct radix_node *rn, void *w) argument 2581 struct nfs_netopt *nno = (struct nfs_netopt *)rn; 2583 (*rnh->rnh_deladdr)(rn 2599 struct radix_node *rn; local [all...] |
/darwin-on-arm/xnu/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);
|