mpls_iptunnel.h 776 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /*
  3. * mpls tunnel api
  4. *
  5. * Authors:
  6. * Roopa Prabhu <roopa@cumulusnetworks.com>
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * as published by the Free Software Foundation; either version
  11. * 2 of the License, or (at your option) any later version.
  12. */
  13. #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H
  14. #define _UAPI_LINUX_MPLS_IPTUNNEL_H
  15. /* MPLS tunnel attributes
  16. * [RTA_ENCAP] = {
  17. * [MPLS_IPTUNNEL_DST]
  18. * [MPLS_IPTUNNEL_TTL]
  19. * }
  20. */
  21. enum {
  22. MPLS_IPTUNNEL_UNSPEC,
  23. MPLS_IPTUNNEL_DST,
  24. MPLS_IPTUNNEL_TTL,
  25. __MPLS_IPTUNNEL_MAX,
  26. };
  27. #define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1)
  28. #endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */