Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /usr/include/linux/ |
/* * include/uapi/linux/vzctl_veth.h * * Copyright (c) 2006-2008 SWsoft * Copyright (c) 2009-2015 Parallels IP Holdings GmbH * */ #ifndef _VZCTL_VETH_H #define _VZCTL_VETH_H #include <linux/types.h> #include <linux/ioctl.h> #ifndef __ENVID_T_DEFINED__ #define __ENVID_T_DEFINED__ typedef unsigned envid_t; #endif #define VE_ETH_ADD 1 #define VE_ETH_DEL 2 #define VE_ETH_ALLOW_MAC_CHANGE 3 #define VE_ETH_DENY_MAC_CHANGE 4 struct vzctl_ve_hwaddr { envid_t veid; int op; unsigned char dev_addr[6]; int addrlen; char dev_name[16]; unsigned char dev_addr_ve[6]; int addrlen_ve; char dev_name_ve[16]; }; #define VETHCTLTYPE '[' #define VETHCTL_VE_HWADDR _IOW(VETHCTLTYPE, 3, struct vzctl_ve_hwaddr) #endif /* _VZCTL_VETH_H */