WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

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

#include <dns.h>

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

◆ ans

pj_dns_parsed_rr* pj_dns_parsed_packet::ans

Array of DNS RR answer.

◆ arr

pj_dns_parsed_rr* pj_dns_parsed_packet::arr

Array of additional RR answer.

◆ hdr

pj_dns_hdr pj_dns_parsed_packet::hdr

Pointer to DNS hdr, in host byte order

◆ ns

pj_dns_parsed_rr* pj_dns_parsed_packet::ns

Array of NS record in the answer.

◆ q

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.