Searched refs:anchor_call (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.1-release/sys/netpfil/pf/
H A Dpf_ruleset.c368 pr->anchor_call[0] = 0;
372 strlcpy(pr->anchor_call, "/", sizeof(pr->anchor_call));
373 strlcat(pr->anchor_call, r->anchor->path,
374 sizeof(pr->anchor_call));
390 strlcat(pr->anchor_call, "../",
391 sizeof(pr->anchor_call));
400 strlcat(pr->anchor_call, r->anchor->path + (a[0] ?
401 strlen(a) + 1 : 0), sizeof(pr->anchor_call));
405 strlcat(pr->anchor_call, p
[all...]
H A Dpf_ioctl.c1241 if (pf_anchor_setup(rule, ruleset, pr->anchor_call))
1497 if (pf_anchor_setup(newrule, ruleset, pcr->anchor_call))
/freebsd-10.1-release/sbin/pfctl/
H A Dpfctl.c882 print_rule(&pr.rule, pr.anchor_call, rule_numbers, numeric);
931 if (pr.anchor_call[0] &&
932 ((((p = strrchr(pr.anchor_call, '_')) != NULL) &&
933 ((void *)p == (void *)pr.anchor_call ||
936 if ((p = strrchr(pr.anchor_call, '/')) !=
940 p = &pr.anchor_call[0];
942 p = &pr.anchor_call[0];
1000 print_rule(&pr.rule, pr.anchor_call,
1188 pfctl_add_rule(struct pfctl *pf, struct pf_rule *r, const char *anchor_call) argument
1201 if (anchor_call[
[all...]
H A Dpfctl_parser.c684 print_rule(struct pf_rule *r, const char *anchor_call, int verbose, int numeric) argument
697 else if (anchor_call[0]) {
698 if (anchor_call[0] == '_') {
702 anchor_call);
826 !anchor_call[0] && r->keep_state)
852 if (!r->keep_state && r->action == PF_PASS && !anchor_call[0])
1035 if (!anchor_call[0] && (r->action == PF_NAT ||
H A Dparse.y4356 rule_consistent(struct pf_rule *r, int anchor_call)
4365 problems = filter_consistent(r, anchor_call);
4384 filter_consistent(struct pf_rule *r, int anchor_call)
4980 const char *anchor_call)
5129 if (rule_consistent(r, anchor_call[0]) < 0 || error)
5133 pfctl_add_rule(pf, r, anchor_call);
H A Dpfctl_optimize.c916 rs = pf_find_or_create_ruleset(pr.anchor_call);
/freebsd-10.1-release/sys/net/
H A Dpfvar.h1216 char anchor_call[MAXPATHLEN]; member in struct:pfioc_rule

Completed in 187 milliseconds