Lines Matching refs:s
65 /* If your port already typedef's socklen_t, define SOCKLEN_T_DEFINED
230 * Ioctl's have the command encoded in the lower word,
243 old ioctl's */
260 #define SIOCSHIWAT _IOW('s', 0, unsigned long) /* set high watermark */
261 #define SIOCGHIWAT _IOR('s', 1, unsigned long) /* get high watermark */
262 #define SIOCSLOWAT _IOW('s', 2, unsigned long) /* set low watermark */
263 #define SIOCGLOWAT _IOR('s', 3, unsigned long) /* get low watermark */
264 #define SIOCATMARK _IOR('s', 7, unsigned long) /* at oob mark? */
321 int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
322 int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);
323 int lwip_shutdown(int s, int how);
324 int lwip_getpeername (int s, struct sockaddr *name, socklen_t *namelen);
325 int lwip_getsockname (int s, struct sockaddr *name, socklen_t *namelen);
326 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen);
327 int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen);
328 int lwip_close(int s);
329 int lwip_connect(int s, const struct sockaddr *name, socklen_t namelen);
330 int lwip_listen(int s, int backlog);
331 int lwip_recv(int s, void *mem, size_t len, int flags);
332 int lwip_read(int s, void *mem, size_t len);
333 int lwip_recvfrom(int s, void *mem, size_t len, int flags,
335 int lwip_send(int s, const void *dataptr, size_t size, int flags);
336 int lwip_sendto(int s, const void *dataptr, size_t size, int flags,
339 int lwip_write(int s, const void *dataptr, size_t size);
342 int lwip_ioctl(int s, long cmd, void *argp);
343 int lwip_fcntl(int s, int cmd, int val);
349 #define closesocket(s) lwip_close(s)
367 #define close(s) lwip_close(s)