Lines Matching refs:ipv6
2305 * we can use RTCF_LOCAL which works for ipv4 and ipv6 route entry.
2384 key.u.ipv6.src = vxlan->cfg.saddr.sin6.sin6_addr;
2385 key.u.ipv6.dst = rdst->remote_ip.sin6.sin6_addr;
2557 unclone->key.u.ipv6.src = pkey->u.ipv6.dst;
2558 unclone->key.u.ipv6.dst = saddr;
2575 &saddr, &pkey->u.ipv6.dst, tos, ttl,
3222 0, &info->key.u.ipv6.src,
3499 static struct socket *vxlan_create_sock(struct net *net, bool ipv6,
3508 if (ipv6) {
3530 static struct vxlan_sock *vxlan_socket_create(struct net *net, bool ipv6,
3547 sock = vxlan_create_sock(net, ipv6, port, flags, ifindex);
3585 static int __vxlan_sock_add(struct vxlan_dev *vxlan, bool ipv6)
3599 vs = vxlan_find_sock(vxlan->net, ipv6 ? AF_INET6 : AF_INET,
3609 vs = vxlan_socket_create(vxlan->net, ipv6,
3615 if (ipv6) {
3626 vxlan_vs_add_vnigrp(vxlan, vs, ipv6);
3636 bool ipv6 = vxlan->cfg.flags & VXLAN_F_IPV6 || metadata;
3637 bool ipv4 = !ipv6 || metadata;
3643 if (ipv6) {