dns_rr
struct dns_rr *next;
struct dns_rr *answer;
struct dns_rr *authority;
struct dns_rr *additional;
static struct dns_rr *parse_dns_rrsection(const u_char *, int, const u_char **,
static void free_dns_rr(struct dns_rr *);
static int count_dns_rr(struct dns_rr *, u_int16_t, u_int16_t);
struct dns_rr *rr;
static struct dns_rr *
struct dns_rr *head, *curr, *prev;
curr = calloc(1, sizeof(struct dns_rr));
free_dns_rr(struct dns_rr *p)
count_dns_rr(struct dns_rr *p, u_int16_t class, u_int16_t type)
struct dns_rr rr;
struct dns_rr rr;
struct dns_rr rr;
dispatch_txt(struct dns_rr *rr, struct target *tgt)
dispatch_mx(struct dns_rr *rr, struct target *tgt)
dispatch_a(struct dns_rr *rr, struct target *tgt)
dispatch_aaaa(struct dns_rr *rr, struct target *tgt)
void (*dispatch)(struct dns_rr *, struct target *);
static void dispatch_txt(struct dns_rr *, struct target *);
static void dispatch_mx(struct dns_rr *, struct target *);
static void dispatch_a(struct dns_rr *, struct target *);
static void dispatch_aaaa(struct dns_rr *, struct target *);
unpack_rr(struct unpack *p, struct dns_rr *rr)
int unpack_rr(struct unpack *, struct dns_rr *);