svn commit: r234630 - stable/7/lib/libc/sys

Benjamin Kaduk bjk at
Tue Apr 24 03:30:27 UTC 2012

Author: bjk (doc committer)
Date: Tue Apr 24 03:30:26 2012
New Revision: 234630

  MFC r233160:
      Expound a bit more about the system maximum number of FIBs,
      how it may be set, and current limitations on the value.
  PR:		docs/157453
  Approved by:	hrs (mentor)

Directory Properties:
  stable/7/lib/libc/   (props changed)

Modified: stable/7/lib/libc/sys/setfib.2
--- stable/7/lib/libc/sys/setfib.2	Tue Apr 24 03:29:10 2012	(r234629)
+++ stable/7/lib/libc/sys/setfib.2	Tue Apr 24 03:30:26 2012	(r234630)
@@ -24,7 +24,7 @@
 .\" $FreeBSD$
-.Dd May 9, 2008
+.Dd March 19, 2012
@@ -44,10 +44,28 @@ subsequent to the call, to be that of th
 .Fa fib
-may be between 0 and the current system maximum which 
+must be greater than or equal to 0
+and less than the current system maximum which
 may be retrieved by the 
 .Em net.fibs
+The system maximum is set in the kernel configuration file with
+.Dl options	ROUTETABLES= Ns Em N
+or in
+.Pa /boot/loader.conf
+.Dl net.fibs= Ns Qq Em N
+.Em N
+is an integer.
+However, this maximum is capped at 16 due to the implementation storing
+the fib number in a 4-bit field in
+.Xr mbuf 9
 The default fib of the process will be applied to all protocol families 
 that support multiple fibs, and ignored by those that do not.
 The default fib for a process may be overidden for a socket with the use

More information about the svn-src-stable-7 mailing list