summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setfib.2
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2013-05-20 20:47:40 +0000
committerjulian <julian@FreeBSD.org>2013-05-20 20:47:40 +0000
commit8eff18bd34ad302a77bcc7a4f9eab02dc6ac925d (patch)
treeb653353275bf6169df085f60de92411907ad6155 /lib/libc/sys/setfib.2
parent6184eb732b21a988b8fc4437709563532c52409d (diff)
downloadFreeBSD-src-8eff18bd34ad302a77bcc7a4f9eab02dc6ac925d.zip
FreeBSD-src-8eff18bd34ad302a77bcc7a4f9eab02dc6ac925d.tar.gz
Update the setfib man page to reflect recent changes.
Diffstat (limited to 'lib/libc/sys/setfib.2')
-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