Compiling MOD_CC into kernel (TCP congestion control)?

Hartmann, O. o.hartmann at walstatt.org
Sun Apr 26 20:06:15 UTC 2020


On Sat, 25 Apr 2020 22:13:08 +0200
Michael Tuexen <tuexen at freebsd.org> wrote:

> > On 25. Apr 2020, at 19:28, Hartmann, O. <ohartmann at walstatt.org>
> > wrote:
> > 
> > On a firewall/router project of ours I try to experiment with
> > several options/algorithms for mod_cc(4). The kernel is compiled
> > statically, so that no kernel module can be loaded at runtime,
> > therefor I need to compile the different modules mod_cc into the
> > kernel.
> > 
> > The manpage mod_cc(4) states: " ... Algorithm modules can be
> > compiled into the kernel or loaded as kernel modules ..."
> > 
> > Trying to figure out which manpage could hold the necessary
> > information how to proceed with compiling those modules statically
> > into the kernel, I tried tcp(4), mod_cc(4) and tried to get some
> > informations from /usr/src/sys/conf/NOTES - without any succes.
> > 
> > Can someone point me to the correct manpage to perform the desired
> > task?  
> Hi,
> 
> I can't point you to a man page, but do you get what you want if you
> add lines like the existing one
> netinet/cc/cc_newreno.c         optional inet | inet6
> to sys/conf/files for the CC modules you would like to get compiled
> in your kernel?
> 
> Best regards
> Michael
> > 
> > Thanks in advance,
> > kind regards
> > 
> > O. Hartmann  
> 

Hello.

Thank you very much for the hint. Doing like suggested make me feel
back in the times of "config" for BSD kernel configurations ;-)

Well, as I stated in the original question, the subject is a littel
project where we'd like to compile those modules into the kernel. That
is a requirement given by higher order (no modules available,
everything needed needs to be static in the kernel, no
loading/unloading of modules allowed for security purposes).

oh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200426/f7c2d623/attachment.sig>


More information about the freebsd-current mailing list