Changeset 1587 for pjproject/trunk/pjlib-util/include/pjlib-util/dns.h
- Timestamp:
- Nov 20, 2007 9:47:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/dns.h
r1032 r1587 42 42 * This module provides low-level services to parse and packetize DNS queries 43 43 * and responses. The functions support building a DNS query packet and parse 44 * the data in the DNS response. 44 * the data in the DNS response. This implementation conforms to the 45 * following specifications: 46 * - RFC 1035: DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION 47 * - RFC 1886: DNS Extensions to support IP version 6 45 48 * 46 49 * To create a DNS query packet, application should call #pj_dns_make_query() … … 259 262 /** A Resource Data (PJ_DNS_TYPE_A, 1) */ 260 263 struct a { 261 pj_in_addr ip_addr;/**< IP host address string.*/264 pj_in_addr ip_addr;/**< IPv4 address in network byte order. */ 262 265 } a; 266 267 /** AAAA Resource Data (PJ_DNS_TYPE_AAAA, 28) */ 268 struct aaaa { 269 pj_in6_addr ip_addr;/**< IPv6 address in network byte order. */ 270 } aaaa; 263 271 264 272 } rdata;
Note: See TracChangeset
for help on using the changeset viewer.