summaryrefslogtreecommitdiff
path: root/lib/libpcap/pcap.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-10-02 18:04:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-10-02 18:04:37 +0000
commitc5a98b311d858f77f78048b9649676337197119d (patch)
treeab49cd3acaddfd0b0ea77cdd2de244891ed6d85a /lib/libpcap/pcap.h
parent1f207317b455e04a0ecef5dfe43a2bdca8f99c1f (diff)
change timeval to bpf_timeval; 32 bit in size, permitting much greater portability
Diffstat (limited to 'lib/libpcap/pcap.h')
-rw-r--r--lib/libpcap/pcap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpcap/pcap.h b/lib/libpcap/pcap.h
index 6408878751f..5ac1e301f93 100644
--- a/lib/libpcap/pcap.h
+++ b/lib/libpcap/pcap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcap.h,v 1.8 2000/04/26 21:25:53 jakob Exp $ */
+/* $OpenBSD: pcap.h,v 1.9 2001/10/02 18:04:35 deraadt Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996, 1997
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#) $Header: /cvs/OpenBSD/src/lib/libpcap/pcap.h,v 1.8 2000/04/26 21:25:53 jakob Exp $ (LBL)
+ * @(#) $Header: /cvs/OpenBSD/src/lib/libpcap/pcap.h,v 1.9 2001/10/02 18:04:35 deraadt Exp $ (LBL)
*/
#ifndef lib_pcap_h
@@ -84,7 +84,7 @@ struct pcap_file_header {
* packet interfaces.
*/
struct pcap_pkthdr {
- struct timeval ts; /* time stamp */
+ struct bpf_timeval ts; /* time stamp */
bpf_u_int32 caplen; /* length of portion present */
bpf_u_int32 len; /* length this packet (off wire) */
};