Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / rpl_iptunnel.h
blobf4eed1f92baae80157afe6f516dec9037d676376
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3 * IPv6 RPL-SR implementation
5 * Author:
6 * (C) 2020 Alexander Aring <alex.aring@gmail.com>
7 */
9 #ifndef _UAPI_LINUX_RPL_IPTUNNEL_H
10 #define _UAPI_LINUX_RPL_IPTUNNEL_H
12 enum {
13 RPL_IPTUNNEL_UNSPEC,
14 RPL_IPTUNNEL_SRH,
15 __RPL_IPTUNNEL_MAX,
17 #define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1)
19 #define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3)
21 #endif