Searched refs:anchor (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_ruleset.c | 212 struct pf_anchor *anchor; local 218 anchor = pf_find_anchor(path); 219 if (anchor == NULL) 222 return (&anchor->ruleset); 229 struct pf_anchor *anchor; local 235 anchor = pf_find_anchor(path); 236 if (anchor == NULL) { 240 if ((owner && anchor->owner && (!strcmp(owner, anchor->owner))) 241 || (is_anchor && !strcmp(anchor 253 struct pf_anchor *anchor = 0, *dup, *parent = NULL; local [all...] |
H A D | pf_ioctl.c | 576 struct pf_anchor *anchor; 627 while ((anchor = RB_MIN(pf_anchor_global, &pf_anchors)) != NULL) { 629 if (pf_begin_rules(&ticket, i, anchor->name) == 0) 630 pf_commit_rules(ticket, i, anchor->name); 689 pf_get_pool(char *anchor, u_int32_t ticket, u_int8_t rule_action, argument 697 ruleset = pf_find_ruleset(anchor); 765 * the anchor under our feet. 1160 pf_begin_rules(u_int32_t *ticket, int rs_num, const char *anchor) argument 1167 rs = pf_find_or_create_ruleset(anchor); 1180 pf_rollback_rules(u_int32_t ticket, int rs_num, char *anchor) argument 1292 pf_commit_rules(u_int32_t ticket, int rs_num, char *anchor) argument 4182 struct pf_anchor *anchor; local 4206 struct pf_anchor *anchor; local [all...] |
H A D | if_pflog.c | 317 if (ruleset != NULL && ruleset->anchor != NULL) 318 strlcpy(hdr.ruleset, ruleset->anchor->name,
|
H A D | pf_table.c | 1770 pfr_fix_anchor(char *anchor) argument 1775 if (anchor[0] == '/') { 1779 path = anchor; 1783 bcopy(path, anchor, siz - off); 1784 memset(anchor + siz - off, 0, off); 1786 if (anchor[siz - 1]) 1788 for (i = strlen(anchor); i < (int)siz; i++) 1789 if (anchor[i]) 2101 struct pf_anchor *ac = rs->anchor;
|
H A D | pf.c | 431 if (s->anchor.ptr != NULL) { \ 432 s->anchor.ptr->states++; \ 433 VERIFY(s->anchor.ptr->states != 0); \ 447 if (s->anchor.ptr != NULL) { \ 448 VERIFY(s->anchor.ptr->states > 0); \ 449 s->anchor.ptr->states--; \ 1681 if (cur->anchor.ptr != NULL) { 1682 VERIFY(cur->anchor.ptr->states > 0); 1683 if (--cur->anchor.ptr->states <= 0) 1684 pf_rm_rule(NULL, cur->anchor [all...] |
H A D | pfvar.h | 707 struct pf_anchor *anchor __attribute__((aligned(8))); member in struct:pf_rule 1037 union pf_rule_ptr anchor; member in struct:pf_state 1109 u_int32_t anchor; member in struct:pfsync_state 1197 struct pf_anchor *anchor; member in struct:pf_ruleset 1213 int refcnt; /* anchor rules */ 1739 char anchor[MAXPATHLEN]; member in struct:pfioc_pooladdr 1748 char anchor[MAXPATHLEN]; member in struct:pfioc_rule 1944 char anchor[MAXPATHLEN]; member in struct:pfioc_trans::pfioc_trans_e
|
H A D | pf_norm.c | 1563 if (r->anchor == NULL) 1840 if (r->anchor == NULL) 2132 if (r->anchor == NULL) {
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | simple_lock.h | 156 unsigned int *anchor, 161 unsigned int *anchor, 167 unsigned int *anchor,
|
Completed in 102 milliseconds