On Jul 7, 2005, at 4:37 PM, Cyril wrote:
[iBook] Running what OS?
Mac OS X (Mach kernel + Darwin).
(...+all the frameworks, apps, Finder, etc. - but those aren't
relevant to this particular issue.)
Oks. So, BPF/LSF filter assumes that multi-byte values are in
network byte order (ie b
Me :
Why not safe_snprintf(..., htons(src_prt), ...) ? I swear that it's
my *last* stupid question :-)
^^
The only answer is that pcap_compile() reverts multibyte data found in
expression on little endian architectures. 0x0001 -> 0x0100. So
0x1f01
Hello,
[iBook] Running what OS?
Mac OS X (Mach kernel + Darwin).
Most PowerPC processors, however, support unaligned loads and
stores (although they might be slower). I think all the ones used
in modern Macs do.
Yes. Processors used in modern Macs are bi-endian PowerPC. They
support
CVS log entries from 06.07.2005 (Wed) 09:06:53 - 07.07.2005 (Thu) 09:07:15 GMT
=
Summary by authors
=
Author: guy
File: libpcap/pcap-dag.h; Revisions: 1.4, 1.3.4.1
File: tcpdump/p