diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2016-04-14 21:41:48 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2016-04-15 11:40:41 -0500 |
commit | 571cd7fcb9ba2d3ef32935fc8cc97ea1a401555c (patch) | |
tree | 7b0677072f7197eecf1ff4d84bbc66ad3e362115 /sys/net/pfvar.h | |
parent | 3a57a783f781b8098494c5022806ea15fef765bc (diff) | |
download | FreeBSD-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.h | 7 |
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); |