]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
In memory-mapped mode, don't release the packet as soon as the callback
[libpcap] / pcap-int.h
index a54f382bd090b0125fcb4a399387552fa6b515b4..d5d310b016834260bb079ab13640de6fb4daabb5 100644 (file)
@@ -134,6 +134,7 @@ struct pcap_md {
        bpf_u_int32 oldmode;    /* mode to restore when turning monitor mode off */
        u_int   tp_version;     /* version of tpacket_hdr for mmaped ring */
        u_int   tp_hdrlen;      /* hdrlen of tpacket_hdr for mmaped ring */
+       union thdr prev_pkt;    /* previous packet handed to the callback */
 #endif /* linux */
 
 #ifdef HAVE_DAG_API