aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-03-25 08:48:57 -0700
committerGuy Harris <gharris@steve.local>2009-03-25 08:48:57 -0700
commit64b88abf981e44827de46bb09d5dd510b841f9f8 (patch)
treeb83f2de17edd46788496053ae65464c5b29bd726 /pcap-linux.c
parent54ef309e921c11a4e80cd7a26d9e25d30c833e14 (diff)
Move "union thdr" to pcap-int.h, as we use it in pcap-int.h.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index f35d459..b9809b0 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -245,12 +245,6 @@ static int pcap_setfilter_linux(pcap_t *, struct bpf_program *);
static int pcap_setdirection_linux(pcap_t *, pcap_direction_t);
static void pcap_cleanup_linux(pcap_t *);
-union thdr {
- struct tpacket_hdr *h1;
- struct tpacket2_hdr *h2;
- void *raw;
-};
-
#ifdef HAVE_PACKET_RING
#define RING_GET_FRAME(h) (((union thdr **)h->buffer)[h->offset])