Lines Matching refs:sin6_addr

89 			addr->a.v6.sin6_addr = ifa->addr;  in sctp_inet6addr_event()
103 ipv6_addr_equal(&addr->a.v6.sin6_addr, in sctp_inet6addr_event()
291 fl6->daddr = daddr->v6.sin6_addr; in sctp_v6_get_dst()
294 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
316 fl6->saddr = saddr->v6.sin6_addr; in sctp_v6_get_dst()
382 fl6->saddr = laddr->a.v6.sin6_addr; in sctp_v6_get_dst()
391 &laddr->a.v6.sin6_addr, bdst->dev, 1)) { in sctp_v6_get_dst()
436 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); in sctp_v6_addr_match_len()
453 saddr->v6.sin6_addr = fl6->saddr; in sctp_v6_get_saddr()
477 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
538 sa->sin6_addr = ipv6_hdr(skb)->saddr; in sctp_v6_from_skb()
541 sa->sin6_addr = ipv6_hdr(skb)->daddr; in sctp_v6_from_skb()
550 addr->v6.sin6_addr = sk->sk_v6_rcv_saddr; in sctp_v6_from_sk()
563 sk->sk_v6_rcv_saddr = addr->v6.sin6_addr; in sctp_v6_to_sk_saddr()
576 sk->sk_v6_daddr = addr->v6.sin6_addr; in sctp_v6_to_sk_daddr()
591 addr->v6.sin6_addr = param->v6.addr; in sctp_v6_from_addr_param()
607 param->v6.addr = addr->v6.sin6_addr; in sctp_v6_to_addr_param()
619 addr->v6.sin6_addr = *saddr; in sctp_v6_to_addr()
629 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
630 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
636 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr()
637 addr1->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
644 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr()
648 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr()
677 return ipv6_addr_any(&addr->v6.sin6_addr); in sctp_v6_is_any()
685 const struct in6_addr *in6 = (const struct in6_addr *)&addr->v6.sin6_addr; in sctp_v6_available()
714 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()
744 v6scope = ipv6_addr_scope(&addr->v6.sin6_addr); in sctp_v6_scope()
823 ipv6_addr_v4mapped(&addr->v6.sin6_addr)) in sctp_v6_addr_to_user()
849 seq_printf(seq, "%pI6 ", &addr->v6.sin6_addr); in sctp_v6_seq_dump_addr()
879 if (ipv6_addr_type(&paddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()
884 addr->v6.sin6_addr = paddr->v6.sin6_addr; in sctp_inet6_event_msgname()
911 addr->v6.sin6_addr = ipv6_hdr(skb)->saddr; in sctp_inet6_skb_msgname()
912 if (ipv6_addr_type(&addr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_skb_msgname()
979 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_bind_verify()
990 ipv6_chk_addr(net, &addr->v6.sin6_addr, in sctp_inet6_bind_verify()
1014 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_send_verify()