Date: Sun, 22 Sep 2019 15:42:26 +0200 From: "Hartmann, O." <ohartmann@walstatt.org> To: freebsd-ipfw@freebsd.org Subject: FIB: still limited to 16 FIBs (setfib)? Message-ID: <20190922154226.38729ac5@hermann.fritz.box>
next in thread | raw e-mail | index | archive | help
--Sig_/z//OgzndA2lO8S/lDRucoto Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable In the recent documentation as of FreeBSD CURRENT (FreeBSD-13), the manpage of ipfw(8) states at section designated "RULE ACTION", paragraph "setfib" that the current implementation of setfib is limited to 0 - 15 FIBs and the manpage of ipfw(8) refers to setfib(2) at that point. Checking setfib(2), the manpage states (N is the max number of predefined FIBs used by the kernel and configured via OID net.fibs=3D"N" and set via /boot/loader.conf[.local] or as a kernel config option): "... where N is an integer. This maximum is capped at 65536 due to the implementation storing the fib number in a 16-bit field in the mbuf(9) packet header, ..." I can not extract the limitation of N <=3D 16 (resulting in 0 - 15 FIBs) by that reference. Either there is a "bug" in the manpage and refering to an outdated FIB implementation, or ipfw is indeed incapable of handling larger amounts of FIBs. Can someone shed some light on this? Thanks. Kind regards, oh --Sig_/z//OgzndA2lO8S/lDRucoto Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXYd6QwAKCRA4N1ZZPba5 R4XQAP0a8FDDV5w4xUhhvSDZcVWhm9kI7agR7SVAXJJUgtqg4gEA+VLQPVMKEDfZ zKAXECMwtf/WShkxJzDLsGNXM3BOPAE= =plu3 -----END PGP SIGNATURE----- --Sig_/z//OgzndA2lO8S/lDRucoto--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190922154226.38729ac5>