net_namespace.h 609 B

1234567891011121314151617181920212223
  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. /* Attributes of RTM_NEWNSID/RTM_GETNSID messages */
  11. enum {
  12. NETNSA_NONE,
  13. #define NETNSA_NSID_NOT_ASSIGNED -1
  14. NETNSA_NSID,
  15. NETNSA_PID,
  16. NETNSA_FD,
  17. __NETNSA_MAX,
  18. };
  19. #define NETNSA_MAX (__NETNSA_MAX - 1)
  20. #endif /* _LINUX_NET_NAMESPACE_H_ */