1PCAP_IS_SWAPPED(3PCAP)                                  PCAP_IS_SWAPPED(3PCAP)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

19       pcap(3PCAP)
20
21
22
23                                 5 April 2008           PCAP_IS_SWAPPED(3PCAP)
Impressum