From owner-freebsd-current@freebsd.org Sat Apr 25 20:13:16 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DFDD2BF5F6 for ; Sat, 25 Apr 2020 20:13:16 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 498j0C4ssCz4WbS for ; Sat, 25 Apr 2020 20:13:15 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:9dfe:d771:4e58:cba2] (unknown [IPv6:2a02:8109:1140:c3d:9dfe:d771:4e58:cba2]) (Authenticated sender: macmic) by drew.franken.de (Postfix) with ESMTPSA id 4900D7229F019; Sat, 25 Apr 2020 22:13:11 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Compiling MOD_CC into kernel (TCP congestion control)? From: Michael Tuexen In-Reply-To: <20200425192854.14dc5cbf@hermann.fritz.box> Date: Sat, 25 Apr 2020 22:13:08 +0200 Cc: FreeBSD CURRENT Content-Transfer-Encoding: 7bit Message-Id: References: <20200425192854.14dc5cbf@hermann.fritz.box> To: "Hartmann, O." X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 498j0C4ssCz4WbS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.77 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.79)[-0.786,0]; NEURAL_HAM_LONG(-0.98)[-0.982,0]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2020 20:13:16 -0000 > On 25. Apr 2020, at 19:28, Hartmann, O. 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