Lines Matching defs:v6dst
73 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
628 const struct in6_addr *v6dst)
638 return ipv6_chk_custom_prefix(v6dst, prefix_len, tunnel->dev);
808 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
812 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix,
822 (ntohl(v6dst->s6_addr32[pbw0]) << pbi0) >>
827 d |= ntohl(v6dst->s6_addr32[pbw0 + 1]) >>
834 if (v6dst->s6_addr16[0] == htons(0x2002)) {
836 memcpy(v4dst, &v6dst->s6_addr16[1], 4);
844 const struct in6_addr *v6dst)
847 check_6rd(tunnel, v6dst, &dst);