Searched refs:anchor (Results 1 - 9 of 9) sorted by relevance

/xnu-2782.1.97/bsd/net/
H A Dpf_ruleset.c212 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 Dpf_ioctl.c579 struct pf_anchor *anchor;
630 while ((anchor = RB_MIN(pf_anchor_global, &pf_anchors)) != NULL) {
632 if (pf_begin_rules(&ticket, i, anchor->name) == 0)
633 pf_commit_rules(ticket, i, anchor->name);
692 pf_get_pool(char *anchor, u_int32_t ticket, u_int8_t rule_action, argument
700 ruleset = pf_find_ruleset(anchor);
768 * the anchor under our feet.
1163 pf_begin_rules(u_int32_t *ticket, int rs_num, const char *anchor) argument
1170 rs = pf_find_or_create_ruleset(anchor);
1183 pf_rollback_rules(u_int32_t ticket, int rs_num, char *anchor) argument
1295 pf_commit_rules(u_int32_t ticket, int rs_num, char *anchor) argument
4284 struct pf_anchor *anchor; local
4308 struct pf_anchor *anchor; local
[all...]
H A Dif_pflog.c315 if (ruleset != NULL && ruleset->anchor != NULL)
316 strlcpy(hdr.ruleset, ruleset->anchor->name,
H A Dpf_table.c1770 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 Dpf.c444 if (s->anchor.ptr != NULL) { \
445 s->anchor.ptr->states++; \
446 VERIFY(s->anchor.ptr->states != 0); \
460 if (s->anchor.ptr != NULL) { \
461 VERIFY(s->anchor.ptr->states > 0); \
462 s->anchor.ptr->states--; \
1700 if (cur->anchor.ptr != NULL) {
1701 VERIFY(cur->anchor.ptr->states > 0);
1702 if (--cur->anchor.ptr->states <= 0)
1703 pf_rm_rule(NULL, cur->anchor
[all...]
H A Dpfvar.h706 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 */
1740 char anchor[MAXPATHLEN]; member in struct:pfioc_pooladdr
1749 char anchor[MAXPATHLEN]; member in struct:pfioc_rule
1946 char anchor[MAXPATHLEN]; member in struct:pfioc_trans::pfioc_trans_e
H A Dpf_norm.c1570 if (r->anchor == NULL)
1849 if (r->anchor == NULL)
2142 if (r->anchor == NULL) {
/xnu-2782.1.97/osfmk/kern/
H A Dsimple_lock.h142 unsigned int *anchor,
147 unsigned int *anchor,
153 unsigned int *anchor,
/xnu-2782.1.97/tools/lldbmacros/
H A Dmisc.py51 def dumpTimerList(anchor):
53 Utility function to dump the timer entries in list (anchor).
55 entry = Cast(anchor.head, 'queue_t')
56 if entry == addressof(anchor):
62 while entry != addressof(anchor):

Completed in 60 milliseconds