Lines Matching defs:ip6
129 #include <netinet/ip6.h>
348 struct ip6_hdr *ip6;
365 ip6 = mtod(m, struct ip6_hdr *);
368 if (!IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_src)) {
393 IN6_PRINT(ip6bufs,&ip6->ip6_src),
551 struct ip6_hdr *ip6 = NULL;
588 ip6 = mtod(mh, struct ip6_hdr *);
589 ip6->ip6_src = ia ? ia->ia_addr.sin6_addr : in6addr_any;
590 ip6->ip6_dst = dst ? *dst : in6m->in6m_addr;
639 struct ip6_hdr *ip6;
642 * Allocate mbufs to store ip6 header and MLD header.
663 /* fill in the ip6 header */
664 ip6 = mtod(*mh, struct ip6_hdr *);
665 memset(ip6, 0, sizeof(*ip6));
666 ip6->ip6_flow = 0;
667 ip6->ip6_vfc &= ~IPV6_VERSION_MASK;
668 ip6->ip6_vfc |= IPV6_VERSION;
670 ip6->ip6_nxt = IPPROTO_ICMPV6;
700 * Add an address to the list of IP6 multicast addresses for a given interface.
763 * Let MLD6 know that we have joined a new IP6 multicast
851 * Look up the in6_multi record for a given IP6 multicast address