pcap_is_swapped(3) - Linux man page

Name

pcap_is_swapped - find out whether a savefile has the native byte order

Synopsis

#include <pcap/pcap.h>
int pcap_is_swapped(pcap_t *p);

Description

pcap_is_swapped() returns true if p refers to a ''savefile'' that uses a different byte order than the current system. For a live capture, it always returns false.

See Also

pcap(3PCAP)