#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <netinet/in.h>#include <net/netlib.h>#include <net/gen/in.h>#include <net/gen/tcp.h>#include <net/gen/tcp_io.h>#include <net/gen/udp.h>#include <net/gen/udp_io.h>Include dependency graph for accept.c:

Go to the source code of this file.
Defines | |
| #define | DEBUG 0 |
Functions | |
| static int | _tcp_accept (int socket, struct sockaddr *_RESTRICT address, socklen_t *_RESTRICT address_len) |
| int | accept (int socket, struct sockaddr *_RESTRICT address, socklen_t *_RESTRICT address_len) |
|
|
|
|
||||||||||||||||
|
Definition at line 37 of file accept.c. References close, errno, getpeername, ioctl, NULL, NWIOGTCPCOOKIE, NWIOTCPACCEPTTO, O_RDWR, open, r, and TCP_DEVICE. Referenced by accept(). |
|
||||||||||||||||
|
Definition at line 22 of file accept.c. References _tcp_accept(), ENOSYS, errno, fprintf(), r, and stderr. |
1.4.6