summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl/pfctl_parser.h
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-04-17 23:10:07 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-04-17 23:10:07 -0500
commitd83ceefd74a8cd372bb5f899a80bd540ceca8c8f (patch)
treeae4793ba52720ca9310b957817e256c9be09c514 /sbin/pfctl/pfctl_parser.h
parent0d7eb369f4ec7afd37b400407072943d34864188 (diff)
parentdab85cf430c20f64caedfab11029a1c75239181c (diff)
downloadFreeBSD-src-d83ceefd74a8cd372bb5f899a80bd540ceca8c8f.zip
FreeBSD-src-d83ceefd74a8cd372bb5f899a80bd540ceca8c8f.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r--sbin/pfctl/pfctl_parser.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h
index 5c909e9..2b7fea7 100644
--- a/sbin/pfctl/pfctl_parser.h
+++ b/sbin/pfctl/pfctl_parser.h
@@ -150,12 +150,28 @@ struct node_hfsc_opts {
int flags;
};
+struct node_fairq_sc {
+ struct node_queue_bw m1; /* slope of 1st segment; bps */
+ u_int d; /* x-projection of m1; msec */
+ struct node_queue_bw m2; /* slope of 2nd segment; bps */
+ u_int8_t used;
+};
+
+struct node_fairq_opts {
+ struct node_fairq_sc linkshare;
+ struct node_queue_bw hogs_bw;
+ u_int nbuckets;
+ int flags;
+};
+
struct node_queue_opt {
int qtype;
union {
struct cbq_opts cbq_opts;
+ struct codel_opts codel_opts;
struct priq_opts priq_opts;
struct node_hfsc_opts hfsc_opts;
+ struct node_fairq_opts fairq_opts;
} data;
};
OpenPOWER on IntegriCloud