X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_dns.h;h=ef7de0a6ec8469b251d70d4664dc0d1b2cde784e;hb=124f321bbbf0d27fe2b3e5bcb53773fc1686e133;hp=56213afa18bc800035fafa88b149120edf266b4f;hpb=82e27678f8972d2625b466e7e7ba9daaa6395c98;p=collectd.git diff --git a/src/utils_dns.h b/src/utils_dns.h index 56213afa..ef7de0a6 100644 --- a/src/utils_dns.h +++ b/src/utils_dns.h @@ -1,8 +1,7 @@ -#ifndef COLLECTD_UTILS_DNS_H -#define COLLECTD_UTILS_DNS_H 1 /* * collectd - src/utils_dns.h - * Copyright (C) 2006 Florian octo Forster + * Copyright (C) 2006 Florian octo Forster + * Copyright (C) 2002 The Measurement Factory, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -30,9 +29,13 @@ * POSSIBILITY OF SUCH DAMAGE. * * Authors: - * Florian octo Forster + * The Measurement Factory, Inc. + * Florian octo Forster */ +#ifndef COLLECTD_UTILS_DNS_H +#define COLLECTD_UTILS_DNS_H 1 + #include "config.h" #include @@ -45,8 +48,6 @@ #define DNS_MSG_HDR_SZ 12 #define T_MAX 65536 -#define OP_MAX 16 -#define C_MAX 65536 #define MAX_QNAME_SZ 512 struct rfc1035_header_s { @@ -72,10 +73,6 @@ struct rfc1035_header_s { }; typedef struct rfc1035_header_s rfc1035_header_t; -extern int qtype_counts[T_MAX]; -extern int opcode_counts[OP_MAX]; -extern int qclass_counts[C_MAX]; - #if HAVE_PCAP_H void dnstop_set_pcap_obj (pcap_t *po); #endif