[RFC,0/2] batctl: netlink restructuring, part 3

Message ID 20181104193408.18253-1-sven@narfation.org (mailing list archive)


Sven Eckelmann Nov. 4, 2018, 7:34 p.m. UTC
  As mentioned earlier, the netlink config restructuring in batctl will be
splitted in multiple steps. The first step was already merged and the
RFC changes for the netlink interface in batman-adv were just posted.

Since it doesn't make sense to have a full implementation in batctl when
the batman-adv part is not yet in a finished state. But it also is useless
to have only the batman-adv RFC part without a userspace tool. The
(by default disabled) config subcommand is (my) solution for this problem.
It allows developers to play around with this interface and assign new
values for specific keys and to read the current config state.

Make sure that you enable it during the build:

  $ make clean; make CONFIG_config=y

Kind regards,

Sven Eckelmann (2):
  batctl: Add generic netlink configuration subcommand
  batctl: Add support for config mcast group in event monitor

 Makefile     |   1 +
 batman_adv.h |  55 ++++++
 config.c     | 542 +++++++++++++++++++++++++++++++++++++++++++++++++++
 event.c      | 100 ++++++++++
 man/batctl.8 |  37 ++++
 netlink.c    |   3 +
 6 files changed, 738 insertions(+)
 create mode 100644 config.c