Libpcap, a portable C/C++ library for network traffic capture.
I am writing fairly simply pcap "live" capture engine, however the packet processing callback implementation for pcap_dispatch should take …
libpcapRunning the file command against a pcap file will print out something along the lines of - $ file pcap.pcap …
endianness pcap libpcap tcpdump