Skip to content

batctl: rtnetlink interface manipulation + userspace icmp

Sven Eckelmann batman 3 versions – Applied

Status from this message: Applied in 60e519b..4bd751e

Get series with b4
b4 am 2403515.P9aVkiGJpp@bentobox

Versions newest first · linked by author and title

  1. v3 Latest9 patches 1 replyApplied
  2. v27 patches 0 repliesSuperseded
  3. v17 patches 5 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9batctl: Use rtnl to query list of softif devicesfunctions.c functions.h sys.c+129 -510 replies
2/9batctl: Add command to create/destroy batman-adv interfacefunctions.c functions.h man/batctl.8 +1 more+201 -50 replies
3/9batctl: Use rtnl to add/remove interfacessys.c+145 -270 replies
4/9batctl: Parse interface arguments relative to last parsed optionsys.c+28 -230 replies
5/9batctl: Allow to disable automatic interface create/destroyman/batctl.8 sys.c+12 -40 replies
6/9batctl: Move interface command to extra fileMakefile functions.h interface.c +4 more+490 -4210 replies
7/9batctl: Move check_mesh_iface* to functions.cfunctions.c functions.h sys.c +1 more+61 -580 replies
8/9batctl: Add helper to generate instant random bytesfunctions.c functions.h+68 -00 replies
9/9batctl: Implement non-routing batadv_icmp in userspaceMakefile icmp_helper.c icmp_helper.h +4 more+895 -620 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [B.A.T.M.A.N.] [PATCH v3 0/9] batctl: rtnetlink interface manipulation + userspace icmp

Hi,

I had to merge the ICMP and rtnetlink patchset [1] into one single patchset because the two remaining ICMP patches depend on the rtnetlink query functionality. This is already the biggest change to the patchset(s). Other minor things are:

* remove patchset already in master
* rebased patchset(s) on top of current master
* changed __unused to __maybe_unused

Kind regards,
Sven

[1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-July/015941.html
[2] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-July/016046.html

Sven Eckelmann (9):
batctl: Use rtnl to query list of softif devices
batctl: Add command to create/destroy batman-adv interface
batctl: Use rtnl to add/remove interfaces
batctl: Parse interface arguments relative to last parsed option
batctl: Allow to disable automatic interface create/destroy
batctl: Move interface command to extra file
batctl: Move check_mesh_iface* to functions.c
batctl: Add helper to generate instant random bytes
batctl: Implement non-routing batadv_icmp in userspace

 Makefile      |   2 +
 functions.c   | 248 +++++++++++++++++++++++
 functions.h   |  12 +-
 icmp_helper.c | 633 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 icmp_helper.h |  58 ++++++
 interface.c   | 457 ++++++++++++++++++++++++++++++++++++++++++
 interface.h   |  29 +++
 main.c        |   1 +
 man/batctl.8  |   7 +-
 netlink.c     | 178 ++++++++++++++++-
 netlink.h     |   3 +
 ping.c        |  42 ++--
 sys.c         | 215 +-------------------
 sys.h         |   3 -
 traceroute.c  |  42 ++--
 15 files changed, 1654 insertions(+), 276 deletions(-)