Lines Matching refs:l2tp_addr
278 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind()
325 if (!ipv6_chk_addr(sock_net(sk), &addr->l2tp_addr, dev, 0)) in l2tp_ip6_bind()
331 if (__l2tp_ip6_bind_lookup(net, &addr->l2tp_addr, NULL, bound_dev_if, in l2tp_ip6_bind()
341 sk->sk_v6_rcv_saddr = addr->l2tp_addr; in l2tp_ip6_bind()
342 np->saddr = addr->l2tp_addr; in l2tp_ip6_bind()
436 lsa->l2tp_addr = sk->sk_v6_daddr; in l2tp_ip6_getname()
441 lsa->l2tp_addr = np->saddr; in l2tp_ip6_getname()
443 lsa->l2tp_addr = sk->sk_v6_rcv_saddr; in l2tp_ip6_getname()
447 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_getname()
533 daddr = &lsa->l2tp_addr; in l2tp_ip6_sendmsg()
694 lsa->l2tp_addr = ipv6_hdr(skb)->saddr; in l2tp_ip6_recvmsg()
698 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_recvmsg()