URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7e7db3e91ce50f1f3ba35f88aff83c66b5f9bf97 Submitter: "Guy Harris <ghar...@sonic.net>" Changed: branch: master Repository: wireshark
Commits: 7e7db3e by Guy Harris (g...@alum.mit.edu): sll: add support for LINKTYPE_LINUX_SLL2. Different header, with a different size, an additional field, and with fields being in a different order. Distinguish between V1 and V2 by giving the version. That means we can no longer use the "ethertype" dissector as it stands, because the packet type field isn't at the end of the header, right before the payload; pull the "add the type field to the protocol tree" functionality out of the "ethertype" dissector and leave it up to the dissector calling it. Change-Id: I72b8a2483c0a539919fbe5d35fd7e60bff4bf75a Reviewed-on: https://code.wireshark.org/review/37169 Petri-Dish: Guy Harris <ghar...@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <ghar...@sonic.net> Actions performed: from 2480d9b Add an encapsulation table entry for WTAP_ENCAP_MP4. add 7e7db3e sll: add support for LINKTYPE_LINUX_SLL2. Summary of changes: epan/dissectors/packet-avsp.c | 4 +- epan/dissectors/packet-btbnep.c | 6 +- epan/dissectors/packet-cisco-metadata.c | 5 +- epan/dissectors/packet-cisco-ttag.c | 4 +- epan/dissectors/packet-etag.c | 4 +- epan/dissectors/packet-eth.c | 5 +- epan/dissectors/packet-ethertype.c | 12 +- epan/dissectors/packet-fw1.c | 5 +- epan/dissectors/packet-gmhdr.c | 6 +- epan/dissectors/packet-homepna.c | 4 +- epan/dissectors/packet-ieee8021ah.c | 17 +- epan/dissectors/packet-pa-hbbackup.c | 7 +- epan/dissectors/packet-sll.c | 331 ++++++++++++++++++++++++-------- epan/dissectors/packet-tte.c | 3 +- epan/dissectors/packet-vlan.c | 5 +- epan/dissectors/packet-vmlab.c | 4 +- epan/dissectors/packet-vntag.c | 6 +- epan/packet.h | 3 +- test/suite_text2pcap.py | 2 +- wiretap/pcap-common.c | 5 +- wiretap/wtap.c | 5 +- wiretap/wtap.h | 1 + 22 files changed, 314 insertions(+), 130 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe