Lines Matching defs:nip6
221 struct ip6_hdr *oip6, *nip6;
328 nip6 = mtod(m, struct ip6_hdr *);
329 nip6->ip6_src = oip6->ip6_src;
330 nip6->ip6_dst = oip6->ip6_dst;
337 icmp6 = (struct icmp6_hdr *)(nip6 + 1);
347 * information in ip header (nip6).
372 struct ip6_hdr *ip6, *nip6;
533 const int maxlen = sizeof(*nip6) + sizeof(*nicmp6);
563 nip6 = mtod(n, struct ip6_hdr *);
564 bcopy(ip6, nip6, sizeof(struct ip6_hdr));
565 nicmp6 = (struct icmp6_hdr *)(nip6 + 1);
579 nip6 = mtod(n, struct ip6_hdr *);
2029 struct ip6_hdr nip6;
2032 m_copydata(m, 0, sizeof(nip6), (caddr_t)&nip6);
2039 bcopy((caddr_t)&nip6, mtod(m, caddr_t), sizeof(nip6));