Dummynet AQM v0.1- CoDel and FQ-CoDel for FreeBSD's ipfw/dummynet

Rasool Al-Saadi ralsaadi at swin.edu.au
Thu Mar 10 00:15:07 UTC 2016



On Wednesday, 9 March 2016, Don Lewis wrote:
> 
> On 26 Feb, Rasool Al-Saadi wrote:
> > Dear all,
> >
> > I would like to announce that we (myself and Grenville Armitage) released
> Dummynet AQM v0.1, which is an independent implementation of CoDel and
> FQ-CoDel for FreeBSD's ipfw/dummynet framework, based on the IETF
> CoDel [1] and FQ-CoDel [2] Internet-Drafts.
> > We prepared patches for FreeBSD11-CURRENT-r295345  and FreeBSD 10.x-
> RELEASE (10.0, 10.1, 10.2), and a technical report  of our implementation.
> >
> > Patches and documentation can be found in:
> > http://caia.swin.edu.au/freebsd/aqm
> 
> Without the patch below, the dummynet module fails to load
> 
> # kldload dummynet.ko
> kldload: can't load dummynet.ko: No such file or directory
> 
> and the following is printed to /var/log/messages:
> 
> link_elf: symbol sysctl__net_inet_ip_dummynet_children undefined

Thanks again for testing the patch and for providing feedback.

It seems that this error (and the compilation error in your previous email) appears in i386 versions of FreeBSD. 

> I believe this patch is needed for FreeBSD 11 and all FreeBSD 10 releases.

I will add you patch to Dummynet AQM v0.2.

Regards,
Rasool Al-Saadi
 
> --- sys/netpfil/ipfw/ip_dn_io.c.prev	2016-03-06 00:51:38.012058648 -0800
> +++ sys/netpfil/ipfw/ip_dn_io.c	2016-03-08 21:54:47.036921030 -0800
> @@ -154,7 +154,7 @@
> 
>  SYSCTL_DECL(_net_inet);
>  SYSCTL_DECL(_net_inet_ip);
> -static SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0,
> "Dummynet");
> +SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0,
> +"Dummynet");
> 
>  /* wrapper to pass dn_cfg fields to SYSCTL_* */
>  //#define DC(x)	(&(VNET_NAME(_base_dn_cfg).x))



More information about the freebsd-ipfw mailing list