]> Git Repo - linux.git/blame - include/uapi/linux/rpl_iptunnel.h
Linux 6.14-rc3
[linux.git] / include / uapi / linux / rpl_iptunnel.h
CommitLineData
a7a29f9c
AA
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2/*
3 * IPv6 RPL-SR implementation
4 *
5 * Author:
6 * (C) 2020 Alexander Aring <[email protected]>
7 */
8
9#ifndef _UAPI_LINUX_RPL_IPTUNNEL_H
10#define _UAPI_LINUX_RPL_IPTUNNEL_H
11
12enum {
13 RPL_IPTUNNEL_UNSPEC,
14 RPL_IPTUNNEL_SRH,
15 __RPL_IPTUNNEL_MAX,
16};
17#define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1)
18
19#define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3)
20
21#endif
This page took 0.354467 seconds and 4 git commands to generate.