Lines Matching refs:sin6_addr

177 	fl.fl6_dst = &transport->ipaddr.v6.sin6_addr;  in sctp_v6_xmit()
178 fl.fl6_src = &transport->saddr.v6.sin6_addr; in sctp_v6_xmit()
216 fl.fl6_dst = &daddr->v6.sin6_addr; in sctp_v6_get_dst()
217 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
225 fl.fl6_src = &saddr->v6.sin6_addr; in sctp_v6_get_dst()
252 struct in6_addr *a1 = &s1->v6.sin6_addr; in sctp_v6_addr_match_len()
253 struct in6_addr *a2 = &s2->v6.sin6_addr; in sctp_v6_addr_match_len()
287 __FUNCTION__, asoc, dst, NIP6(&daddr->v6.sin6_addr)); in sctp_v6_get_saddr()
290 ipv6_get_saddr(dst, &daddr->v6.sin6_addr,&saddr->v6.sin6_addr); in sctp_v6_get_saddr()
293 NIP6(&saddr->v6.sin6_addr)); in sctp_v6_get_saddr()
322 NIP6(&saddr->v6.sin6_addr)); in sctp_v6_get_saddr()
327 __FUNCTION__, asoc, NIP6(&daddr->v6.sin6_addr)); in sctp_v6_get_saddr()
354 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
386 ipv6_addr_copy(&addr->v6.sin6_addr, from); in sctp_v6_from_skb()
394 addr->v6.sin6_addr = inet6_sk(sk)->rcv_saddr; in sctp_v6_from_sk()
407 inet6_sk(sk)->rcv_saddr = addr->v6.sin6_addr; in sctp_v6_to_sk_saddr()
420 inet6_sk(sk)->daddr = addr->v6.sin6_addr; in sctp_v6_to_sk_daddr()
432 ipv6_addr_copy(&addr->v6.sin6_addr, &param->v6.addr); in sctp_v6_from_addr_param()
446 ipv6_addr_copy(&param->v6.addr, &addr->v6.sin6_addr); in sctp_v6_to_addr_param()
458 ipv6_addr_copy(&addr->v6.sin6_addr, &rt->rt6i_src.addr); in sctp_v6_dst_saddr()
470 IPV6_ADDR_MAPPED == ipv6_addr_type(&addr2->v6.sin6_addr)) { in sctp_v6_cmp_addr()
472 addr2->v6.sin6_addr.s6_addr32[3] == in sctp_v6_cmp_addr()
478 IPV6_ADDR_MAPPED == ipv6_addr_type(&addr1->v6.sin6_addr)) { in sctp_v6_cmp_addr()
480 addr1->v6.sin6_addr.s6_addr32[3] == in sctp_v6_cmp_addr()
486 if (ipv6_addr_cmp(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in sctp_v6_cmp_addr()
489 if (ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) { in sctp_v6_cmp_addr()
511 type = ipv6_addr_type((struct in6_addr *)&addr->v6.sin6_addr); in sctp_v6_is_any()
519 struct in6_addr *in6 = (struct in6_addr *)&addr->v6.sin6_addr; in sctp_v6_available()
547 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()
579 v6scope = ipv6_addr_scope(&addr->v6.sin6_addr); in sctp_v6_scope()
692 NIP6(&addr->v6.sin6_addr)); in sctp_v6_seq_dump_addr()
731 sin6->sin6_addr.s6_addr32[3] = in sctp_inet6_event_msgname()
737 ipv6_addr_copy(&sin6->sin6_addr, &sin6from->sin6_addr); in sctp_inet6_event_msgname()
738 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()
760 sin6->sin6_addr.s6_addr32[3] = skb->nh.iph->saddr; in sctp_inet6_skb_msgname()
765 ipv6_addr_copy(&sin6->sin6_addr, &skb->nh.ipv6h->saddr); in sctp_inet6_skb_msgname()
766 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in sctp_inet6_skb_msgname()
825 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_bind_verify()
855 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_send_verify()