Lines Matching refs:saddr6
103 struct in6_addr saddr6 = ip6->ip6_src;
136 if (IN6_IS_ADDR_UNSPECIFIED(&saddr6)) {
257 if (IN6_ARE_ADDR_EQUAL(&myaddr6, &saddr6)) {
260 ip6_sprintf(&saddr6)));
284 if (IN6_IS_ADDR_UNSPECIFIED(&saddr6))
298 if (IN6_IS_ADDR_UNSPECIFIED(&saddr6)) {
299 saddr6 = in6addr_linklocal_allnodes;
300 saddr6.s6_addr16[1] = htons(ifp->if_index);
301 nd6_na_output(ifp, &saddr6, &taddr6,
309 nd6_cache_lladdr(ifp, &saddr6, lladdr, lladdrlen, ND_NEIGHBOR_SOLICIT, 0);
311 nd6_na_output(ifp, &saddr6, &taddr6,
321 nd6log((LOG_ERR, "nd6_ns_input: src=%s\n", ip6_sprintf(&saddr6)));
436 * (saddr6), if:
437 * - saddr6 is given from the caller (by giving "ln"), and
438 * - saddr6 belongs to the outgoing interface.
442 struct in6_addr *saddr6;
448 saddr6 = &hip6->ip6_src;
450 saddr6 = NULL;
452 saddr6 = NULL;
453 if (saddr6 && in6ifa_ifpwithaddr(ifp, saddr6))
454 bcopy(saddr6, &ip6->ip6_src, sizeof(*saddr6));
548 struct in6_addr saddr6 = ip6->ip6_src;