summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92f4355)
raw | patch | inline | side by side (parent: 92f4355)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 3 Oct 2006 16:37:43 +0000 (18:37 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 3 Oct 2006 16:37:43 +0000 (18:37 +0200) |
src/dnstop.c | patch | blob | history | |
src/dnstop.h | patch | blob | history |
diff --git a/src/dnstop.c b/src/dnstop.c
index 93ad9bfdb6eba9ae25281feceda4a49c017ee9cd..ba70fd2542e448615f0671cacdc84c52332cb698 100644 (file)
--- a/src/dnstop.c
+++ b/src/dnstop.c
* flags/features for non-interactive mode
*/
-#define T_MAX 65536
#ifndef T_A6
#define T_A6 38
#endif
diff --git a/src/dnstop.h b/src/dnstop.h
index 3d3eb0570badd7d627cc6c0fb2ea074251a007a7..666140e39bab03fdd878e14b42795c4eb8644b34 100644 (file)
--- a/src/dnstop.h
+++ b/src/dnstop.h
* Florian octo Forster <octo at verplant.org>
*/
+#include <arpa/nameser.h>
+#include <pcap.h>
+
+#define T_MAX 65536
extern int qtype_counts[T_MAX];
void handle_pcap (u_char * udata, const struct pcap_pkthdr *hdr, const u_char * pkt);