summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-09-04 19:54:21 +0000
committersam <sam@FreeBSD.org>2006-09-04 19:54:21 +0000
commit8bcc947abca2294c34328ac33c001fc8b000b77d (patch)
treee0aa52f0d15c797ed6153b7446fd850742a6c1dd /contrib/libpcap/pcap.h
parentd439ca5cfb2e498bd8338759a5310dbd287201a7 (diff)
downloadFreeBSD-src-8bcc947abca2294c34328ac33c001fc8b000b77d.zip
FreeBSD-src-8bcc947abca2294c34328ac33c001fc8b000b77d.tar.gz
resolve merge conflicts
MFC after: 1 month
Diffstat (limited to 'contrib/libpcap/pcap.h')
-rw-r--r--contrib/libpcap/pcap.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libpcap/pcap.h b/contrib/libpcap/pcap.h
index a302ac7..e91b9d5 100644
--- a/contrib/libpcap/pcap.h
+++ b/contrib/libpcap/pcap.h
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* $FreeBSD$
- * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.52 2004/12/18 08:52:11 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.52.2.5 2005/07/07 02:04:36 guy Exp $ (LBL)
*/
#ifndef lib_pcap_h
@@ -113,10 +113,10 @@ struct pcap_file_header {
};
typedef enum {
- D_INOUT = 0,
- D_IN,
- D_OUT
-} direction_t;
+ PCAP_D_INOUT = 0,
+ PCAP_D_IN,
+ PCAP_D_OUT
+} pcap_direction_t;
/*
* Each packet in the dump file is prepended with this generic header.
@@ -216,7 +216,7 @@ int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
void pcap_breakloop(pcap_t *);
int pcap_stats(pcap_t *, struct pcap_stat *);
int pcap_setfilter(pcap_t *, struct bpf_program *);
-int pcap_setdirection(pcap_t *, direction_t);
+int pcap_setdirection(pcap_t *, pcap_direction_t);
int pcap_getnonblock(pcap_t *, char *);
int pcap_setnonblock(pcap_t *, int, char *);
void pcap_perror(pcap_t *, char *);
OpenPOWER on IntegriCloud