/
usr
/
include
/
linux
/
Upload Filee
HOME
/* * include/uapi/linux/vzctl_venet.h * * Copyright (c) 2005-2008 SWsoft * Copyright (c) 2009-2015 Parallels IP Holdings GmbH * */ #ifndef _VZCTL_VENET_H #define _VZCTL_VENET_H #include <linux/types.h> #include <linux/ioctl.h> #ifndef __ENVID_T_DEFINED__ #define __ENVID_T_DEFINED__ typedef unsigned envid_t; #endif #define VE_IP_ADD 1 #define VE_IP_DEL 2 #define VE_IP_EXT_ADD 3 #define VE_IP_EXT_DEL 4 struct vzctl_ve_ip_map { envid_t veid; int op; struct sockaddr *addr; int addrlen; }; #define VENETCTLTYPE '(' #define VENETCTL_VE_IP_MAP _IOW(VENETCTLTYPE, 3, struct vzctl_ve_ip_map) #endif /* _VZCTL_VENET_H */