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
638 Chapter 5—Mobile IPv6
550 return (EINVAL);
551
552 sdl = (struct sockaddr_dl *)ifa_dl->ifa_addr;
553 }
mip6_hacore.c
541–552 The ifa_dl variable is set to the link-layer address information of the home agent.
The link-layer address is kept as one of the interface addresses in the address list of the
ifnet{} structure. An error is returned if there is no address that can be used as a
destination link-layer address of the proxy entry.
Listing 5-113
mip6_hacore.c
556 /* create a mask. */
557 bzero(&mask_sa, sizeof(mask_sa));
558 mask_sa.sin6_family = AF_INET6;
559 mask_sa.sin6_len = sizeof(mask_sa);
560
561 in6_prefixlen2mask(&mask_sa.sin6_addr, 128);
562
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