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.5 Server Implementation 397
Build Options for Response
Listing 4-90
dhcp6s.c
1131 /*
1132 * configure necessary options based on the options in solicit.
1133 */
1134 dhcp6_init_options(&roptinfo);
1135
1136 /* process authentication */
1137 if (process_auth(dh6, len, client_conf, optinfo, &roptinfo)) {
1138 dprintf(LOG_INFO, FNAME, "failed to process authentication "
1139 "information for %s",
1140 clientstr(client_conf, &optinfo->clientID));
1141 goto fail;
1142 }
1143
1144 /* server identifier option */
1145 if (duidcpy(&roptinfo.serverID, &server_duid)) {
1146 dprintf(LOG_ERR, FNAME, "failed to copy server ID");
1147 goto fail;
1148 }
1149
1150 /* copy client ...
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