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: 140708 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2850382ljj; Sun, 1 Jul 2018 04:12:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKlAk1pLe/j0/x9vTxvFprVKE80YrnpfLzClG22eQ1RPJshM4oFIMYoI/Z3AVSATdRviIO8 X-Received: by 2002:a65:64c6:: with SMTP id t6-v6mr18392625pgv.223.1530443576006; Sun, 01 Jul 2018 04:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530443575; cv=none; d=google.com; s=arc-20160816; b=r/rGCQ+AIBLxEN+u9lkVALrivgI9yVCL3gIXLXB/4Vi2gfub/UQvIoa+enf834lzzr ywIfJoR9Wj91LXNlVPXTQz4tAbU5Z7xac0SKMhEERW9QkgZ1iLzFDO8hXFBMe2TpqGNv yufELxkn/KZCDZ9nHsY7LmXiwEyASxrT4mnFdXEYodAEqKfMDd+N3DgPtOVQrL87rXUf PARHVkiGXKSf32gZxm8cqtjtW1uENuewVIuTwtpNjHXUMtAFutD7YQMbj5oagGpqvM0p ZbYidOpiJqF2tFT0/sP+wv2+wJG6O44oonRAFw0ZhZJ2mslHpoFYuAV05T6WGKLneRNu OBlw== 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 i12-v6si12282000pgp.325.2018.07.01.04.12.55; Sun, 01 Jul 2018 04:12:55 -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 S1752724AbeGALMy (ORCPT + 31 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_F=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_R=C3=B6der?= , Dollar Chen , Ken Yu , =?utf-8?q?Andreas_F=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 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 -- 2.16.4 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 */