Lines Matching defs:oip6
221 struct ip6_hdr *oip6, *nip6;
249 oip6 = mtod(m, struct ip6_hdr *);
257 IN6_IS_ADDR_MULTICAST(&oip6->ip6_dst)) &&
264 if (IN6_IS_ADDR_UNSPECIFIED(&oip6->ip6_src) ||
265 IN6_IS_ADDR_MULTICAST(&oip6->ip6_src))
304 oip6 = mtod(m, struct ip6_hdr *); /* adjust pointer */
307 if (icmp6_ratelimit(&oip6->ip6_src, type, code)) {
329 nip6->ip6_src = oip6->ip6_src;
330 nip6->ip6_dst = oip6->ip6_dst;
332 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src))
333 oip6->ip6_src.s6_addr16[1] = 0;
334 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst))
335 oip6->ip6_dst.s6_addr16[1] = 0;