diff options
author | djm <djm@openbsd.org> | 2006-03-26 20:58:50 +0000 |
---|---|---|
committer | djm <djm@openbsd.org> | 2006-03-26 20:58:50 +0000 |
commit | c1bf12094404ebc3b7ccf06bb14f4f887336dff8 (patch) | |
tree | ba1f6b420de7e59477065b9f8a9ce455ad4cb23e /lib/libpcap/pcap-int.h | |
parent | Explain a bit more about the usage of isagpio(4). (diff) | |
download | wireguard-openbsd-c1bf12094404ebc3b7ccf06bb14f4f887336dff8.tar.xz wireguard-openbsd-c1bf12094404ebc3b7ccf06bb14f4f887336dff8.zip |
add remaining tcpdump.org libpcap 0.9 APIs, most notably
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@
Diffstat (limited to 'lib/libpcap/pcap-int.h')
-rw-r--r-- | lib/libpcap/pcap-int.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpcap/pcap-int.h b/lib/libpcap/pcap-int.h index f86d5e4b7a3..f3a24eb34bf 100644 --- a/lib/libpcap/pcap-int.h +++ b/lib/libpcap/pcap-int.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcap-int.h,v 1.10 2005/11/18 11:05:39 djm Exp $ */ +/* $OpenBSD: pcap-int.h,v 1.11 2006/03/26 20:58:51 djm Exp $ */ /* * Copyright (c) 1994, 1995, 1996 @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /home/cvs/src/lib/libpcap/pcap-int.h,v 1.10 2005/11/18 11:05:39 djm Exp $ (LBL) + * @(#) $Header: /home/cvs/src/lib/libpcap/pcap-int.h,v 1.11 2006/03/26 20:58:51 djm Exp $ (LBL) */ #ifndef pcap_int_h @@ -104,6 +104,8 @@ struct pcap { u_int *dlt_list; char errbuf[PCAP_ERRBUF_SIZE]; + + struct pcap_pkthdr pcap_header; /* This is needed for the pcap_next_ex() to work */ }; /* |