Make dissect_icmp_extension_structure into a dissector function.
[metze/wireshark/wip.git] / epan / dissectors / packet-dns.h
1 /* packet-dns.h
2  * Definitions for packet disassembly structures and routines used both by
3  * DNS and NBNS.
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11
12
13 #ifndef __PACKET_DNS_H__
14 #define __PACKET_DNS_H__
15
16 extern const value_string dns_classes[];
17
18 /* Just like expand_dns_name, but pretty-prints empty names. */
19 int get_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);
20
21 #define MAX_DNAME_LEN   255             /* maximum domain name length */
22
23 #endif /* packet-dns.h */