mpls_iptunnel.h 650 B

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