]> The Tcpdump Group git mirrors - tcpdump/commit
Skip the LLC and SNAP headers with -x.
authorGuy Harris <[email protected]>
Sat, 18 Apr 2015 06:42:22 +0000 (23:42 -0700)
committerGuy Harris <[email protected]>
Sat, 18 Apr 2015 06:42:22 +0000 (23:42 -0700)
commitbd00116d80c18b782f4cb15dfc90cd5bf993d4f5
treea16e9d9d3f76a4cb7ce31ed246d0e210ee6eef96
parentcd81326386002beb5c4df6550350860568e2a682
Skip the LLC and SNAP headers with -x.

Have llc_print() return the length of the LLC header, plus the length of
the SNAP header, if available - or, if it couldn't dissect the payload,
return the *negative* of that sum.  Use that return value in link-layer
printers.
netdissect.h
print-802_11.c
print-atm.c
print-cip.c
print-ether.c
print-fddi.c
print-ipfc.c
print-juniper.c
print-llc.c
print-sll.c
print-token.c