summaryrefslogtreecommitdiffstats
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-04-14 21:41:48 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-04-15 11:40:41 -0500
commit571cd7fcb9ba2d3ef32935fc8cc97ea1a401555c (patch)
tree7b0677072f7197eecf1ff4d84bbc66ad3e362115 /sys/net/pfvar.h
parent3a57a783f781b8098494c5022806ea15fef765bc (diff)
downloadFreeBSD-src-571cd7fcb9ba2d3ef32935fc8cc97ea1a401555c.zip
FreeBSD-src-571cd7fcb9ba2d3ef32935fc8cc97ea1a401555c.tar.gz
Importing pfSense patch schedule_label.diff
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index ae88be9..7146722 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -491,6 +491,7 @@ struct pf_rule {
union pf_rule_ptr skip[PF_SKIP_COUNT];
#define PF_RULE_LABEL_SIZE 64
char label[PF_RULE_LABEL_SIZE];
+ char schedule[PF_RULE_LABEL_SIZE];
char ifname[IFNAMSIZ];
char qname[PF_QNAME_SIZE];
char pqname[PF_QNAME_SIZE];
@@ -1288,6 +1289,11 @@ struct pfioc_state_kill {
u_int psk_killed;
};
+struct pfioc_schedule_kill {
+ int numberkilled;
+ char schedule[PF_RULE_LABEL_SIZE];
+};
+
struct pfioc_states {
int ps_len;
union {
@@ -1472,6 +1478,7 @@ struct pf_ifspeed {
u_int32_t baudrate;
};
#define DIOCGIFSPEED _IOWR('D', 92, struct pf_ifspeed)
+#define DIOCKILLSCHEDULE _IOWR('D', 96, struct pfioc_schedule_kill)
#ifdef _KERNEL
LIST_HEAD(pf_src_node_list, pf_src_node);
OpenPOWER on IntegriCloud