Home
last modified time | relevance | path

Searched refs:anchorname (Results 1 – 5 of 5) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpfctl.c462 pfctl_flush_eth_rules(int dev, int opts, char *anchorname) in pfctl_flush_eth_rules() argument
466 ret = pfctl_clear_eth_rules(dev, anchorname); in pfctl_flush_eth_rules()
477 pfctl_flush_rules(int dev, int opts, char *anchorname) in pfctl_flush_rules() argument
481 ret = pfctl_clear_rules(dev, anchorname); in pfctl_flush_rules()
490 pfctl_flush_nat(int dev, int opts, char *anchorname) in pfctl_flush_nat() argument
494 ret = pfctl_clear_nat(dev, anchorname); in pfctl_flush_nat()
959 u_int32_t ticket, int r_action, char *anchorname) in pfctl_get_pool() argument
967 if ((ret = pfctl_get_addrs(pfh, ticket, nr, r_action, anchorname, &mpnr)) != 0) { in pfctl_get_pool()
974 if ((ret = pfctl_get_addr(pfh, ticket, nr, r_action, anchorname, pnr, &pp)) != 0) { in pfctl_get_pool()
1097 char *anchorname, int depth, int wildcard) in pfctl_show_eth_rules() argument
[all …]
H A Dparse.y403 char *anchorname; member
552 %type <v.string> label stringall tag anchorname
899 anchorname : STRING { $$ = $1; }
939 anchorrule : ANCHOR anchorname dir quick interface af proto fromto
1195 if ((loadanchor->anchorname = malloc(MAXPATHLEN)) ==
1199 snprintf(loadanchor->anchorname, MAXPATHLEN,
1202 strlcpy(loadanchor->anchorname, $3, MAXPATHLEN);
1290 etheranchorrule : ETHER ANCHOR anchorname dir quick interface etherproto etherfromto l3fromto ether…
7168 la->anchorname, la->filename); in pfctl_load_anchors()
7170 la->anchorname, trans) == -1) in pfctl_load_anchors()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c60 char anchorname[PF_ANCHOR_NAME_SIZE] = "authpf";
412 if (!pair[1][0] || strlcpy(anchorname, pair[1], in read_config()
413 sizeof(anchorname)) >= sizeof(anchorname)) in read_config()
648 strlcpy(prs.path, anchorname, sizeof(prs.path)); in remove_stale_rulesets()
674 if (recursive_ruleset_purge(anchorname, prs.name)) in remove_stale_rulesets()
768 if (asprintf(&rsn, "%s/%s", anchorname, rulesetname) == -1) in change_filter()
61 char anchorname[PF_ANCHOR_NAME_SIZE] = "authpf"; global() variable
/freebsd/lib/libpfctl/
H A Dlibpfctl.h485 int pfctl_clear_rules(int dev, const char *anchorname);
486 int pfctl_clear_nat(int dev, const char *anchorname);
487 int pfctl_clear_eth_rules(int dev, const char *anchorname);
H A Dlibpfctl.c2144 pfctl_clear_rules(int dev, const char *anchorname) in pfctl_clear_rules() argument
2154 if (strlcpy(transe[0].anchor, anchorname, sizeof(transe[0].anchor)) in pfctl_clear_rules()
2159 if (strlcpy(transe[1].anchor, anchorname, sizeof(transe[1].anchor)) in pfctl_clear_rules()
2178 pfctl_clear_nat(int dev, const char *anchorname) in pfctl_clear_nat() argument
2188 if (strlcpy(transe[0].anchor, anchorname, sizeof(transe[0].anchor)) in pfctl_clear_nat()
2193 if (strlcpy(transe[1].anchor, anchorname, sizeof(transe[1].anchor)) in pfctl_clear_nat()
2198 if (strlcpy(transe[2].anchor, anchorname, sizeof(transe[2].anchor)) in pfctl_clear_nat()
2217 pfctl_clear_eth_rules(int dev, const char *anchorname) in pfctl_clear_eth_rules() argument
2227 if (strlcpy(transe.anchor, anchorname, sizeof(transe.anchor)) in pfctl_clear_eth_rules()