Lines Matching refs:tunnel_sock
188 struct sock *tunnel_sock;
211 struct sock *tunnel_sock; /* Pointer to the tunnel UDP
911 error = tunnel->old_proto->sendmsg(iocb, session->tunnel_sock, msg, total_len);
999 SOCK_2_TUNNEL(session->tunnel_sock, tunnel, error, -EBADF, end, 0);
1102 send->session->tunnel_sock,
1207 SOCK_2_TUNNEL(session->tunnel_sock, tunnel, error, -EBADF, keep_go_2, 0);
1262 dst = sk_dst_check(session->tunnel_sock, 0);
1284 skb->sk = session->tunnel_sock;
1294 inet = inet_sk(session->tunnel_sock);
1328 pppol2tp_fill_ip_header(session->tunnel_sock, skb, &tmp_iph, skb->len);
1387 send->tunnel_sock = session->tunnel_sock;
1916 struct sock *tunnel_sock = NULL;
1948 tunnel_sock = pppol2tp_prepare_tunnel_socket(sp->pppol2tp.pid,
1952 if (tunnel_sock == NULL)
1954 tunnel = tunnel_sock->sk_user_data;
1972 session->tunnel_sock = tunnel_sock;
2027 SOCK_2_TUNNEL(tunnel_sock, tunnel, error, -EBADF, end, 0);
2359 SOCK_2_TUNNEL(session->tunnel_sock, tunnel, err, -EBADF, end, 1);
2516 SOCK_2_TUNNEL(session->tunnel_sock, tunnel, err, -EBADF, end, 1);
2636 SOCK_2_TUNNEL(session->tunnel_sock, tunnel, err, -EBADF, end, 1);