From patchwork Fri Apr 29 19:15:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 15990 Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id EDFED822F1; Fri, 29 Apr 2016 21:15:30 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=none header.from=narfation.org Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=d60/dxZd; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2001:4d88:2000:7::2; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Received: from v3-1039.vlinux.de (narfation.org [IPv6:2001:4d88:2000:7::2]) by open-mesh.org (Postfix) with ESMTPS id 69874822E5 for ; Fri, 29 Apr 2016 21:15:09 +0200 (CEST) Received: from sven-edge.localnet (p200300C593C12BFD0000000000002E16.dip0.t-ipconnect.de [IPv6:2003:c5:93c1:2bfd::2e16]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id B971A1100F1; Fri, 29 Apr 2016 21:15:07 +0200 (CEST) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1461957307; bh=Fjd6OXYno+D4oNYfh1DSw6D6aZ05i+uQpheP5fjvPVE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d60/dxZdEvH5JVRUE0872jMTk4H7UxfgfMxXZk9P/hK0iEfJhwXRobjCwxytGuJ6t EBF2R8l5SjPZzvkg+NU8XuWejwwm1pIzc/jMfmiAS4WwWo33hsEbbw6SQL44X3ng8/ /s5K0WSfXR0fJTjlc9aVUFUNBXQht7ubD5ljkmFs= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 29 Apr 2016 21:15:07 +0200 Message-ID: <4924357.ZJSNvVin1f@sven-edge> User-Agent: KMail/4.14.10 (Linux/4.5.0-1-amd64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <1461875848-11720-5-git-send-email-andrew@lunn.ch> References: <1461875848-11720-1-git-send-email-andrew@lunn.ch> <1461875848-11720-5-git-send-email-andrew@lunn.ch> MIME-Version: 1.0 Subject: Re: [B.A.T.M.A.N.] [PATCH 04/10] batman-adv: netlink: add translation table query X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" On Thursday 28 April 2016 22:37:22 Andrew Lunn wrote: > From: Matthias Schiffer > > This adds the commands BATADV_CMD_GET_TRANSTABLE_LOCAL and > BATADV_CMD_GET_TRANSTABLE_GLOBAL, which correspond to the transtable_local > and transtable_global debugfs files. > > The batadv_tt_client_flags enum is moved to the UAPI to expose it as part > of the netlink API. > > Signed-off-by: Matthias Schiffer > --- > include/uapi/linux/batman_adv.h | 47 ++++++ > net/batman-adv/netlink.c | 12 ++ > net/batman-adv/packet.h | 36 ----- > net/batman-adv/translation-table.c | 305 > +++++++++++++++++++++++++++++++++++++ net/batman-adv/translation-table.h | > 2 + > 5 files changed, 366 insertions(+), 36 deletions(-) You can find the missing includes in the attached patch Kind regards, Sven From: Sven Eckelmann Date: Fri, 29 Apr 2016 20:47:26 +0200 Subject: [PATCH] missing includes 4 --- net/batman-adv/netlink.c | 1 + net/batman-adv/translation-table.c | 5 ++++- net/batman-adv/translation-table.h | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c index 7309f18..3fb1c1f 100644 --- a/net/batman-adv/netlink.c +++ b/net/batman-adv/netlink.c @@ -35,6 +35,7 @@ #include "hard-interface.h" #include "soft-interface.h" +#include "translation-table.h" struct genl_family batadv_netlink_family = { .id = GENL_ID_GENERATE, diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index cd3e4f2..be42b12 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -35,15 +35,18 @@ #include #include #include +#include #include #include #include +#include #include #include #include #include #include -#include +#include +#include #include #include diff --git a/net/batman-adv/translation-table.h b/net/batman-adv/translation-table.h index 6d8b5b2..7128fb3 100644 --- a/net/batman-adv/translation-table.h +++ b/net/batman-adv/translation-table.h @@ -23,7 +23,9 @@ #include struct net_device; +struct netlink_callback; struct seq_file; +struct sk_buff; int batadv_tt_init(struct batadv_priv *bat_priv); bool batadv_tt_local_add(struct net_device *soft_iface, const u8 *addr,