mbox

[v2,0/4] batctl: netlink support for DAT and MCAST

Message ID 20180311000252.3289-1-linus.luessing@c0d3.blue
Headers show

Message

Linus L├╝ssing March 11, 2018, 12:02 a.m. UTC
This patchset adds netlink support for dumping DAT cache and multicast
flags tables.

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