From patchwork Sun Jul 1 11:07:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 10498605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 20BD16035E for ; Sun, 1 Jul 2018 11:09:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1093628AF3 for ; Sun, 1 Jul 2018 11:09:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04B8228AFB; Sun, 1 Jul 2018 11:09:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B883B28AF3 for ; Sun, 1 Jul 2018 11:09:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qRdeh6wBPf4UKuReac4UcCjz9dqxlXx+2kNfzzWi6cM=; b=iCTGz5f7rPEKGO ZQ35B/Il9hHsY9T82b9JZStY0H1PRcR30jefLeOglwhaajoyHWv8iNCvhmFAZFoKPvIEJdN9mVfi4 FY8TryLBNQrLVFHJyyaDXcG1Z6JbfaQj1zTaRkJqWE6D6WKyw52AWZ3Y3zJq0QIwdDq2cdnvCcyc5 5qVlQGj44P/nUX7MIgHpmDAazIBeLRSeb5mkC5gP/HQpLENBOedmWzwrbvCkgdUGr5SqStq0afqul ytDUKGk1vtZEDr12UHcSfsRKEml60XQcMw4OSke3C4wnq2MrdI+A2dMw0lR1b0kLa3Qi7UT8upNjI 6eFQ29x6ABk6hfuRF2/A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fZaEF-0004Xg-L2; Sun, 01 Jul 2018 11:09:15 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fZaEC-0004Vn-B7 for linux-arm-kernel@lists.infradead.org; Sun, 01 Jul 2018 11:09:14 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 78657AE0B; Sun, 1 Jul 2018 11:08:57 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: netdev@vger.kernel.org Subject: [RFC net-next 02/15] net: lora: Define sockaddr_lora Date: Sun, 1 Jul 2018 13:07:51 +0200 Message-Id: <20180701110804.32415-3-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180701110804.32415-1-afaerber@suse.de> References: <20180701110804.32415-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180701_040912_573632_3D4435A8 X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthias Brugger , Jiri Pirko , Marcel Holtmann , Dollar Chen , linux-kernel@vger.kernel.org, =?UTF-8?q?Michael=20R=C3=B6der?= , Janus Piwek , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Jian-Hong Pan , Ken Yu , "David S . Miller" , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Prepare a uapi linux/lora.h header defining sockaddr_lora for AF_LORA. Signed-off-by: Andreas Färber --- 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 +#include + +struct sockaddr_lora { + __kernel_sa_family_t lora_family; + int lora_ifindex; + union { + } lora_addr; +}; + +#endif /* _UAPI_LINUX_LORA_H */