Home
last modified time | relevance | path

Searched refs:the_socket (Results 1 – 4 of 4) sorted by relevance

/external/mtpd/
Dmtpd.c40 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()
Dpptp.c147 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()
Dl2tp.c171 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()
Dmtpd.h49 extern int the_socket;