1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linu 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2 /* 2 /* 3 * IPv6 RPL-SR implementation 3 * IPv6 RPL-SR implementation 4 * 4 * 5 * Author: 5 * Author: 6 * (C) 2020 Alexander Aring <alex.aring@gmail 6 * (C) 2020 Alexander Aring <alex.aring@gmail.com> 7 */ 7 */ 8 8 9 #ifndef _UAPI_LINUX_RPL_IPTUNNEL_H 9 #ifndef _UAPI_LINUX_RPL_IPTUNNEL_H 10 #define _UAPI_LINUX_RPL_IPTUNNEL_H 10 #define _UAPI_LINUX_RPL_IPTUNNEL_H 11 11 12 enum { 12 enum { 13 RPL_IPTUNNEL_UNSPEC, 13 RPL_IPTUNNEL_UNSPEC, 14 RPL_IPTUNNEL_SRH, 14 RPL_IPTUNNEL_SRH, 15 __RPL_IPTUNNEL_MAX, 15 __RPL_IPTUNNEL_MAX, 16 }; 16 }; 17 #define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 17 #define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1) 18 18 19 #define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hd 19 #define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3) 20 20 21 #endif 21 #endif 22 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.