Return-Path: From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Tue, 13 Mar 2018 11:43:54 +0100 Message-Id: <20180313104358.19895-1-linus.luessing@c0d3.blue> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [B.A.T.M.A.N.] [PATCH v3 0/4] batctl: netlink support for DAT and MCAST List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org This patchset adds netlink support for dumping DAT cache and multicast flags tables. Changes in v3: ============== - renamed netlink attributes: - BATADV_ATTR_DC_ADDRESS -> BATADV_ATTR_DAT_CACHE_IP4ADDRESS - BATADV_ATTR_DC_HWADDRESS -> BATADV_ATTR_DAT_CACHE_HWADDRESS - BATADV_ATTR_DC_VID -> BATADV_ATTR_DAT_CACHE_VID Changes in v2: ============== - Removed htonl() conversion for BATADV_ATTR_DC_ADDRESS as batman-adv now provides it in network byte order (via nla_put_in_addr() ) - Increased BATADV_ATTR_MCAST_FLAGS and BATADV_ATTR_MCAST_FLAGS_PRIV size from 8 to 32 bits to enhance extensibility - Changed mcast_flags error value from -EINVAL to -ENOTSUPP to allow a fallback to and retry via debugfs, for compatibility with older batman-adv versions