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
5.16 Home Agent and Correspondent Node 593
set as a care-of address. The care-of address must be a global unicast address. We discard
the packet if the care-of address is not a global unicast address.
Listing 5-57
mip6_cncore.c
2132 if ((mopt.valid_options & MOPT_AUTHDATA) &&
2133 ((mopt.mopt_auth + IP6MOPT_AUTHDATA_SIZE) -
(caddr_t)ip6mu < ip6mulen)) {
2134 /* Auth. data options is not the last option */
2135 /* discard. */
2136 m_freem(m);
2137 /* XXX Statistics */
2138 return (EINVAL);
2139 }
2140
2141
2142 if ((mopt.valid_options & (MOPT_AUTHDATA | MOPT_NONCE_IDX)) &&
2143 (ip6mu->ip6mhbu_flags & IP6MU_HOME)) {
2144 /* discard. */
2145 m_freem(m);
....
2147 ...
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