logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

rpl_iptunnel.h (424B)


  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /*
  3. * IPv6 RPL-SR implementation
  4. *
  5. * Author:
  6. * (C) 2020 Alexander Aring <alex.aring@gmail.com>
  7. */
  8. #ifndef _LINUX_RPL_IPTUNNEL_H
  9. #define _LINUX_RPL_IPTUNNEL_H
  10. enum {
  11. RPL_IPTUNNEL_UNSPEC,
  12. RPL_IPTUNNEL_SRH,
  13. __RPL_IPTUNNEL_MAX,
  14. };
  15. #define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1)
  16. #define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3)
  17. #endif