1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*4882a593Smuzhiyun /* Copyright (c) 2015 6WIND S.A. 3*4882a593Smuzhiyun * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com> 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or modify it 6*4882a593Smuzhiyun * under the terms and conditions of the GNU General Public License, 7*4882a593Smuzhiyun * version 2, as published by the Free Software Foundation. 8*4882a593Smuzhiyun */ 9*4882a593Smuzhiyun #ifndef _UAPI_LINUX_NET_NAMESPACE_H_ 10*4882a593Smuzhiyun #define _UAPI_LINUX_NET_NAMESPACE_H_ 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun /* Attributes of RTM_NEWNSID/RTM_GETNSID messages */ 13*4882a593Smuzhiyun enum { 14*4882a593Smuzhiyun NETNSA_NONE, 15*4882a593Smuzhiyun #define NETNSA_NSID_NOT_ASSIGNED -1 16*4882a593Smuzhiyun NETNSA_NSID, 17*4882a593Smuzhiyun NETNSA_PID, 18*4882a593Smuzhiyun NETNSA_FD, 19*4882a593Smuzhiyun NETNSA_TARGET_NSID, 20*4882a593Smuzhiyun NETNSA_CURRENT_NSID, 21*4882a593Smuzhiyun __NETNSA_MAX, 22*4882a593Smuzhiyun }; 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #define NETNSA_MAX (__NETNSA_MAX - 1) 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun #endif /* _UAPI_LINUX_NET_NAMESPACE_H_ */ 27