wut
v1.7.0
Wii U Toolchain
|
#include <stdint.h>
#include <sys/time.h>
Go to the source code of this file.
Data Structures | |
struct | sockaddr |
struct | sockaddr_storage |
struct | linger |
Macros | |
#define | SOL_SOCKET -1 |
#define | PF_UNSPEC 0 |
#define | PF_INET 2 |
#define | AF_UNSPEC PF_UNSPEC |
#define | AF_INET PF_INET |
#define | SOCK_STREAM 1 |
#define | SOCK_DGRAM 2 |
#define | MSG_OOB 0x0001 |
#define | MSG_PEEK 0x0002 |
#define | MSG_DONTROUTE 0x0004 |
#define | MSG_DONTWAIT 0x0020 |
#define | SHUT_RD 0 |
#define | SHUT_WR 1 |
#define | SHUT_RDWR 2 |
#define | SO_REUSEADDR 0x0004 |
#define | SO_KEEPALIVE 0x0008 |
#define | SO_DONTROUTE 0x0010 |
#define | SO_BROADCAST 0x0020 |
#define | SO_LINGER 0x0080 |
#define | SO_OOBINLINE 0x0100 |
#define | SO_TCPSACK 0x0200 |
#define | SO_WINSCALE 0x0400 |
#define | SO_SNDBUF 0x1001 |
#define | SO_RCVBUF 0x1002 |
#define | SO_SNDLOWAT 0x1003 |
#define | SO_RCVLOWAT 0x1004 |
#define | SO_ERROR 0x1007 |
#define | SO_TYPE 0x1008 |
#define | SO_HOPCNT 0x1009 |
#define | SO_MAXMSG 0x1010 |
#define | SO_RXDATA 0x1011 |
#define | SO_TXDATA 0x1012 |
#define | SO_MYADDR 0x1013 |
#define | SO_NBIO 0x1014 |
#define | SO_BIO 0x1015 |
#define | SO_NONBLOCK 0x1016 |
#define | SO_UNKNOWN1019 0x1019 |
#define | SO_UNKNOWN101A 0x101A |
#define | SO_UNKNOWN101B 0x101B |
#define | SO_NOSLOWSTART 0x4000 |
#define | SO_RUSRBUF 0x10000 |
Typedefs | |
typedef uint32_t | socklen_t |
typedef uint16_t | sa_family_t |
Functions | |
int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | bind (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
int | connect (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
int | getpeername (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | getsockname (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | getsockopt (int sockfd, int level, int optname, void *optval, socklen_t *optlen) |
int | listen (int sockfd, int backlog) |
ssize_t | recv (int sockfd, void *buf, size_t len, int flags) |
ssize_t | recvfrom (int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen) |
ssize_t | send (int sockfd, const void *buf, size_t len, int flags) |
ssize_t | sendto (int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen) |
int | setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
int | shutdown (int sockfd, int how) |
int | socket (int domain, int type, int protocol) |
int | sockatmark (int sockfd) |
struct sockaddr |
Data Fields | ||
---|---|---|
sa_family_t | sa_family | |
char | sa_data[] |
struct sockaddr_storage |
Data Fields | ||
---|---|---|
sa_family_t | ss_family | |
char | ss_padding[14] |
typedef uint16_t sa_family_t |
int getsockopt | ( | int | sockfd, |
int | level, | ||
int | optname, | ||
void * | optval, | ||
socklen_t * | optlen | ||
) |
int listen | ( | int | sockfd, |
int | backlog | ||
) |
ssize_t recv | ( | int | sockfd, |
void * | buf, | ||
size_t | len, | ||
int | flags | ||
) |
ssize_t recvfrom | ( | int | sockfd, |
void * | buf, | ||
size_t | len, | ||
int | flags, | ||
struct sockaddr * | src_addr, | ||
socklen_t * | addrlen | ||
) |
ssize_t send | ( | int | sockfd, |
const void * | buf, | ||
size_t | len, | ||
int | flags | ||
) |
ssize_t sendto | ( | int | sockfd, |
const void * | buf, | ||
size_t | len, | ||
int | flags, | ||
const struct sockaddr * | dest_addr, | ||
socklen_t | addrlen | ||
) |
int setsockopt | ( | int | sockfd, |
int | level, | ||
int | optname, | ||
const void * | optval, | ||
socklen_t | optlen | ||
) |
int shutdown | ( | int | sockfd, |
int | how | ||
) |
int socket | ( | int | domain, |
int | type, | ||
int | protocol | ||
) |
int sockatmark | ( | int | sockfd | ) |