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
366 Chapter 4—DHCPv6
122 addr->pltime > addr->vltime)) {
123 dprintf(LOG_INFO, FNAME, "invalid address %s: "
124 "pltime (%lu) is larger than vltime (%lu)",
125 in6addr2str(&addr->addr, 0),
126 addr->pltime, addr->vltime);
127 return (-1);
128 }
addrconf.c
120–128 If the preferred lifetime of the address is greater than the valid lifetime, this address
is ignored.
Create Control Structure
Listing 4-52
addrconf.c
130 if (iac_na == NULL) {
131 if ((iac_na = malloc(sizeof(*iac_na))) == NULL) {
132 dprintf(LOG_NOTICE, FNAME, "memory allocation failed");
133 return (-1);
134 }
135 memset(iac_na, 0, sizeof(*iac_na));
136 iac_na->iacna_ia = ia;
137 iac_na->iacna_callback ...
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