Searched refs:the_socket (Results 1 – 4 of 4) sorted by relevance
/external/mtpd/ |
D | mtpd.c | 40 int the_socket = -1; variable 185 pollfds[0].fd = the_socket; in main() 286 the_socket = s; in create_socket() 294 if (the_socket == -1) { in create_socket() 300 protectFromVpn(the_socket); in create_socket() 303 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket() 304 log_print(INFO, "Connection established (socket = %d)", the_socket); in create_socket()
|
D | pptp.c | 147 send(the_socket, outgoing.buffer, outgoing.length, 0); in send_packet() 166 length = recv(the_socket, buffer, length, 0); in recv_packet() 171 length = recv(the_socket, &incoming.buffer[incoming.length], length, 0); in recv_packet() 244 .tcp_socket = the_socket, in create_pppox()
|
D | l2tp.c | 171 send(the_socket, outgoing.buffer, outgoing.length, 0); in send_packet() 181 send(the_socket, buffer, ACK_SIZE, 0); in send_ack() 188 incoming.length = recv(the_socket, incoming.buffer, MAX_PACKET_LENGTH, 0); in recv_packet() 362 .udp_socket = the_socket, in create_pppox() 548 send(the_socket, outgoing.buffer, outgoing.length, 0); in l2tp_timeout()
|
D | mtpd.h | 49 extern int the_socket;
|