diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-17 13:52:57 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-17 13:52:57 -0300 |
commit | 570dae5561e54cd2703f546b04a3fa029c92dc62 (patch) | |
tree | f917a04b46386bbdea6f4d5bbde270bc953b7631 /sbin/pfctl/pfctl_parser.h | |
parent | 44264467bc388f901bcd801566ac460ecff5f502 (diff) | |
download | FreeBSD-src-570dae5561e54cd2703f546b04a3fa029c92dc62.zip FreeBSD-src-570dae5561e54cd2703f546b04a3fa029c92dc62.tar.gz |
Importing pfSense patch fairq.RELENG_10.diff
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index 5c909e9..8a4e84e 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -150,12 +150,27 @@ 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 priq_opts priq_opts; struct node_hfsc_opts hfsc_opts; + struct node_fairq_opts fairq_opts; } data; }; |