PSPSDK 2024-12-16
|
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | linger |
struct | sockaddr |
struct | sockaddr_storage |
struct | iovec |
struct | msghdr |
Typedefs | |
typedef uint8_t | sa_family_t |
typedef uint32_t | socklen_t |
Functions | |
int | accept (int, struct sockaddr *__restrict, socklen_t *__restrict) |
int | bind (int, const struct sockaddr *, socklen_t) |
int | connect (int, const struct sockaddr *, socklen_t) |
int | getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict) |
int | getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict) |
int | getsockopt (int, int, int, void *__restrict, socklen_t *__restrict) |
int | listen (int, int) |
ssize_t | recv (int, void *, size_t, int) |
ssize_t | recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict) |
ssize_t | recvmsg (int s, struct msghdr *msg, int flags) |
ssize_t | send (int, const void *, size_t, int) |
ssize_t | sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t) |
ssize_t | sendmsg (int s, const struct msghdr *msg, int flags) |
int | setsockopt (int, int, int, const void *, socklen_t) |
int | shutdown (int, int) |
int | socket (int, int, int) |
#define _SS_MAXSIZE 128 |
#define _SS_PAD1SIZE (_SS_ALIGNSIZE - 2) |
#define _SS_PAD2SIZE (_SS_MAXSIZE - 2 - _SS_PAD1SIZE - _SS_ALIGNSIZE) |
#define AF_CNT 21 /* Computer Network Technology */ |
#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */ |
#define AF_ECMA 8 /* european computer manufacturers */ |
#define AF_HYLINK 15 /* NSC Hyperchannel */ |
#define AF_INET 2 /* internetwork: UDP, TCP, etc. */ |
#define AF_ISDN 26 /* Integrated Services Digital Network*/ |
#define AF_MAX 31 |
#define AF_PUP 4 /* pup protocols: e.g. BSP */ |
#define AF_UNIX AF_LOCAL /* backward compatibility */ |
#define AF_UNSPEC 0 /* unspecified */ |
#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ |
#define PF_APPLETALK AF_APPLETALK |
#define PF_DATAKIT AF_DATAKIT |
#define PF_IMPLINK AF_IMPLINK |
#define PF_UNIX PF_LOCAL /* backward compatibility */ |
#define SO_KEEPALIVE 0x0008 /* keep connections alive */ |
#define SO_OVERFLOWED 0x1009 /* datagrams: return packets dropped */ |
#define SOMAXCONN 128 |
ssize_t recvfrom | ( | int | , |
void * | __restrict, | ||
size_t | , | ||
int | , | ||
struct sockaddr * | __restrict, | ||
socklen_t * | __restrict | ||
) |