Lines Matching refs:v6dst
71 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
625 const struct in6_addr *v6dst) in only_dnatted() argument
635 return ipv6_chk_custom_prefix(v6dst, prefix_len, tunnel->dev); in only_dnatted()
805 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd() argument
809 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, in check_6rd()
819 (ntohl(v6dst->s6_addr32[pbw0]) << pbi0) >> in check_6rd()
824 d |= ntohl(v6dst->s6_addr32[pbw0 + 1]) >> in check_6rd()
831 if (v6dst->s6_addr16[0] == htons(0x2002)) { in check_6rd()
833 memcpy(v4dst, &v6dst->s6_addr16[1], 4); in check_6rd()
841 const struct in6_addr *v6dst) in try_6rd() argument
844 check_6rd(tunnel, v6dst, &dst); in try_6rd()