]> git.proxmox.com Git - mirror_iproute2.git/blob - include/uapi/linux/net_namespace.h
iproute: build more easily on Android
[mirror_iproute2.git] / include / uapi / linux / net_namespace.h
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 _LINUX_NET_NAMESPACE_H_
9 #define _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 /* _LINUX_NET_NAMESPACE_H_ */