Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
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 MAXDNAME 1025 /* maximum domain name length */
22 
23 #endif /* packet-dns.h */
Definition: tvbuff-int.h:35
Definition: value_string.h:24