diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-02 07:11:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-02 07:11:40 +0000 |
commit | db5e1b8c857e1b4866547efce72f6a09af9a3076 (patch) | |
tree | 90b42bb9849ef3e3ebf9768c307afb601d97d14a /packet-dns.h | |
parent | e78964cea031762e6c7cae3334fcd21eff7091fd (diff) |
Tvbuffify the DNS, NBNS, NBDS, and NBSS dissectors.
Add a "tvb_memeql()" routine, for doing "memcmp()"-style equality
comparisons.
svn path=/trunk/; revision=3631
Diffstat (limited to 'packet-dns.h')
-rw-r--r-- | packet-dns.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dns.h b/packet-dns.h index 9585e2ec04..85248effae 100644 --- a/packet-dns.h +++ b/packet-dns.h @@ -2,7 +2,7 @@ * Definitions for packet disassembly structures and routines used both by * DNS and NBNS. * - * $Id: packet-dns.h,v 1.9 2000/08/22 08:28:45 itojun Exp $ + * $Id: packet-dns.h,v 1.10 2001/07/02 07:11:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -30,12 +30,12 @@ char *dns_class_name(int class); -int get_dns_name(const u_char *, int, int, char *, int); +int get_dns_name(tvbuff_t *, int, int, char *, int); #define MAXDNAME 1025 /* maximum domain name length */ proto_tree * -add_rr_to_tree(proto_item *, int, int, const char *, +add_rr_to_tree(proto_item *, int, tvbuff_t *, int, const char *, int, const char *, const char *, u_int, u_short); #endif /* packet-dns.h */ |