diff options
author | jamie <jamie@FreeBSD.org> | 2009-06-15 18:59:29 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-06-15 18:59:29 +0000 |
commit | 5675a54fb1a409499766ce55a009367c043fdc28 (patch) | |
tree | da42c35580b92c97206bed1ad724ceb513e4c024 /sys/sys/priv.h | |
parent | baa4ed1428ed6b464714b55aadcbc3a97c2887c7 (diff) | |
download | FreeBSD-src-5675a54fb1a409499766ce55a009367c043fdc28.zip FreeBSD-src-5675a54fb1a409499766ce55a009367c043fdc28.tar.gz |
Manage vnets via the jail system. If a jail is given the boolean
parameter "vnet" when it is created, a new vnet instance will be created
along with the jail. Networks interfaces can be moved between prisons
with an ioctl similar to the one that moves them between vimages.
For now vnets will co-exist under both jails and vimages, but soon
struct vimage will be going away.
Reviewed by: zec, julian
Approved by: bz (mentor)
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 7936de0..d82341f 100644 --- a/sys/sys/priv.h +++ b/sys/sys/priv.h @@ -325,6 +325,7 @@ #define PRIV_NET_DELIFADDR 414 /* Delete protocol addr on interface. */ #define PRIV_NET_LAGG 415 /* Administer lagg interface. */ #define PRIV_NET_GIF 416 /* Administer gif interface. */ +#define PRIV_NET_SETIFVNET 417 /* Move interface to vnet. */ /* * 802.11-related privileges. |