pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

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

pj_dns_parsed_rr Struct Reference
[Low-level DNS Message Parsing and Packetization]

Data Structures

union  rdata

Data Fields

pj_str_t name
pj_uint16_t type
pj_uint16_t dnsclass
pj_uint32_t ttl
pj_uint16_t rdlength
void * data
union pj_dns_parsed_rr::rdata rdata

Detailed Description

This structure describes a Resource Record parsed from the DNS packet. All integral values are in host byte order.


Field Documentation

Pointer to the raw resource data, only when the type is not known. If it is known, the data will be put in rdata below.

Class of data (PJ_DNS_CLASS_IN=1).

The domain name which this rec pertains.

For resource types that are recognized/supported by this library, the parsed resource data will be placed in this rdata union.

Resource data length.


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.