1PCAP_IS_SWAPPED(3PCAP) PCAP_IS_SWAPPED(3PCAP)
23
4
NAME
6pcap_is_swapped - find out whether a savefile has the native byte order
7
SYNOPSIS
9#include <pcap/pcap.h>
1011
int pcap_is_swapped(pcap_t *p);
12
DESCRIPTION
14pcap_is_swapped() returns true if p refers to a ``savefile'' that uses
15a different byte order than the current system. For a live capture, it
16always returns false.
17
SEE ALSO
19pcap(3PCAP)
2021
22
23
5 April 2008 PCAP_IS_SWAPPED(3PCAP)