From patchwork Fri Nov 23 16:14:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 17658 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 593F28330C; Fri, 23 Nov 2018 17:15:14 +0100 (CET) Authentication-Results: open-mesh.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=narfation.org header.i=@narfation.org header.b="0YREo+0R"; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.140.41.39; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver= Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 63D9E832B7 for ; Fri, 23 Nov 2018 17:14:49 +0100 (CET) Received: from sven-desktop.home.narfation.org (unknown [IPv6:2003:c5:9700:89fd::8096]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 2E81E11016E; Fri, 23 Nov 2018 17:14:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1542989686; bh=OIoX/GtHheZ8LeNcoTmGJQ10STiRV4JvlL7eU2LvSSw=; h=From:To:Cc:Subject:Date:From; b=0YREo+0R2m2JkRpRFzpOMjrAHSHVqxIaceXhvxlWG41HdeY/hWteN4i17ffUK0u/K uqesg95S9K0IxpTVXSSUuioZhqKj6c9nzM+P86uAebA0WBQx7Fmf8goMZiFs8HHNke ZNp6Bs/YX+coFcuWai9ZJq6rLCpI05yeQVm55EFg= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 23 Nov 2018 17:14:41 +0100 Message-Id: <20181123161442.13461-1-sven@narfation.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [B.A.T.M.A.N.] [RFC v2 0/1] batctl: netlink restructuring, part 3 X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.23 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" As mentioned earlier, the netlink config restructuring in batctl will be splitted in multiple steps. The first step was already merged and the RFC changes for the netlink interface in batman-adv were just posted. It doesn't make sense to have a full implementation in batctl when the batman-adv part is not yet in a state which survived the RFC phase. But it also is useless to have only the batman-adv RFC part without at least something in userspace. I have now only added the event monitor so it is possible to at least parse the messages from the kernel. An implementation of the sysfs config helper with netlink support (and sysfs fallback) will be implemented when the RFC phase of the batman-adv part doesn't require any major changes anymore. v2: * drop of generic config command * reimplementation of the event command Kind regards, Sven Sven Eckelmann (1): batctl: Add support for config mcast group in event monitor batman_adv.h | 188 +++++++++++++++++++++++++++++++++++++++-- event.c | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++ netlink.c | 20 +++++ 3 files changed, 437 insertions(+), 5 deletions(-)