mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Alexander Aring](/assets/img/avatar_default.png)
This patch adds functionality to configure routes for RPL source routing functionality. There is no IPIP functionality yet implemented which can be added later when the cases when to use IPv6 encapuslation comes more clear. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
21 lines
434 B
C
21 lines
434 B
C
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
|
|
/*
|
|
* IPv6 RPL-SR implementation
|
|
*
|
|
* Author:
|
|
* (C) 2020 Alexander Aring <alex.aring@gmail.com>
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_RPL_IPTUNNEL_H
|
|
#define _UAPI_LINUX_RPL_IPTUNNEL_H
|
|
|
|
enum {
|
|
RPL_IPTUNNEL_UNSPEC,
|
|
RPL_IPTUNNEL_SRH,
|
|
__RPL_IPTUNNEL_MAX,
|
|
};
|
|
#define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1)
|
|
|
|
#define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3)
|
|
|
|
#endif
|