Re: [B.A.T.M.A.N.] [PATCH v3 0/4] batctl: netlink support for DAT and MCAST
On Dienstag, 13. März 2018 11:43:54 CET Linus Lüssing wrote: > 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 > Applied in bfff37a..b560610 [1] Thanks, Sven [1] https://git.open-mesh.org/batctl.git/commit/c353d3a0da6068fd759ebf96727189fcc3c3dbae https://git.open-mesh.org/batctl.git/commit/33260655b3b029b05f76fbc71d1bcdd4aa5c655b https://git.open-mesh.org/batctl.git/commit/c1bb431577f1b2a4250a780f9c29355eb3694ff9 https://git.open-mesh.org/batctl.git/commit/b56061058113913c9e16b388761b873ab216e1d4 signature.asc Description: This is a digitally signed message part.
Re: [B.A.T.M.A.N.] [PATCH v3 0/2] batman-adv: netlink support for DAT and MCAST
On Dienstag, 13. März 2018 11:41:11 CET Linus Lüssing wrote: > 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: > == > > - Added missing includes, "#include " and > "#include ", to distributed-arp-table.c > - Added missing forward declaration for "struct netlink_callback" to > distributed-arp-table.h > - Changed nla_put_u32() to nla_put_in_addr() for BATADV_ATTR_DC_ADDRESS, > removed the then obsolete ntohl() conversion > - Added missing include, "#include ", to multicast.c > - Changed nla_put_u8() to nla_put_u32() for BATADV_ATTR_MCAST_FLAGS and > BATADV_ATTR_MCAST_FLAGS_PRIV to enhance extensibility Applied in 0509fc0c..53c58c1e [1] Thanks, Sven [1] https://git.open-mesh.org/batman-adv.git/commit/9ae766e912b1bace4e7f3ce9960ee8a29ce61dce https://git.open-mesh.org/batman-adv.git/commit/9ae766e912b1bace4e7f3ce9960ee8a29ce61dce signature.asc Description: This is a digitally signed message part.