diff options
Diffstat (limited to 'sys/netpfil/pf/pf_altq.h')
-rw-r--r-- | sys/netpfil/pf/pf_altq.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/netpfil/pf/pf_altq.h b/sys/netpfil/pf/pf_altq.h index eda0965..184e453 100644 --- a/sys/netpfil/pf/pf_altq.h +++ b/sys/netpfil/pf/pf_altq.h @@ -65,6 +65,26 @@ struct hfsc_opts { int flags; }; +/* + * XXX this needs some work + */ +struct fairq_opts { + u_int nbuckets; + u_int hogs_m1; + int flags; + + /* link sharing service curve */ + u_int lssc_m1; + u_int lssc_d; + u_int lssc_m2; +}; + +struct codel_opts { + u_int target; + u_int interval; + int ecn; +}; + struct pf_altq { char ifname[IFNAMSIZ]; @@ -91,6 +111,8 @@ struct pf_altq { struct cbq_opts cbq_opts; struct priq_opts priq_opts; struct hfsc_opts hfsc_opts; + struct fairq_opts fairq_opts; + struct codel_opts codel_opts; } pq_u; uint32_t qid; /* return value */ |