Lines Matching refs:sin6_addr
118 src.sin6_addr = ip6->ip6_src; in sctp6_input_with_port()
119 if (in6_setscope(&src.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port()
126 dst.sin6_addr = ip6->ip6_dst; in sctp6_input_with_port()
127 if (in6_setscope(&dst.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port()
279 src.sin6_addr = ip6cp->ip6c_ip6->ip6_src; in sctp6_ctlinput()
280 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
287 dst.sin6_addr = ip6cp->ip6c_ip6->ip6_dst; in sctp6_ctlinput()
288 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
529 if (IN6_IS_ADDR_UNSPECIFIED(&sin6_p->sin6_addr)) { in sctp6_bind()
533 if (IN6_IS_ADDR_V4MAPPED(&sin6_p->sin6_addr)) { in sctp6_bind()
563 if (IN6_IS_ADDR_V4MAPPED(&sin6_p->sin6_addr)) { in sctp6_bind()
680 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) { in sctp6_send()
691 IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) { in sctp6_send()
822 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) { in sctp6_connect()
830 IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) { in sctp6_connect()
939 sin6->sin6_addr = sctp_ifa->address.sin6.sin6_addr; in sctp6_getaddr()
943 memset(&sin6->sin6_addr, 0, sizeof(sin6->sin6_addr)); in sctp6_getaddr()
955 sin6->sin6_addr = sin_a->sin6_addr; in sctp6_getaddr()
1014 sin6->sin6_addr = sin_a6->sin6_addr; in sctp6_peeraddr()