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
184 Chapter 2—IPv6 Multicasting
Per form RPF
Listing 2-58
ip6_mroute.c
1500 /*
1501 * Packet forwarding routine once entry in the cache is made
1502 */
1503 static int
1504 ip6_mdq(m, ifp, rt)
1505 struct mbuf *m;
1506 struct ifnet *ifp;
1507 struct mf6c *rt;
1508 {
1509 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
1510 mifi_t mifi, iif;
1511 struct mif6 *mifp;
1512 int plen = m->m_pkthdr.len;
1513 struct sockaddr_in6 src_sa, dst_sa, s0, d0;
1514
1515 /*
1516 * Macro to send packet on mif. Since RSVP packets don’t get counted on
1517 * input, they shouldn’t get counted on output, so statistics keeping is
1518 * separate.
1519 */
1520
1521 #define MC6_SEND(ip6,
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