Blame include/uapi/linux/net_namespace.h
|
Packit Service |
3880ab |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
Packit Service |
3880ab |
/* Copyright (c) 2015 6WIND S.A.
|
|
Packit Service |
3880ab |
* Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>
|
|
Packit Service |
3880ab |
*
|
|
Packit Service |
3880ab |
* This program is free software; you can redistribute it and/or modify it
|
|
Packit Service |
3880ab |
* under the terms and conditions of the GNU General Public License,
|
|
Packit Service |
3880ab |
* version 2, as published by the Free Software Foundation.
|
|
Packit Service |
3880ab |
*/
|
|
Packit Service |
3880ab |
#ifndef _LINUX_NET_NAMESPACE_H_
|
|
Packit Service |
3880ab |
#define _LINUX_NET_NAMESPACE_H_
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
/* Attributes of RTM_NEWNSID/RTM_GETNSID messages */
|
|
Packit Service |
3880ab |
enum {
|
|
Packit Service |
3880ab |
NETNSA_NONE,
|
|
Packit Service |
3880ab |
#define NETNSA_NSID_NOT_ASSIGNED -1
|
|
Packit Service |
3880ab |
NETNSA_NSID,
|
|
Packit Service |
3880ab |
NETNSA_PID,
|
|
Packit Service |
3880ab |
NETNSA_FD,
|
|
Packit Service |
3880ab |
NETNSA_TARGET_NSID,
|
|
Packit Service |
3880ab |
NETNSA_CURRENT_NSID,
|
|
Packit Service |
3880ab |
__NETNSA_MAX,
|
|
Packit Service |
3880ab |
};
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#define NETNSA_MAX (__NETNSA_MAX - 1)
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
#endif /* _LINUX_NET_NAMESPACE_H_ */
|