Lines Matching refs:tunnel
135 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
161 tunnel = session->tunnel; in l2tp_ip6_recv()
162 if (tunnel == NULL) in l2tp_ip6_recv()
166 if (tunnel->debug & L2TP_MSG_DATA) { in l2tp_ip6_recv()
171 pr_debug("%s: ip recv\n", tunnel->name); in l2tp_ip6_recv()
176 tunnel->recv_payload_hook); in l2tp_ip6_recv()
188 tunnel = l2tp_tunnel_find(&init_net, tunnel_id); in l2tp_ip6_recv()
189 if (tunnel != NULL) in l2tp_ip6_recv()
190 sk = tunnel->sock; in l2tp_ip6_recv()
244 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip6_destroy_sock() local
250 if (tunnel) { in l2tp_ip6_destroy_sock()
251 l2tp_tunnel_closeall(tunnel); in l2tp_ip6_destroy_sock()