Reworked patch to add ALTQ(9) support for CoDel algorithm.
CoDel is a parameterless queue discipline that handles variable bandwidth and RTT.
It can be used as the single queue discipline on an interface or as a sub discipline of existing queue disciplines.
First submitted by eri here:
https://lists.freebsd.org/pipermail/freebsd-net/2013-June/035731.html
This patch address all the issues raised in this thread.
Obtained from: pfsense