pcap_is_swapped.3pcap

Langue: en

Version: 5 April 2008 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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)