aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/linux/rpl.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/linux-headers/linux/rpl.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/linux-headers/linux/rpl.h')
-rw-r--r--contrib/libs/linux-headers/linux/rpl.h96
1 files changed, 48 insertions, 48 deletions
diff --git a/contrib/libs/linux-headers/linux/rpl.h b/contrib/libs/linux-headers/linux/rpl.h
index d5364c2f7e4..c24b64cd597 100644
--- a/contrib/libs/linux-headers/linux/rpl.h
+++ b/contrib/libs/linux-headers/linux/rpl.h
@@ -1,48 +1,48 @@
-/* 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_H
-#define _LINUX_RPL_H
-
-#include <asm/byteorder.h>
-#include <linux/types.h>
-#include <linux/in6.h>
-
-/*
- * RPL SR Header
- */
-struct ipv6_rpl_sr_hdr {
- __u8 nexthdr;
- __u8 hdrlen;
- __u8 type;
- __u8 segments_left;
-#if defined(__LITTLE_ENDIAN_BITFIELD)
- __u32 cmpre:4,
- cmpri:4,
- reserved:4,
- pad:4,
- reserved1:16;
-#elif defined(__BIG_ENDIAN_BITFIELD)
- __u32 reserved:20,
- pad:4,
- cmpri:4,
- cmpre:4;
-#else
-#error "Please fix <asm/byteorder.h>"
-#endif
-
- union {
- struct in6_addr addr[0];
- __u8 data[0];
- } segments;
-} __attribute__((packed));
-
-#define rpl_segaddr segments.addr
-#define rpl_segdata segments.data
-
-#endif
+/* 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_H
+#define _LINUX_RPL_H
+
+#include <asm/byteorder.h>
+#include <linux/types.h>
+#include <linux/in6.h>
+
+/*
+ * RPL SR Header
+ */
+struct ipv6_rpl_sr_hdr {
+ __u8 nexthdr;
+ __u8 hdrlen;
+ __u8 type;
+ __u8 segments_left;
+#if defined(__LITTLE_ENDIAN_BITFIELD)
+ __u32 cmpre:4,
+ cmpri:4,
+ reserved:4,
+ pad:4,
+ reserved1:16;
+#elif defined(__BIG_ENDIAN_BITFIELD)
+ __u32 reserved:20,
+ pad:4,
+ cmpri:4,
+ cmpre:4;
+#else
+#error "Please fix <asm/byteorder.h>"
+#endif
+
+ union {
+ struct in6_addr addr[0];
+ __u8 data[0];
+ } segments;
+} __attribute__((packed));
+
+#define rpl_segaddr segments.addr
+#define rpl_segdata segments.data
+
+#endif