Skip to Main Content
IPv6 Advanced Protocols Implementation
book

IPv6 Advanced Protocols Implementation

by Qing Li, Jinmei Tatuya, Keiichi Shima
July 2010
Intermediate to advanced content levelIntermediate to advanced
1008 pages
35h 43m
English
Morgan Kaufmann
Content preview from IPv6 Advanced Protocols Implementation
236 Chapter 3—DNS for IPv6
4282
4283 canonname = NULL;
4284 eom = answer->buf + anslen;
4285 switch (qtype) {
4286 case T_A:
4287 case T_AAAA:
4288 case T_ANY: /*use T_ANY only for T_A/T_AAAA lookup*/
4289 name_ok = res_hnok;
4290 break;
4291 default:
4292 return (NULL); /* XXX should be abort(); */
4293 }
getaddrinfo.c
4280–4291 The variable sentinel is a dummy structure for constructing the returned chain
of addrinfo{} structures; canonname will usually point to a query name, but when
the response contains a CNAME record it will point to a domain name string corre-
sponding to the RDATA of the CNAME. If multiple CNAME records are used to make
a chain, the
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IPv6 Core Protocols Implementation

IPv6 Core Protocols Implementation

Qing Li, Tatuya Jinmei, Keiichi Shima
IPv6 Security

IPv6 Security

Scott Hogg, Eric Vyncke
IPv6 for Enterprise Networks

IPv6 for Enterprise Networks

Shannon McFarland, Muninder Sambi, Nikhil Sharma, Sanjay Hooda
IPv6 Network Programming

IPv6 Network Programming

Jun-ichiro itojun Hagino

Publisher Resources

ISBN: 9780080489308