Ignore:
Timestamp:
Nov 20, 2007 9:47:32 AM (16 years ago)
Author:
bennylp
Message:

Ticket #419: initial support for DNS AAAA resolution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/dns.h

    r1032 r1587  
    4242 * This module provides low-level services to parse and packetize DNS queries 
    4343 * 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 
    4548 * 
    4649 * To create a DNS query packet, application should call #pj_dns_make_query() 
     
    259262        /** A Resource Data (PJ_DNS_TYPE_A, 1) */ 
    260263        struct a { 
    261             pj_in_addr  ip_addr;/**< IP host address string.                */ 
     264            pj_in_addr  ip_addr;/**< IPv4 address in network byte order.    */ 
    262265        } 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; 
    263271 
    264272    } rdata; 
Note: See TracChangeset for help on using the changeset viewer.