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
326 Chapter 4—DHCPv6
Timers
The DHCPv6 protocol often requires the use of timeouts. The dhcp6_timer{} structure,
shown in Listing 4-4, is used as a general timer entry to implement timeouts.
Listing 4-4
dhcp6.h
43 struct dhcp6_timer {
44 LIST_ENTRY(dhcp6_timer) link;
45
46 struct timeval tm;
47
48 struct dhcp6_timer *(*expire) __P((void *));
49 void *expire_data;
50 };
dhcp6.h
44–49 The tm member is the time when this timer entry expires. The expire and
expire_data members define the timer handler for this entry; when this timer expires,
the function pointed to by expire is called with an argument of expire_data.
The following are the most commonly-used timer ...
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