You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
434 B
22 lines
434 B
/* 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
|