mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-08-16 14:12:41 +00:00

Import rpl.h and rpl_iptunnel.h as of kernel commit: 354d86141796 ("Merge branch 'net-reduce-dynamic-lockdep-keys'") Signed-off-by: David Ahern <dsahern@gmail.com>
22 lines
424 B
C
22 lines
424 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 _LINUX_RPL_IPTUNNEL_H
|
|
#define _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
|