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

/external/mtpd/
H A Dmtpd.h21 extern int the_socket;
H A Dmtpd.c39 int the_socket = -1; variable
184 pollfds[0].fd = the_socket;
285 the_socket = s;
293 if (the_socket == -1) {
298 fcntl(the_socket, F_SETFD, FD_CLOEXEC);
299 log_print(INFO, "Connection established (socket = %d)", the_socket);
H A Dpptp.c147 send(the_socket, outgoing.buffer, outgoing.length, 0);
166 length = recv(the_socket, buffer, length, 0);
171 length = recv(the_socket, &incoming.buffer[incoming.length], length, 0);
244 .tcp_socket = the_socket,
H A Dl2tp.c170 send(the_socket, outgoing.buffer, outgoing.length, 0);
180 send(the_socket, buffer, ACK_SIZE, 0);
187 incoming.length = recv(the_socket, incoming.buffer, MAX_PACKET_LENGTH, 0);
361 .udp_socket = the_socket,
547 send(the_socket, outgoing.buffer, outgoing.length, 0);

Completed in 60 milliseconds