[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180701110804.32415-3-afaerber@suse.de>
Date: Sun, 1 Jul 2018 13:07:51 +0200
From: Andreas Färber <afaerber@...e.de>
To: netdev@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jian-Hong Pan <starnight@...cu.edu.tw>,
Jiri Pirko <jiri@...nulli.us>,
Marcel Holtmann <marcel@...tmann.org>,
"David S . Miller" <davem@...emloft.net>,
Matthias Brugger <mbrugger@...e.com>,
Janus Piwek <jpiwek@...oweurope.com>,
Michael Röder <michael.roeder@...et.eu>,
Dollar Chen <dollar.chen@...ec.com>,
Ken Yu <ken.yu@...wireless.com>,
Andreas Färber <afaerber@...e.de>
Subject: [RFC net-next 02/15] net: lora: Define sockaddr_lora
Prepare a uapi linux/lora.h header defining sockaddr_lora for AF_LORA.
Signed-off-by: Andreas Färber <afaerber@...e.de>
---
include/uapi/linux/lora.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 include/uapi/linux/lora.h
diff --git a/include/uapi/linux/lora.h b/include/uapi/linux/lora.h
new file mode 100644
index 000000000000..9368e8a84f3a
--- /dev/null
+++ b/include/uapi/linux/lora.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: (GPL-2.0-or-later WITH Linux-syscall-note) */
+/*
+ * linux/lora.h
+ *
+ * Copyright (c) 2017-2018 Andreas Färber
+ */
+#ifndef _UAPI_LINUX_LORA_H
+#define _UAPI_LINUX_LORA_H
+
+#include <linux/types.h>
+#include <linux/socket.h>
+
+struct sockaddr_lora {
+ __kernel_sa_family_t lora_family;
+ int lora_ifindex;
+ union {
+ } lora_addr;
+};
+
+#endif /* _UAPI_LINUX_LORA_H */
--
2.16.4
Powered by blists - more mailing lists