Searched refs:pf_anchor (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/sys/dist/pf/net/ |
H A D | pf_ruleset.c | 90 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 D | pfvar.h | 550 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 D | pf_ioctl.c | 364 struct pf_anchor *anchor; in pfdetach() 2588 struct pf_anchor *anchor; in pfioctl() 2612 struct pf_anchor *anchor; in pfioctl()
|
H A D | pf_table.c | 2092 struct pf_anchor *ac = rs->anchor; in pfr_attach_table()
|
H A D | pf.c | 146 struct pf_anchor *child;
|
/netbsd-src/dist/pf/sbin/pfctl/ |
H A D | pfctl_parser.h | 82 struct pf_anchor *astack[PFCTL_ANCHOR_STACK_DEPTH]; 87 struct pf_anchor *anchor, *alast;
|
H A D | pfctl.c | 93 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()
|