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_a_record Struct Reference
[DNS Asynchronous/Caching Resolution Engine]

Data Fields

pj_str_t name
pj_str_t alias
unsigned addr_count
pj_in_addr addr [PJ_DNS_MAX_IP_IN_A_REC]
char buf_ [128]

Detailed Description

This structure represents DNS A record, as the result of parsing DNS response packet using pj_dns_parse_a_response().


Field Documentation

pj_in_addr pj_dns_a_record::addr[PJ_DNS_MAX_IP_IN_A_REC]

IP addresses of the host found in the response

Number of IP addresses.

If target name corresponds to a CNAME entry, the alias contains the value of the CNAME entry, otherwise it will be empty.

Internal buffer for hostname and alias.

The target name being queried.


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.