aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-07-03 12:22:02 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-07-03 12:22:02 +0000
commit35fd7bc02057e396eb2de95965fb364661212ba7 (patch)
tree84813f5c322ca01ea7d1b10025c5fa8621a31765 /share
parent80788b2a27cba6f7c2f30b72f988f56068871aca (diff)
downloadsrc-35fd7bc02057e396eb2de95965fb364661212ba7.tar.gz
src-35fd7bc02057e396eb2de95965fb364661212ba7.zip
Add infrastructure to allow all frames/packets received on an interface
to be assigned to a non-default FIB instance. You may need to recompile world or ports due to the change of struct ifnet. Submitted by: cjsp Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) (original versions) Reviewed by: julian Reviewed by: Alexander V. Chernikov (melifaro ipfw.ru) MFC after: 2 weeks X-MFC: use spare in struct ifnet
Notes
Notes: svn path=/head/; revision=223735
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/ifnet.911
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index e9dbab57e7e2..05264dc8ea6c 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 1, 2009
+.Dd July 3, 2011
.Dt IFNET 9
.Os
.Sh NAME
@@ -1169,11 +1169,12 @@ list.
Caller must have appropriate privilege.
(No call-down to driver.)
.It Dv SIOCGIFCAP
+.It Dv SIOCGIFFIB
.It Dv SIOCGIFFLAGS
.It Dv SIOCGIFMETRIC
.It Dv SIOCGIFMTU
.It Dv SIOCGIFPHYS
-Get interface capabilities, flags, metric, MTU, medium selection.
+Get interface capabilities, FIB, flags, metric, MTU, medium selection.
(No call-down to driver.)
.Pp
.It Dv SIOCSIFCAP
@@ -1192,6 +1193,12 @@ and
.Va if_data.ifi_hwassist
appropriately.
.Pp
+.It Dv SIOCSIFFIB
+Sets interface FIB.
+Caller must have appropriate privilege.
+FIB values start at 0 and values greater or equals than
+.Va net.fibs
+are considered invalid.
.It Dv SIOCSIFFLAGS
Change interface flags.
Caller must have appropriate privilege.