]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Move "union thdr" to pcap-int.h, as we use it in pcap-int.h.
[libpcap] / pcap-int.h
index d5d310b016834260bb079ab13640de6fb4daabb5..ab04d617797e03cf88c256e4d36117a98b87e674 100644 (file)
@@ -109,6 +109,14 @@ struct pcap_sf {
        u_char *base;
 };
 
+#ifdef linux
+union thdr {
+       struct tpacket_hdr      *h1;
+       struct tpacket2_hdr     *h2;
+       void                    *raw;
+};
+#endif
+
 /*
  * Used when doing a live capture.
  */