Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2720386imm; Sun, 1 Jul 2018 04:15:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKXiKjZO/xMo3bC4qv6xohNOQppl2FCIfBJM4k6OBmjTacCDQ1/4gtxA02TvJ8JQ5+HD4lw X-Received: by 2002:a17:902:bf43:: with SMTP id u3-v6mr21831864pls.322.1530443718462; Sun, 01 Jul 2018 04:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530443718; cv=none; d=google.com; s=arc-20160816; b=kjyhxGRp2Bmx0LcLGCxMqtG/LdhhwW3XSbfhOY6hGfgOyxm2KMgGs+xzUAg3R+nSbK llpzw7wLGvRE3LjSZZbgj1nN27pOdm+onZqraQomfXIw/Cu/OhSRDq2GlFkh0bZ9hhCt 5U2KGbELIKH0SNugs4tiP/+6+F+OsKbVulpYmUviE5K5uxeJ6pYWiEVTqm4uX1o+SqTF 115gj2r+4hpHpxSmWWrrBYwzoPb2p4y0LY2GnGVEXZ/hswgY++OeuLs9cV0vmIrVEVWe 63+TxYxxftyR/WBqQMYqHRbxpo7zrASt+fixzxPri2ehlPkokn36RCVZBSVuAYJYrgSL YnbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=w2nQtwCeEZhezQkCR9ABvpRzJx4OeaIuwaCyU8gdC6g=; b=AQQePFe4P29Vs2pFLFRd9OJUr6+bla7EQ6FMaXhDW9m/gEalht3PCRCZhyedoCDk+n sFoHC3JDVF8A63S4MoYbaKNcqt/jnSb6/5j8vBhN1NbDziM9hp9S1FoiOT5bUDo82uDt YAZRa5vNyMr0UAWQfWfYDCr2m5x3WrHCVRlQc0MF4Dmr3cdOa2+UdrS1JMmDH14rlLQY vbIjECm1Bc8ab9jWxgnKFoAIj7gsAg8wQJmp5M5pnapyVf+vsRn4+VXB0+Ji4PHH0LEy 7I6jrWkVo7ge6BCkL31XtSm4IGpBgQH0ZFXJG4vHEhhQlUTOVWWc2YUaoDxLZw/BAjzQ OUjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6-v6si2211788pgk.215.2018.07.01.04.14.56; Sun, 01 Jul 2018 04:15:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752712AbeGALMy (ORCPT + 99 others); Sun, 1 Jul 2018 07:12:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:47766 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752082AbeGALI7 (ORCPT ); Sun, 1 Jul 2018 07:08:59 -0400 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jian-Hong Pan , Jiri Pirko , Marcel Holtmann , "David S . Miller" , Matthias Brugger , Janus Piwek , =?UTF-8?q?Michael=20R=C3=B6der?= , Dollar Chen , Ken Yu , =?UTF-8?q?Andreas=20F=C3=A4rber?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 2.16.4