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 /sys/sys/priv.h | |
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 'sys/sys/priv.h')
-rw-r--r-- | sys/sys/priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h index 7733e36..b984f1a 100644 --- a/sys/sys/priv.h +++ b/sys/sys/priv.h @@ -337,6 +337,7 @@ #define PRIV_NET_GIF 416 /* Administer gif interface. */ #define PRIV_NET_SETIFVNET 417 /* Move interface to vnet. */ #define PRIV_NET_SETIFDESCR 418 /* Set interface description. */ +#define PRIV_NET_SETIFFIB 419 /* Set interface fib. */ /* * 802.11-related privileges. |