diff options
Diffstat (limited to 'include/uapi/linux/net_namespace.h')
-rw-r--r-- | include/uapi/linux/net_namespace.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/uapi/linux/net_namespace.h b/include/uapi/linux/net_namespace.h new file mode 100644 index 000000000000..778cd2c3ebf4 --- /dev/null +++ b/include/uapi/linux/net_namespace.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* Copyright (c) 2015 6WIND S.A. | ||
2 | * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | */ | ||
8 | #ifndef _UAPI_LINUX_NET_NAMESPACE_H_ | ||
9 | #define _UAPI_LINUX_NET_NAMESPACE_H_ | ||
10 | |||
11 | /* Attributes of RTM_NEWNSID/RTM_GETNSID messages */ | ||
12 | enum { | ||
13 | NETNSA_NONE, | ||
14 | #define NETNSA_NSID_NOT_ASSIGNED -1 | ||
15 | NETNSA_NSID, | ||
16 | NETNSA_PID, | ||
17 | NETNSA_FD, | ||
18 | __NETNSA_MAX, | ||
19 | }; | ||
20 | |||
21 | #define NETNSA_MAX (__NETNSA_MAX - 1) | ||
22 | |||
23 | #endif /* _UAPI_LINUX_NET_NAMESPACE_H_ */ | ||