aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dns.h
blob: 73ef7310ce56bd7f8b1ef46713714d4ae756984f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* packet-dns.h
 * Definitions for packet disassembly structures and routines used both by
 * DNS and NBNS.
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */


#ifndef __PACKET_DNS_H__
#define __PACKET_DNS_H__

extern const value_string dns_classes[];

int expand_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);
/* Just like expand_dns_name, but pretty-prints empty names. */
int get_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);

#define MAXDNAME        1025            /* maximum domain name length */

#endif /* packet-dns.h */