Lines Matching refs:ip6_src
264 if (IN6_IS_ADDR_UNSPECIFIED(&oip6->ip6_src) ||
265 IN6_IS_ADDR_MULTICAST(&oip6->ip6_src))
307 if (icmp6_ratelimit(&oip6->ip6_src, type, code)) {
329 nip6->ip6_src = oip6->ip6_src;
332 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src))
333 oip6->ip6_src.s6_addr16[1] = 0;
411 icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src)));
642 if ((icmp6_nodeinfo & 8) != 8 && in6_addrscope(&ip6->ip6_src) == IPV6_ADDR_SCOPE_GLOBAL)
805 icmp6->icmp6_type, ip6_sprintf(&ip6->ip6_src),
1058 icmp6src.sin6_addr = eip6->ip6_src;
1931 (void)in6_recoverscope(&rip6src, &ip6->ip6_src, m->m_pkthdr.rcvif);
1948 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src))
2060 ip6->ip6_dst = ip6->ip6_src;
2162 ip6->ip6_src = *src;
2239 struct in6_addr src6 = ip6->ip6_src;
2286 /* ip6->ip6_src must be equal to gw for icmp6->icmp6_reddst */
2470 src_sa.sin6_addr = sip6->ip6_src;
2472 src_sa.sin6_scope_id = in6_addr2scopeid(ifp, &sip6->ip6_src);
2479 if (icmp6_ratelimit(&sip6->ip6_src, ND_REDIRECT, 0))
2534 /* ip6->ip6_src must be linklocal addr for my outgoing if. */
2535 bcopy(&ifp_ll6, &ip6->ip6_src, sizeof(struct in6_addr));
2536 bcopy(&sip6->ip6_src, &ip6->ip6_dst, sizeof(struct in6_addr));
2679 if (IN6_IS_ADDR_LINKLOCAL(&sip6->ip6_src))
2680 sip6->ip6_src.s6_addr16[1] = 0;
2684 if (IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_src))
2685 ip6->ip6_src.s6_addr16[1] = 0;