Searched refs:PF_ANCHOR_NAME_SIZE (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/pf/ftp-proxy/ |
H A D | filter.c | 54 static char pfanchor[PF_ANCHOR_NAME_SIZE]; 55 static char pfanchor_call[PF_ANCHOR_NAME_SIZE]; 198 char an[PF_ANCHOR_NAME_SIZE]; in prepare_commit() 206 snprintf(an, PF_ANCHOR_NAME_SIZE, "%s/%d.%d", FTP_PROXY_ANCHOR, in prepare_commit() 210 strlcpy(pfte[i].anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_commit() 237 char an[PF_ANCHOR_NAME_SIZE]; in prepare_rule() 247 snprintf(an, PF_ANCHOR_NAME_SIZE, "%s/%d.%d", FTP_PROXY_ANCHOR, in prepare_rule() 249 strlcpy(pfp.anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule() 250 strlcpy(pfanchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule()
|
/freebsd/contrib/pf/tftp-proxy/ |
H A D | filter.c | 60 static char pfanchor[PF_ANCHOR_NAME_SIZE]; 61 static char pfanchor_call[PF_ANCHOR_NAME_SIZE]; 207 char an[PF_ANCHOR_NAME_SIZE]; in prepare_commit() 215 snprintf(an, PF_ANCHOR_NAME_SIZE, "%s/%d.%d", FTP_PROXY_ANCHOR, in prepare_commit() 219 strlcpy(pfte[i].anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_commit() 246 char an[PF_ANCHOR_NAME_SIZE]; in prepare_rule() 256 snprintf(an, PF_ANCHOR_NAME_SIZE, "%s/%d.%d", FTP_PROXY_ANCHOR, in prepare_rule() 258 strlcpy(pfp.anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule() 259 strlcpy(pfanchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule()
|
/freebsd/sbin/pfctl/ |
H A D | pf_ruleset.c | 210 if (!*q || strlen(q) >= PF_ANCHOR_NAME_SIZE || in pf_find_or_create_ruleset() 212 MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 1)) { in pf_find_or_create_ruleset() 402 if (!*q || strlen(q) >= PF_ANCHOR_NAME_SIZE || in pf_find_or_create_eth_ruleset() 404 MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 1)) { in pf_find_or_create_eth_ruleset()
|
H A D | pfctl.c | 1956 char anchor[PF_ANCHOR_NAME_SIZE]; in pfctl_load_eth_rule() 2065 char anchor[PF_ANCHOR_NAME_SIZE]; in pfctl_load_rule()
|
H A D | parse.y | 917 char ta[PF_ANCHOR_NAME_SIZE]; 930 snprintf(ta, PF_ANCHOR_NAME_SIZE, "_%d", pf->bn); 1277 char ta[PF_ANCHOR_NAME_SIZE]; 1285 snprintf(ta, PF_ANCHOR_NAME_SIZE, "_%d", pf->bn);
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_ruleset.c | 230 if (!*q || strlen(q) >= PF_ANCHOR_NAME_SIZE || in pf_find_or_create_kruleset() 232 MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 1)) { in pf_find_or_create_kruleset() 565 if (!*q || strlen(q) >= PF_ANCHOR_NAME_SIZE || in pf_find_or_create_keth_ruleset() 567 MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 1)) { in pf_find_or_create_keth_ruleset()
|
H A D | pf.h | 491 #define PF_ANCHOR_NAME_SIZE 64 macro 725 char name[PF_ANCHOR_NAME_SIZE];
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.h | 128 char name[PF_ANCHOR_NAME_SIZE]; 139 char name[PF_ANCHOR_NAME_SIZE]; 296 char name[PF_ANCHOR_NAME_SIZE];
|
H A D | libpfctl.c | 947 PF_ANCHOR_NAME_SIZE); in pfctl_get_eth_ruleset() 2921 …{ .type = PF_RS_NAME, .off = _OUT(name), .arg = (void *)PF_ANCHOR_NAME_SIZE, .cb = snl_attr_copy_s…
|
/freebsd/contrib/pf/authpf/ |
H A D | authpf.c | 60 char anchorname[PF_ANCHOR_NAME_SIZE] = "authpf"; 61 char rulesetname[MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 2];
|
/freebsd/sys/net/ |
H A D | pfvar.h | 736 char name[PF_ANCHOR_NAME_SIZE]; 1388 char name[PF_ANCHOR_NAME_SIZE]; 2002 char name[PF_ANCHOR_NAME_SIZE];
|