#include <errno.h>#include <stdio.h>#include <string.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <netinet/in.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 getsockname.c:

Go to the source code of this file.
Functions | |
| int | getsockname (int fd, struct sockaddr *_RESTRICT address, socklen_t *_RESTRICT address_len) |
|
||||||||||||||||
|
Definition at line 31 of file getsockname.c. References AF_INET, errno, fprintf(), inet_ntoa(), ioctl, memcpy(), memset(), ntohs, NWIOGTCPCONF, nwio_tcpconf::nwtc_locaddr, nwio_tcpconf::nwtc_locport, nwio_tcpconf::nwtc_remaddr, nwio_tcpconf::nwtc_remport, sin(), and stderr. |
1.4.6