Lines Matching refs:ip6_src
1179 bcopy(&ip6->ip6_src, &sin6->sin6_addr, sizeof(ip6->ip6_src));
1180 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) {
1182 sin6->sin6_scope_id = ntohs(ip6->ip6_src.s6_addr16[1]);
2317 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src))
2318 oip6->ip6_src.s6_addr16[1] = 0;
2332 &ip6->ip6_src, sizeof(ip6->ip6_src));
2337 /* XXX Should ip6_src be updated later ? */
2683 ip6_sprintf(&ip6->ip6_src));
3081 bcopy(&ip6->ip6_src, &sin6->sin6_addr,
3082 sizeof(ip6->ip6_src));
3083 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) {
3086 sin6->sin6_scope_id = ntohs(ip6->ip6_src.s6_addr16[1]);
3266 bcopy(&ip6->ip6_src, &sin6->sin6_addr,
3267 sizeof(ip6->ip6_src));
3268 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) {
3271 sin6->sin6_scope_id = ntohs(ip6->ip6_src.s6_addr16[1]);
3710 m_copydata(m, off + offsetof(struct ip6_hdr, ip6_src), sizeof(i6src.sin6_addr),
3773 osrc.sin6_addr = oip6->ip6_src;
3775 m_copydata(m, off + offsetof(struct ip6_hdr, ip6_src),