• Guy Harris's avatar
    sll: add support for LINKTYPE_LINUX_SLL2. · 7e7db3e9
    Guy Harris authored
    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 <gharris@sonic.net>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris's avatarGuy Harris <gharris@sonic.net>
packet-eth.c 47.2 KB