diff options
author | bz <bz@FreeBSD.org> | 2011-07-03 12:22:02 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-07-03 12:22:02 +0000 |
commit | 9cad5bfef3ce97c030d30e66deb6371458c2281b (patch) | |
tree | 84813f5c322ca01ea7d1b10025c5fa8621a31765 /share | |
parent | 9cb2f04853640f386dd7db2d61d981a14cd67729 (diff) | |
download | FreeBSD-src-9cad5bfef3ce97c030d30e66deb6371458c2281b.zip FreeBSD-src-9cad5bfef3ce97c030d30e66deb6371458c2281b.tar.gz |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/ifnet.9 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9 index e9dbab5..05264dc 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. |