Home
last modified time | relevance | path

Searched refs:pf_anchor (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/sys/dist/pf/net/
H A Dpf_ruleset.c90 struct pf_anchor pf_main_anchor;
100 static __inline int pf_anchor_compare(struct pf_anchor *, struct pf_anchor *);
102 RB_GENERATE(pf_anchor_global, pf_anchor, entry_global, pf_anchor_compare);
103 RB_GENERATE(pf_anchor_node, pf_anchor, entry_node, pf_anchor_compare);
106 pf_anchor_compare(struct pf_anchor *a, struct pf_anchor *b) in pf_anchor_compare()
157 struct pf_anchor *
160 struct pf_anchor *key, *found; in pf_find_anchor()
162 key = (struct pf_anchor *)rs_malloc(sizeof(*key)); in pf_find_anchor()
173 struct pf_anchor *anchor; in pf_find_ruleset()
191 struct pf_anchor *anchor = NULL /* XXX gcc */; in pf_find_or_create_ruleset()
[all …]
H A Dpfvar.h550 struct pf_anchor *anchor;
886 struct pf_anchor;
899 struct pf_anchor *anchor;
905 RB_HEAD(pf_anchor_global, pf_anchor);
906 RB_HEAD(pf_anchor_node, pf_anchor);
907 struct pf_anchor { struct
908 RB_ENTRY(pf_anchor) entry_global;
909 RB_ENTRY(pf_anchor) entry_node;
910 struct pf_anchor *parent; argument
918 RB_PROTOTYPE(pf_anchor_global, pf_anchor, entry_global, pf_anchor_compare); argument
[all …]
H A Dpf_ioctl.c364 struct pf_anchor *anchor; in pfdetach()
2588 struct pf_anchor *anchor; in pfioctl()
2612 struct pf_anchor *anchor; in pfioctl()
H A Dpf_table.c2092 struct pf_anchor *ac = rs->anchor; in pfr_attach_table()
H A Dpf.c146 struct pf_anchor *child;
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl_parser.h82 struct pf_anchor *astack[PFCTL_ANCHOR_STACK_DEPTH];
87 struct pf_anchor *anchor, *alast;
H A Dpfctl.c93 int pfctl_ruleset_trans(struct pfctl *, char *, struct pf_anchor *);
100 extern struct pf_anchor pf_main_anchor;
1178 pfctl_ruleset_trans(struct pfctl *pf, char *path, struct pf_anchor *a) in pfctl_ruleset_trans()