]> The Tcpdump Group git mirrors - libpcap/commit
From Paolo Abeni:
authorguy <guy>
Mon, 29 Jan 2007 20:08:06 +0000 (20:08 +0000)
committerguy <guy>
Mon, 29 Jan 2007 20:08:06 +0000 (20:08 +0000)
commitb4c382fd7e28aab94f78f1131d2cdc4c0d48d39a
tree3f60427bfeb0ec693ebae7b4d29ac05915142eb2
parent6db2ddb56a4d283b7d353409d9c46b647a18a5e3
From Paolo Abeni:

The USB pseudo-header in DLT_USB_LINUX captures is in the host
byte order for the machine on which the capture was done.  When
reading a capture file, convert the pseudo-header to the host
byte order of the host on which the file is being read.

There's a 64-bit quantity in that pseudo-header; move the 64-bit
byte-swap macro from the DAG code to pcap-int.h for use by other
code.
pcap-dag.c
pcap-int.h
savefile.c