mbox

[0/3] batctl: tcpdump: Add support to identify missing packets

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

Message

Sven Eckelmann June 9, 2019, 4:56 p.m. UTC
  Hi,

when running batctl's tcpdump today on a normal batman-adv slave interface,
you will see warnings like:

  Warning - packet contains unknown batman packet type: 0x41
  Warning - packet contains unknown batman packet type: 0x02

This is caused by missing dumping routinges in the tcpdump implementation.
Since these packets (coded, fragmented) cannot be decoded/reassembled
easily these packets are only identified and some basic header informations
are shown.

Also not all TVLVs in the header were shown. The mcast part was dropped and
thus the debugging of the new mcast feature flags was not possible with
batctl.

Kind regards,
	Sven

Sven Eckelmann (3):
  batctl: tcpdump: Add support for MCAST TVLV
  batctl: tcpdump: Add support for unicast fragmentation
  batctl: tcpdump: Add support for coded packets

 tcpdump.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tcpdump.h |   1 +
 2 files changed, 110 insertions(+), 1 deletion(-)