Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /* Copyright (c) 2015 6WIND S.A.
0003  * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>
0004  *
0005  * This program is free software; you can redistribute it and/or modify it
0006  * under the terms and conditions of the GNU General Public License,
0007  * version 2, as published by the Free Software Foundation.
0008  */
0009 #ifndef _UAPI_LINUX_NET_NAMESPACE_H_
0010 #define _UAPI_LINUX_NET_NAMESPACE_H_
0011 
0012 /* Attributes of RTM_NEWNSID/RTM_GETNSID messages */
0013 enum {
0014     NETNSA_NONE,
0015 #define NETNSA_NSID_NOT_ASSIGNED -1
0016     NETNSA_NSID,
0017     NETNSA_PID,
0018     NETNSA_FD,
0019     NETNSA_TARGET_NSID,
0020     NETNSA_CURRENT_NSID,
0021     __NETNSA_MAX,
0022 };
0023 
0024 #define NETNSA_MAX      (__NETNSA_MAX - 1)
0025 
0026 #endif /* _UAPI_LINUX_NET_NAMESPACE_H_ */