]> The Tcpdump Group git mirrors - libpcap/commit
For DLT_LINUX_SLL SocketCAN packets, fix up the header when reading.
authorGuy Harris <[email protected]>
Fri, 19 Aug 2016 00:29:32 +0000 (17:29 -0700)
committerGuy Harris <[email protected]>
Fri, 19 Aug 2016 00:29:32 +0000 (17:29 -0700)
commit5bb9c18cf6ee5586e96da4b7df93e8093ecc88ae
tree81738ebf03ccf0b2af238f0424e3dde659c3e33e
parent0eb440dc0a4c2248e13fe370b014160836ba70e1
For DLT_LINUX_SLL SocketCAN packets, fix up the header when reading.

As with other SocketCAN headers, except for those captured with
pcap-can-linux.c, the CAN ID and flags field is in host byte order, and
needs to be fixed up if we're reading a capture written by a host with
the opposite byte order.
Makefile.in
extract.h [new file with mode: 0644]
pcap-common.c
pcap/sll.h