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 417
4.5.7 react_renew() Function
The react_renew() function processes a Renew message from a client and updates bindings
corresponding to the Renew message.
Validation
Listing 4-105
dhcp6s.c
1515 static int
1516 react_renew(ifp, pi, dh6, len, optinfo, from, fromlen, relayinfohead)
1517 struct dhcp6_if *ifp;
1518 struct in6_pktinfo *pi;
1519 struct dhcp6 *dh6;
1520 ssize_t len;
1521 struct dhcp6_optinfo *optinfo;
1522 struct sockaddr *from;
1523 int fromlen;
1524 struct relayinfolist *relayinfohead;
1525 {
1526 struct dhcp6_optinfo roptinfo;
1527 struct dhcp6_listval *ia;
1528 struct host_conf *client_conf;
1529
1530 /* message validation ...
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