PCAP_IS_SWAPPED(3PCAP)PCAP_IS_SWAPPED(3PCAP)NAMEpcap_is_swapped - find out whether a savefile has the native byte order
SYNOPSIS
#include <pcap/pcap.h>
int pcap_is_swapped(pcap_t *p);
DESCRIPTIONpcap_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 ALSOpcap(3PCAP)ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌────────────────────┬─────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├────────────────────┼─────────────────────────┤
│Availability │ system/library/libpcap │
├────────────────────┼─────────────────────────┤
│Interface Stability │ Uncommitted │
└────────────────────┴─────────────────────────┘
NOTES
Source for libpcap is available at http://opensolaris.org and at
http://www.tcpdump.org. Documentation is available at
file:///usr/share/man, and http://www.tcpdump.org.
5 April 2008 PCAP_IS_SWAPPED(3PCAP)