openwrt-routing/batman-adv
Sven Eckelmann 39da22d04a batman-adv: Always send iface index+name in genlmsg
The batman-adv netlink messages often contain the interface index and
interface name in the same message. This makes it easy for the receiver to
operate on the incoming data when it either needs to print something or
needs to operate on the interface index.

But one of the attributes was missing for:

* neighbor table dumps
* originator table dumps
* gateway list dumps
* query of hardif information
* query of vid information

The userspace therefore had to implement special workarounds using
SIOCGIFNAME or SIOCGIFINDEX depending on what was actually provided.
Providing both information simplifies the userspace code massively without
adding a lot of extra overhead in the kernel portion.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-05-18 18:51:26 +02:00
..
files batman-adv: upgrade package to latest release 2020.3 2020-08-25 20:09:34 +02:00
patches batman-adv: Always send iface index+name in genlmsg 2021-05-18 18:51:26 +02:00
src batman-adv: Drop compat code for Linux < 5.4 2021-01-28 21:05:35 +01:00
Config.in batman-adv: upgrade package to latest release 2021.0 2021-01-28 21:08:27 +01:00
Makefile batman-adv: update to version 2021.1 2021-05-18 18:48:52 +02:00