Code

csv plugin: set datadir null when free
[collectd.git] / src / utils_dns.h
index b3f08acdafb2b95ae53d8786ad503c7d0b4e30df..56213afa18bc800035fafa88b149120edf266b4f 100644 (file)
 #include "config.h"
 
 #include <arpa/nameser.h>
+#include <stdint.h>
 
 #if HAVE_PCAP_H
 # include <pcap.h>
 #endif
 
+#define DNS_MSG_HDR_SZ 12
+
 #define T_MAX 65536
 #define OP_MAX 16
 #define C_MAX 65536