Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  *  IPv6 RPL-SR implementation
0004  *
0005  *  Author:
0006  *  (C) 2020 Alexander Aring <alex.aring@gmail.com>
0007  */
0008 
0009 #ifndef _UAPI_LINUX_RPL_IPTUNNEL_H
0010 #define _UAPI_LINUX_RPL_IPTUNNEL_H
0011 
0012 enum {
0013     RPL_IPTUNNEL_UNSPEC,
0014     RPL_IPTUNNEL_SRH,
0015     __RPL_IPTUNNEL_MAX,
0016 };
0017 #define RPL_IPTUNNEL_MAX (__RPL_IPTUNNEL_MAX - 1)
0018 
0019 #define RPL_IPTUNNEL_SRH_SIZE(srh) (((srh)->hdrlen + 1) << 3)
0020 
0021 #endif