X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvserver.h;h=20b35f0130194faa3eb2bcc7dc60916d1c81a453;hb=9fd81ffc8ad3800fe8e309cd9121b33d4cafae3d;hp=41479fb7fd24cf8835359be5058e763cdf3643a9;hpb=e303b8205d3b33f3c96c0a5fe3ab8ea87971eb0a;p=util-vserver.git diff --git a/lib/vserver.h b/lib/vserver.h index 41479fb..20b35f0 100644 --- a/lib/vserver.h +++ b/lib/vserver.h @@ -230,6 +230,9 @@ // the network flags #define VC_NXF_INFO_LOCK 0x00000001ull +#define VC_NXF_INFO_PRIVATE 0x00000008ull + +#define VC_NXF_HIDE_NETIF 0x02000000ull #define VC_NXF_STATE_SETUP (1ULL<<32) #define VC_NXF_STATE_ADMIN (1ULL<<34) @@ -855,6 +858,8 @@ extern "C" { /** Maps an xid given at '--xid' options to an xid_t */ xid_t vc_xidopt2xid(char const *, bool honor_static, char const **err_info); + /** Maps a nid given at '--nid' options to a nid_t */ + nid_t vc_nidopt2nid(char const *, bool honor_static, char const **err_info); vcCfgStyle vc_getVserverCfgStyle(char const *id);