On Monday, March 14, 2016 12:05:44 Antonio Quartulli wrote:
From: Antonio Quartulli antonio.quartulli@open-mesh.com
These new packet types were introduced with B.A.T.M.A.N. V and required tcpdump parsing support. With this change it is now possible to properly read the content these packets by means of the batctl tdpcump command.
In order to reduce code duplication, the mechanism used to dump TVLV containers has been extracted and moved to a new function.
Signed-off-by: Antonio Quartulli antonio.quartulli@open-mesh.com
v2:
- change through printing format from %.2f to %.1f
tcpdump.c | 164 ++++++++++++++++++++++++++++++++++++++++++++------------------ tcpdump.h | 11 +++-- 2 files changed, 123 insertions(+), 52 deletions(-)
Applied in revision 7075be1.
Thanks, Marek