netsniff-ng: Show packet number
commit6b85cfef15902cac483e922c0bcf1f055ba7ed4e
authorVadim Kochan <vadim4j@gmail.com>
Mon, 27 Apr 2015 18:36:08 +0000 (27 21:36 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Sat, 2 May 2015 15:14:38 +0000 (2 17:14 +0200)
treeb3159175f6bb7d0723d3df917c7b353085bfe7e5
parentf17e4b94287025f8223364cb9aee9b4b780b8c10
netsniff-ng: Show packet number

Show the packet number as part of the dissector output.

Example:

> wlp3s0 107 1430159373s.693002029ns  (#5)
 [ Eth MAC (6c:88:14:ac:51:e4 => 10:fe:ed:90:22:12), Proto (0x0800, IPv4) ]

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector.h
netsniff-ng.c