Lines Matching refs:sin6_addr
88 addr->a.v6.sin6_addr = ifa->addr; in sctp_inet6addr_event()
102 ipv6_addr_equal(&addr->a.v6.sin6_addr, in sctp_inet6addr_event()
243 fl6->daddr = daddr->v6.sin6_addr; in sctp_v6_get_dst()
246 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
268 fl6->saddr = saddr->v6.sin6_addr; in sctp_v6_get_dst()
334 fl6->saddr = laddr->a.v6.sin6_addr; in sctp_v6_get_dst()
343 &laddr->a.v6.sin6_addr, bdst->dev, 1)) { in sctp_v6_get_dst()
388 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); in sctp_v6_addr_match_len()
405 saddr->v6.sin6_addr = fl6->saddr; in sctp_v6_get_saddr()
429 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
490 sa->sin6_addr = ipv6_hdr(skb)->saddr; in sctp_v6_from_skb()
493 sa->sin6_addr = ipv6_hdr(skb)->daddr; in sctp_v6_from_skb()
502 addr->v6.sin6_addr = sk->sk_v6_rcv_saddr; in sctp_v6_from_sk()
515 sk->sk_v6_rcv_saddr = addr->v6.sin6_addr; in sctp_v6_to_sk_saddr()
528 sk->sk_v6_daddr = addr->v6.sin6_addr; in sctp_v6_to_sk_daddr()
540 addr->v6.sin6_addr = param->v6.addr; in sctp_v6_from_addr_param()
554 param->v6.addr = addr->v6.sin6_addr; in sctp_v6_to_addr_param()
566 addr->v6.sin6_addr = *saddr; in sctp_v6_to_addr()
576 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
577 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
583 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr()
584 addr1->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
591 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr()
595 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr()
624 return ipv6_addr_any(&addr->v6.sin6_addr); in sctp_v6_is_any()
632 const struct in6_addr *in6 = (const struct in6_addr *)&addr->v6.sin6_addr; in sctp_v6_available()
661 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()
691 v6scope = ipv6_addr_scope(&addr->v6.sin6_addr); in sctp_v6_scope()
770 ipv6_addr_v4mapped(&addr->v6.sin6_addr)) in sctp_v6_addr_to_user()
796 seq_printf(seq, "%pI6 ", &addr->v6.sin6_addr); in sctp_v6_seq_dump_addr()
826 if (ipv6_addr_type(&paddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()
831 addr->v6.sin6_addr = paddr->v6.sin6_addr; in sctp_inet6_event_msgname()
858 addr->v6.sin6_addr = ipv6_hdr(skb)->saddr; in sctp_inet6_skb_msgname()
859 if (ipv6_addr_type(&addr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_skb_msgname()
926 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_bind_verify()
938 ipv6_chk_addr(net, &addr->v6.sin6_addr, in sctp_inet6_bind_verify()
962 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_send_verify()