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
346 Chapter 4—DHCPv6
1493 dh6 = (struct dhcp6 *)rbuf;
1494
1495 dprintf(LOG_DEBUG, FNAME, "receive %s from %s on %s",
1496 dhcp6msgstr(dh6->dh6_msgtype),
1497 addr2str((struct sockaddr *)&from), ifp->ifname);
1498
1499 /* get options */
1500 dhcp6_init_options(&optinfo);
1501 p = (struct dhcp6opt *)(dh6 + 1);
1502 ep = (struct dhcp6opt *)((char *)dh6 + len);
1503 if (dhcp6_get_options(p, ep, &optinfo) < 0) {
1504 dprintf(LOG_INFO, FNAME, "failed to parse options");
1505 return;
1506 }
dhcp6c.c
1488–1506 After the minimum length validation, the dhcp6_get_options() function parses
the DHCPv6 options from the message and converts them into local data structures. ...
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