Lines Matching refs:tunnel
135 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
160 tunnel = session->tunnel; in l2tp_ip6_recv()
161 if (tunnel == NULL) in l2tp_ip6_recv()
165 if (tunnel->debug & L2TP_MSG_DATA) { in l2tp_ip6_recv()
173 pr_debug("%s: ip recv\n", tunnel->name); in l2tp_ip6_recv()
178 tunnel->recv_payload_hook); in l2tp_ip6_recv()
190 tunnel = l2tp_tunnel_find(&init_net, tunnel_id); in l2tp_ip6_recv()
191 if (tunnel != NULL) in l2tp_ip6_recv()
192 sk = tunnel->sock; in l2tp_ip6_recv()
246 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip6_destroy_sock() local
252 if (tunnel) { in l2tp_ip6_destroy_sock()
253 l2tp_tunnel_closeall(tunnel); in l2tp_ip6_destroy_sock()