From patchwork Sat Feb 9 13:42:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 17782 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 248EB81C29; Sat, 9 Feb 2019 14:42:40 +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="QY430F5N"; 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 F36DB81C06 for ; Sat, 9 Feb 2019 14:42:28 +0100 (CET) Received: from sven-desktop.home.narfation.org (p200300C597362EFD0000000000004065.dip0.t-ipconnect.de [IPv6:2003:c5:9736:2efd::4065]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 5481E110139; Sat, 9 Feb 2019 14:42:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1549719748; bh=HvbCREZJ08bEiGoG0BgSBsYPsDz7wgsTsDLjyb7lF6Q=; h=From:To:Cc:Subject:Date:From; b=QY430F5Ni+6FqQgfeoVhL11tA4BH0ZRmbu5+mUejzCj5HStTGDqe2mrZ+tm9D2e0A ihnkH+GQcffMKAN1k89lCfX+ylGCEHrMPyq94RU9rSeJHFuS3jXXtFxwOg6z7GDoWH vVS9cw+nqiCA906TMQ3lBdHndQSh73o200hFVX+w= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sat, 9 Feb 2019 14:42:02 +0100 Message-Id: <20190209134222.15035-1-sven@narfation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [B.A.T.M.A.N.] [PATCH v5 00/20] 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 patch series for the netlink interface in batman-adv was just posted. The batman-adv weren't directly rejected by Jiro and thus I've started to convert all settings to netlink while still allowing sysfs as fallback. v5: === * dropped attribute BATADV_ATTR_MULTICAST_MODE for multicast_mode and replaced it with (basically inversed) BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED * Add _ENABLED Postfix for boolean attributes: - BATADV_ATTR_AGGREGATED_OGMS_ENABLED - BATADV_ATTR_AP_ISOLATION_ENABLED - BATADV_ATTR_BONDING_ENABLED - BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED - BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED - BATADV_ATTR_FRAGMENTATION_ENABLED - BATADV_ATTR_NETWORK_CODING_ENABLED v4: === * last patch (which adds the netlink implementation of the settings commands) was splitted in 16 separate patches * Cc the (most likely) responsible developers for each setting to more directly ask them for feedback v3: === * fix kernel-doc in batman_adv.h * add three patches to use the netlink interface with the already existing setting commands v2: === * drop of generic config command * reimplementation of the event command Kind regards, Sven Sven Eckelmann (20): batctl: Add support for config mcast group in event monitor batctl: Don't allocate new buffer for vlan parent device batctl: Automatically translate vlan to mesh_iface batctl: Add settings_data hooks for netlink integration batctl: Parse the arguments for gw_mode batctl: Add netlink simple query helper batctl: Support generic netlink for gw_mode command batctl: Support generic netlink for loglevel command batctl: Support generic netlink for isolation_mark command batctl: Support generic netlink for orig_interval command batctl: Add helper to read/write boolean configuration values batctl: Support generic netlink for aggregation command batctl: Support generic netlink for ap_isolation command batctl: Support generic netlink for bonding command batctl: Support generic netlink for bridge_loop_avoidance command batctl: Support generic netlink for distributed_arp_table command batctl: Support generic netlink for fragmentation command batctl: Support generic netlink for multicast_mode command batctl: Support generic netlink for network_coding command batctl: Drop settings_data param lists aggregation.c | 46 ++++- ap_isolation.c | 68 ++++++- batman_adv.h | 190 +++++++++++++++++- bonding.c | 45 ++++- bridge_loop_avoidance.c | 46 ++++- distributed_arp_table.c | 46 ++++- event.c | 234 ++++++++++++++++++++++ fragmentation.c | 46 ++++- functions.c | 160 +++++++++++++--- functions.h | 23 ++- gateways.c | 10 +- gw_mode.c | 416 +++++++++++++++++++++++++++++++--------- isolation_mark.c | 123 +++++++++++- loglevel.c | 138 ++++++++++--- main.c | 10 +- main.h | 6 +- mcast_flags.c | 10 +- multicast_mode.c | 66 ++++++- netlink.c | 108 ++++++++++- netlink.h | 2 + network_coding.c | 46 ++++- orig_interval.c | 84 +++++++- originators.c | 10 +- routing_algo.c | 1 - sys.c | 219 ++++++++++++++++----- sys.h | 25 ++- 26 files changed, 1922 insertions(+), 256 deletions(-)