summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.h
diff options
context:
space:
mode:
authorryo <ryo@NetBSD.org>2021-09-23 06:56:26 +0000
committerryo <ryo@NetBSD.org>2021-09-23 06:56:26 +0000
commitf036aca9a82f207e0cbdd6a9ad2665c0ec2cc8e4 (patch)
tree09114cc968970023b3c1bf9e919781d41b8d3ab6 /sys/compat/linux/common/linux_socket.h
parentb8dd72b7252d147be60c2cc71da1323850d535d5 (diff)
add support COMPAT_LINUX for aarch64
Diffstat (limited to 'sys/compat/linux/common/linux_socket.h')
-rw-r--r--sys/compat/linux/common/linux_socket.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_socket.h b/sys/compat/linux/common/linux_socket.h
index 336c9c288cc..21d4bace5d3 100644
--- a/sys/compat/linux/common/linux_socket.h
+++ b/sys/compat/linux/common/linux_socket.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.h,v 1.24 2019/08/24 12:33:25 maxv Exp $ */
+/* $NetBSD: linux_socket.h,v 1.25 2021/09/23 06:56:27 ryo Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -104,6 +104,7 @@
#define LINUX_IP_TOS 1
#define LINUX_IP_TTL 2
#define LINUX_IP_HDRINCL 3
+#define LINUX_IP_RECVERR 11
#define LINUX_IP_MULTICAST_IF 32
#define LINUX_IP_MULTICAST_TTL 33
#define LINUX_IP_MULTICAST_LOOP 34
@@ -219,6 +220,8 @@ struct linux_cmsghdr {
#include <compat/linux/arch/powerpc/linux_socket.h>
#elif defined(__mips__)
#include <compat/linux/arch/mips/linux_socket.h>
+#elif defined(__aarch64__)
+#include <compat/linux/arch/aarch64/linux_socket.h>
#elif defined(__arm__)
#include <compat/linux/arch/arm/linux_socket.h>
#elif defined(__amd64__)