Extend batctl to use the netlink socket where available.  If it is not
available, fall back to debugfs.

No attempt has been made to keep the netlink output compatible with
the debugfs output. Anything why tries the parse the output is
probably broken.

BLA has not been tested, so is also probably broken.

Andrew Lunn (2):
  batctl: Document a network namespaces example.
  batctl: Use netlink when available, rather than debugfs

 Makefile    |  20 +-
 README      |  58 +++++
 debug.c     |  19 +-
 debug.h     |   4 +-
 functions.c |  11 +
 functions.h |   1 +
 main.h      |   1 +
 netlink.c   | 810 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 920 insertions(+), 4 deletions(-)
 create mode 100644 netlink.c

-- 
2.8.0.rc3

Reply via email to