summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/setfib.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/setfib.2 b/lib/libc/sys/setfib.2
index bf23c7a..d759109 100644
--- a/lib/libc/sys/setfib.2
+++ b/lib/libc/sys/setfib.2
@@ -64,10 +64,13 @@ with
where
.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
+This maximum is capped at 65536 due to the implementation storing
+the fib number in a 16-bit field in the
.Xr mbuf 9
-flags.
+packet header, however it is not suggested that one use such a large number
+as memory is allocated for every FIB regardless of whether it is used, and
+there are places where all FIBs are iterated over.
+.Pp
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 overridden for a socket with the use
OpenPOWER on IntegriCloud