Home
last modified time | relevance | path

Searched refs:match_tagname (Results 1 – 11 of 11) sorted by relevance

/freebsd/sbin/pfctl/
H A Dparse.y1010 if (strlcpy(r.match_tagname, $9.match_tag,
1053 if (strlcpy(r.match_tagname, $9.match_tag,
1237 if (strlcpy(r.match_tagname, $10.match_tag,
1454 if (strlcpy(r.match_tagname, $8.match_tag,
2426 if (strlcpy(r.match_tagname, $9.match_tag,
4734 if (strlcpy(r.match_tagname, $7.name,
4955 if (strlcpy(binat.match_tagname, $11.name,
5980 char match_tagname[PF_TAG_NAME_SIZE]; in expand_eth_rule() local
5985 if (strlcpy(match_tagname, r->match_tagname, sizeof(match_tagname)) >= in expand_eth_rule()
5986 sizeof(match_tagname)) in expand_eth_rule()
[all …]
H A Dpfctl_parser.c819 if (r->match_tagname[0]) { in print_eth_rule()
822 printf(" tagged %s", r->match_tagname); in print_eth_rule()
1212 if (r->match_tagname[0]) { in print_rule()
1215 printf(" tagged %s", r->match_tagname); in print_rule()
H A Dpfctl_optimize.c155 PF_RULE_FIELD(match_tagname, NOMERGE),
H A Dpfctl.c1990 expand_label(r->match_tagname, PF_TAG_NAME_SIZE, r); in pfctl_load_ruleset()
/freebsd/sys/netpfil/pf/
H A Dpf_nv.c558 PFNV_CHK(pf_nvstring(nvl, "match_tagname", rule->match_tagname, in pf_nvrule_to_krule()
559 sizeof(rule->match_tagname))); in pf_nvrule_to_krule()
721 nvlist_add_string(nvl, "match_tagname", rule->match_tagname); in pf_krule_to_nvrule()
1066 nvlist_add_string(nvl, "match_tagname", krule->match_tagname); in pf_keth_rule_to_nveth_rule()
1202 PFNV_CHK(pf_nvstring(nvl, "match_tagname", krule->match_tagname, in pf_nveth_rule_to_keth_rule()
1203 sizeof(krule->match_tagname))); in pf_nveth_rule_to_keth_rule()
H A Dpf.h507 char match_tagname[PF_TAG_NAME_SIZE]; member
H A Dpf_ioctl.c1311 PF_MD5_UPD_STR(rule, match_tagname); in pf_hash_rule_rolling()
1959 ret = pf_user_strcpy(krule->match_tagname, rule->match_tagname, in pf_rule_to_krule()
1960 sizeof(rule->match_tagname)); in pf_rule_to_krule()
2176 if (rule->match_tagname[0]) in pf_ioctl_addrule()
2178 pf_tagname2tag(rule->match_tagname)) == 0) in pf_ioctl_addrule()
3160 if (rule->match_tagname[0]) in pfioctl()
3162 rule->match_tagname)) == 0) in pfioctl()
3709 if (newrule->match_tagname[0]) in pfioctl()
3711 newrule->match_tagname)) == 0) in pfioctl()
H A Dpf_nl.c679 …{ .type = PF_RT_MATCH_TAGNAME, .off = _OUT(match_tagname), .arg = (void *)PF_TAG_NAME_SIZE, .cb = …
916 nlattr_add_string(nw, PF_RT_MATCH_TAGNAME, rule->match_tagname); in pf_handle_getrule()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h100 char match_tagname[PF_TAG_NAME_SIZE]; member
172 char match_tagname[PF_TAG_NAME_SIZE]; member
H A Dlibpfctl.c728 strlcpy(rule->match_tagname, nvlist_get_string(nvl, "match_tagname"), in pf_nvrule_to_rule()
860 strlcpy(rule->match_tagname, nvlist_get_string(nvl, "match_tagname"), in pfctl_nveth_rule_to_eth_rule()
1029 nvlist_add_string(nvl, "match_tagname", r->match_tagname); in pfctl_add_eth_rule()
1227 snl_add_msg_attr_string(nw, PF_RT_MATCH_TAGNAME, r->match_tagname); in snl_add_msg_attr_pf_rule()
1597 …{ .type = PF_RT_MATCH_TAGNAME, .off = _OUT(r.match_tagname), .arg = (void *)PF_TAG_NAME_SIZE, .cb …
/freebsd/sys/net/
H A Dpfvar.h738 char match_tagname[PF_TAG_NAME_SIZE]; member
778 char match_tagname[PF_TAG_NAME_SIZE]; member