X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvserver.h;h=2dbcd42a68a86b094ace910da58fa3f5ce2c0507;hb=50e3c58ac5d9afe773c732578b4af0dff8ce588f;hp=41479fb7fd24cf8835359be5058e763cdf3643a9;hpb=e303b8205d3b33f3c96c0a5fe3ab8ea87971eb0a;p=util-vserver.git diff --git a/lib/vserver.h b/lib/vserver.h index 41479fb..2dbcd42 100644 --- a/lib/vserver.h +++ b/lib/vserver.h @@ -230,6 +230,11 @@ // the network flags #define VC_NXF_INFO_LOCK 0x00000001ull +#define VC_NXF_INFO_PRIVATE 0x00000008ull + +#define VC_NXF_SINGLE_IP 0x00000100ull + +#define VC_NXF_HIDE_NETIF 0x02000000ull #define VC_NXF_STATE_SETUP (1ULL<<32) #define VC_NXF_STATE_ADMIN (1ULL<<34) @@ -855,6 +860,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);