X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_dns.h;h=83f0ea403e9809ab68c9261299119aa1537278d1;hp=b3f08acdafb2b95ae53d8786ad503c7d0b4e30df;hb=633c3966f770e4d46651a2fe219a18d8a9907a9f;hpb=845b2d2577461a4bc2bf4385cb521b4ad575651d diff --git a/src/utils_dns.h b/src/utils_dns.h index b3f08acd..83f0ea40 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,17 +29,24 @@ * 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 +#include #if HAVE_PCAP_H # include #endif +#define DNS_MSG_HDR_SZ 12 + #define T_MAX 65536 #define OP_MAX 16 #define C_MAX 65536