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