1998-10-14 20:03:03 +00:00
|
|
|
/* packet-dns.h
|
|
|
|
* Definitions for packet disassembly structures and routines used both by
|
|
|
|
* DNS and NBNS.
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
1998-10-14 20:03:03 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
1998-10-14 20:03:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __PACKET_DNS_H__
|
|
|
|
#define __PACKET_DNS_H__
|
|
|
|
|
2014-10-08 23:45:41 +00:00
|
|
|
extern const value_string dns_classes[];
|
1998-10-14 20:03:03 +00:00
|
|
|
|
2011-02-23 00:51:02 +00:00
|
|
|
/* Just like expand_dns_name, but pretty-prints empty names. */
|
2017-01-04 14:53:56 +00:00
|
|
|
int get_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);
|
1998-10-14 20:03:03 +00:00
|
|
|
|
|
|
|
#define MAXDNAME 1025 /* maximum domain name length */
|
|
|
|
|
|
|
|
#endif /* packet-dns.h */
|