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
4.6 Relay Agent Implementation 449
784 "failed to make message control data");
785 goto out;
786 }
787 }
788
789 if ((cc = sendmsg(ssock, &mh, 0)) < 0) {
790 dprintf(LOG_WARNING, FNAME,
791 "sendmsg %s failed: %s",
792 addr2str((struct sockaddr *)&sa6_server), strerror(errno));
793 } else if (cc != relaylen) {
794 dprintf(LOG_WARNING, FNAME,
795 "failed to send a complete packet to %s",
796 addr2str((struct sockaddr *)&sa6_server));
797 } else {
798 dprintf(LOG_DEBUG, FNAME,
799 "relay a message to a server %s",
800 addr2str((struct sockaddr *)&sa6_server));
801 }
802
803 out:
804 dhcp6_clear_options(&optinfo);
805 }
dhcp6relay.c
768–787 The global variable sa6_server ...
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