Lines Matching refs:socket
98 s = conn->socket; in event_callback()
107 if (conn->socket < 0) in event_callback()
111 conn->socket--; in event_callback()
116 s = conn->socket; in event_callback()
178 int socket; in inet_socket() local
180 socket = lwip_socket(domain, type, protocol); in inet_socket()
181 if (socket >= 0) in inet_socket()
185 lwsock = lwip_tryget_socket(socket); in inet_socket()
191 return socket; in inet_socket()
197 static int inet_accept(int socket, struct sockaddr *addr, socklen_t *addrlen) in inet_accept() argument
202 new_socket = lwip_accept(socket, addr, addrlen); in inet_accept()
214 return lwip_accept(socket, addr, addrlen); in inet_accept()
218 static int inet_getsockname(int socket, struct sockaddr *name, socklen_t *namelen) in inet_getsockname() argument
225 return lwip_getsockname(socket, name, namelen); in inet_getsockname()
228 int inet_ioctlsocket(int socket, long cmd, void *arg) in inet_ioctlsocket() argument
240 return lwip_fcntl(socket, cmd, flags); in inet_ioctlsocket()
243 return lwip_ioctl(socket, cmd, arg); in inet_ioctlsocket()
296 .socket = inet_socket,