Lines Matching refs:ip6
64 #include <netinet/ip6.h>
89 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
111 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ||
112 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) {
120 ip6_sprintf(ip6bufs, &ip6->ip6_src),
121 ip6_sprintf(ip6bufd, &ip6->ip6_dst),
122 ip6->ip6_nxt,
133 ip6->ip6_hlim <= IPV6_HLIMDEC) {
153 ip6->ip6_hlim -= IPV6_HLIMDEC;
172 dst->sin6_addr = ip6->ip6_dst;
197 src_in6 = ip6->ip6_src;
219 ip6_sprintf(ip6bufs, &ip6->ip6_src),
220 ip6_sprintf(ip6bufd, &ip6->ip6_dst),
221 ip6->ip6_nxt,
237 dst_in6 = ip6->ip6_dst;
304 ip6_sprintf(ip6bufs, &ip6->ip6_src),
305 ip6_sprintf(ip6bufd, &ip6->ip6_dst),
306 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif),
319 in6_clearscope(&ip6->ip6_src);
320 in6_clearscope(&ip6->ip6_dst);
326 odst = ip6->ip6_dst;
332 ip6 = mtod(m, struct ip6_hdr *);
335 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) {
338 if (in6_localip(&ip6->ip6_dst))