Home | History | Annotate | Download | only in linux
      1 /* Copyright (c) 2015 6WIND S.A.
      2  * Author: Nicolas Dichtel <nicolas.dichtel (at) 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_ */
     24