Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/pf/
H A Dpf_nv.c551 PFNV_CHK(pf_nvstring(nvl, "pqname", rule->pqname, in pf_nvrule_to_krule()
552 sizeof(rule->pqname))); in pf_nvrule_to_krule()
716 nvlist_add_string(nvl, "pqname", rule->pqname); in pf_krule_to_nvrule()
H A Dpf.h504 char pqname[PF_QNAME_SIZE]; member
H A Dpf_ioctl.c1953 ret = pf_user_strcpy(krule->pqname, rule->pqname, sizeof(rule->pqname)); in pf_rule_to_krule()
2166 else if (rule->pqname[0] != 0) { in pf_ioctl_addrule()
2168 pf_qname2qid(rule->pqname)) == 0) in pf_ioctl_addrule()
3698 else if (newrule->pqname[0] != 0) { in pfioctl()
3700 pf_qname2qid(newrule->pqname)) == 0) in pfioctl()
H A Dpf_nl.c677 …{ .type = PF_RT_PQNAME, .off = _OUT(pqname), .arg = (void *)PF_QNAME_SIZE, .cb = nlattr_get_chara …
914 nlattr_add_string(nw, PF_RT_PQNAME, rule->pqname); in pf_handle_getrule()
/freebsd/sbin/pfctl/
H A Dparse.y222 char *pqname; member
2757 if ($9.queues.pqname != NULL) {
2758 if (strlcpy(r.pqname, $9.queues.pqname,
2759 sizeof(r.pqname)) >= sizeof(r.pqname)) {
2761 "%d chars)", sizeof(r.pqname)-1);
2764 free($9.queues.pqname);
4447 $$.pqname = NULL;
4451 $$.pqname = NULL;
4455 $$.pqname = $5;
H A Dpfctl_parser.c1206 if (r->qname[0] && r->pqname[0]) in print_rule()
1207 printf(" queue(%s, %s)", r->qname, r->pqname); in print_rule()
H A Dpfctl_optimize.c128 PF_RULE_FIELD(pqname, BREAK),
H A Dpfctl.c1057 rule->qname, rule->qid, rule->pqname, rule->pqid); in pfctl_print_rule_counters()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h170 char pqname[PF_QNAME_SIZE]; member
H A Dlibpfctl.c725 strlcpy(rule->pqname, nvlist_get_string(nvl, "pqname"), PF_QNAME_SIZE); in pf_nvrule_to_rule()
1225 snl_add_msg_attr_string(nw, PF_RT_PQNAME, r->pqname); in snl_add_msg_attr_pf_rule()
1595 …{ .type = PF_RT_PQNAME, .off = _OUT(r.pqname), .arg = (void *)PF_QNAME_SIZE, .cb = snl_attr_copy_s…
/freebsd/sys/net/
H A Dpfvar.h776 char pqname[PF_QNAME_SIZE]; member