BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB-UTIL Reference

pj_dns_parsed_packet Struct Reference

Data Fields

pj_dns_hdr hdr
 
pj_dns_parsed_queryq
 
pj_dns_parsed_rrans
 
pj_dns_parsed_rrns
 
pj_dns_parsed_rrarr
 

Detailed Description

This structure describes the parsed repersentation of the raw DNS packet. Note that all integral values in the parsed packet are represented in host byte order.

Field Documentation

pj_dns_parsed_rr* pj_dns_parsed_packet::ans

Array of DNS RR answer.

pj_dns_parsed_rr* pj_dns_parsed_packet::arr

Array of additional RR answer.

pj_dns_hdr pj_dns_parsed_packet::hdr

Pointer to DNS hdr, in host byte order

pj_dns_parsed_rr* pj_dns_parsed_packet::ns

Array of NS record in the answer.

pj_dns_parsed_query* pj_dns_parsed_packet::q

Array of DNS queries.


The documentation for this struct was generated from the following file:

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.