vitasdk
Documentation of the vitasdk
net.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2COMMON_NET_H_
7 #define _PSP2COMMON_NET_H_
8 
9 #include <vitasdk/build_utils.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 
17 typedef enum SceNetErrorCode {
18  SCE_NET_ERROR_EPERM = 0x80410101,
19  SCE_NET_ERROR_ENOENT = 0x80410102,
20  SCE_NET_ERROR_ESRCH = 0x80410103,
21  SCE_NET_ERROR_EINTR = 0x80410104,
22  SCE_NET_ERROR_EIO = 0x80410105,
23  SCE_NET_ERROR_ENXIO = 0x80410106,
24  SCE_NET_ERROR_E2BIG = 0x80410107,
25  SCE_NET_ERROR_ENOEXEC = 0x80410108,
26  SCE_NET_ERROR_EBADF = 0x80410109,
27  SCE_NET_ERROR_ECHILD = 0x8041010A,
28  SCE_NET_ERROR_EDEADLK = 0x8041010B,
29  SCE_NET_ERROR_ENOMEM = 0x8041010C,
30  SCE_NET_ERROR_EACCES = 0x8041010D,
31  SCE_NET_ERROR_EFAULT = 0x8041010E,
32  SCE_NET_ERROR_ENOTBLK = 0x8041010F,
33  SCE_NET_ERROR_EBUSY = 0x80410110,
34  SCE_NET_ERROR_EEXIST = 0x80410111,
35  SCE_NET_ERROR_EXDEV = 0x80410112,
36  SCE_NET_ERROR_ENODEV = 0x80410113,
37  SCE_NET_ERROR_ENOTDIR = 0x80410114,
38  SCE_NET_ERROR_EISDIR = 0x80410115,
39  SCE_NET_ERROR_EINVAL = 0x80410116,
40  SCE_NET_ERROR_ENFILE = 0x80410117,
41  SCE_NET_ERROR_EMFILE = 0x80410118,
42  SCE_NET_ERROR_ENOTTY = 0x80410119,
43  SCE_NET_ERROR_ETXTBSY = 0x8041011A,
44  SCE_NET_ERROR_EFBIG = 0x8041011B,
45  SCE_NET_ERROR_ENOSPC = 0x8041011C,
46  SCE_NET_ERROR_ESPIPE = 0x8041011D,
47  SCE_NET_ERROR_EROFS = 0x8041011E,
48  SCE_NET_ERROR_EMLINK = 0x8041011F,
49  SCE_NET_ERROR_EPIPE = 0x80410120,
50  SCE_NET_ERROR_EDOM = 0x80410121,
51  SCE_NET_ERROR_ERANGE = 0x80410122,
52  SCE_NET_ERROR_EAGAIN = 0x80410123,
55  SCE_NET_ERROR_EALREADY = 0x80410125,
56  SCE_NET_ERROR_ENOTSOCK = 0x80410126,
58  SCE_NET_ERROR_EMSGSIZE = 0x80410128,
68  SCE_NET_ERROR_ENETDOWN = 0x80410132,
73  SCE_NET_ERROR_ENOBUFS = 0x80410137,
74  SCE_NET_ERROR_EISCONN = 0x80410138,
75  SCE_NET_ERROR_ENOTCONN = 0x80410139,
80  SCE_NET_ERROR_ELOOP = 0x8041013E,
85  SCE_NET_ERROR_EPROCLIM = 0x80410143,
86  SCE_NET_ERROR_EUSERS = 0x80410144,
87  SCE_NET_ERROR_EDQUOT = 0x80410145,
88  SCE_NET_ERROR_ESTALE = 0x80410146,
89  SCE_NET_ERROR_EREMOTE = 0x80410147,
90  SCE_NET_ERROR_EBADRPC = 0x80410148,
95  SCE_NET_ERROR_ENOLCK = 0x8041014D,
96  SCE_NET_ERROR_ENOSYS = 0x8041014E,
97  SCE_NET_ERROR_EFTYPE = 0x8041014F,
98  SCE_NET_ERROR_EAUTH = 0x80410150,
100  SCE_NET_ERROR_EIDRM = 0x80410152,
101  SCE_NET_ERROR_ENOMS = 0x80410153,
103  SCE_NET_ERROR_EILSEQ = 0x80410155,
104  SCE_NET_ERROR_ENOTSUP = 0x80410156,
106  SCE_NET_ERROR_EBADMSG = 0x80410158,
107  SCE_NET_ERROR_ENODATA = 0x80410159,
108  SCE_NET_ERROR_ENOSR = 0x8041015A,
109  SCE_NET_ERROR_ENOSTR = 0x8041015B,
110  SCE_NET_ERROR_ETIME = 0x8041015C,
111  SCE_NET_ERROR_EADHOC = 0x804101A0,
113  SCE_NET_ERROR_ERESUME = 0x804101A2,
119  SCE_NET_ERROR_ERETURN = 0x804101CD,
136 
138 typedef enum SceNetKernelErrorCode {
234  SCE_NET_ERESUME = 162
236 
238 typedef enum SceNetLibnetErrorCode {
246 
248 typedef enum SceNetSockInfoState {
263 
265 typedef enum SceNetSockInfoFlag {
274  SCE_NET_SOCKINFO_F_ALL = 0x001F0007
276 
278 typedef enum SceNetProtocol {
284  SCE_NET_SOL_SOCKET = 0xFFFF
286 
288 typedef enum SceNetSocketOption {
289  /* IP */
300  /* TCP */
304  /* SOCKET */
305  SCE_NET_SO_REUSEADDR = 0x00000004,
306  SCE_NET_SO_KEEPALIVE = 0x00000008,
307  SCE_NET_SO_BROADCAST = 0x00000020,
308  SCE_NET_SO_LINGER = 0x00000080,
309  SCE_NET_SO_OOBINLINE = 0x00000100,
310  SCE_NET_SO_REUSEPORT = 0x00000200,
311  SCE_NET_SO_ONESBCAST = 0x00000800,
312  SCE_NET_SO_USECRYPTO = 0x00001000,
321  SCE_NET_SO_TYPE = 0x1008,
322  SCE_NET_SO_NBIO = 0x1100,
324  SCE_NET_SO_NAME = 0x1102
326 
328 typedef enum SceNetSocketType {
335 
337 typedef enum SceNetMsgFlag {
338  SCE_NET_MSG_PEEK = 0x00000002,
339  SCE_NET_MSG_WAITALL = 0x00000040,
340  SCE_NET_MSG_DONTWAIT = 0x00000080,
341  SCE_NET_MSG_USECRYPTO = 0x00000400,
342  SCE_NET_MSG_USESIGNATURE = 0x00000800
344 
346 typedef enum SceNetIcmpType {
361 
363 typedef enum SceNetIcmpCode {
380 
381 #define SCE_NET_IP_DEFAULT_MULTICAST_TTL 1
382 #define SCE_NET_IP_DEFAULT_MULTICAST_LOOP 1
383 
384 #define SCE_NET_IPVERSION 4
385 
386 #define SCE_NET_IP_RF 0x8000
387 #define SCE_NET_IP_DF 0x4000
388 #define SCE_NET_IP_MF 0x2000
389 #define SCE_NET_IP_OFFMASK 0x1FFF
390 
391 #define SCE_NET_INADDR_ANY 0x00000000
392 #define SCE_NET_INADDR_LOOPBACK 0x7F000001
393 #define SCE_NET_INADDR_BROADCAST 0xFFFFFFFF
394 #define SCE_NET_INADDR_UNSPEC_GROUP 0xE0000000
395 #define SCE_NET_INADDR_AUTOIP 0xA9FE0000
396 
397 #define SCE_NET_IN_CLASSD_NET 0xF0000000
398 #define SCE_NET_IN_AUTOIP_NET 0xFFFF0000
399 
400 #define SCE_NET_ADHOC_PORT 3658
401 
402 #define SCE_NET_AF_INET 2
403 
404 #define SCE_NET_DEBUG_NAME_LEN_MAX 31
405 
406 #define SCE_NET_ID_SOCKET_MIN 0
407 #define SCE_NET_ID_SOCKET_MAX 1023
408 
409 typedef struct SceNetFdSet {
410  unsigned int bits[32];
411 } SceNetFdSet;
413 
414 typedef struct SceNetInAddr {
415  unsigned int s_addr;
416 } SceNetInAddr;
418 
419 typedef struct SceNetSockaddrIn {
420  unsigned char sin_len;
421  unsigned char sin_family;
422  unsigned short int sin_port;
424  unsigned short int sin_vport;
425  char sin_zero[6];
428 
429 typedef struct SceNetIpMreq {
432 } SceNetIpMreq;
434 
435 typedef struct SceNetEtherAddr {
436  unsigned char data[6];
439 
440 typedef struct SceNetDnsInfo {
442 } SceNetDnsInfo;
444 
445 typedef struct SceNetLinger {
446  int l_onoff;
447  int l_linger;
448 } SceNetLinger;
450 
451 typedef struct SceNetSockaddr {
452  unsigned char sa_len;
453  unsigned char sa_family;
454  char sa_data[14];
457 
458 typedef struct SceNetIovec {
459  void *iov_base;
460  unsigned int iov_len;
461 } SceNetIovec;
463 
464 typedef struct SceNetMsghdr {
465  void *msg_name;
466  unsigned int msg_namelen;
469  void *msg_control;
470  unsigned int msg_controllen;
472 } SceNetMsghdr;
474 
475 typedef struct SceNetSockInfo {
477  int pid;
478  int s;
480  char policy;
481  short int reserved16;
486  unsigned short int local_port;
487  unsigned short int remote_port;
488  unsigned short int local_vport;
489  unsigned short int remote_vport;
490  int state;
491  int flags;
492  int reserved[8];
495 
496 typedef struct SceNetStatisticsInfo {
501 
506 
507 typedef struct SceNetIpHeaderIpVerHl {
508  unsigned char hl;
509  unsigned char ver;
512 
513 typedef union SceNetIpHeaderUnion {
515  unsigned char ver_hl;
518 
519 typedef struct SceNetIpHeader {
521  unsigned char ip_tos;
522  unsigned short ip_len;
523  unsigned short ip_id;
524  unsigned short ip_off;
525  unsigned char ip_ttl;
526  unsigned char ip_p;
527  unsigned short ip_sum;
532 
533 typedef struct SceNetIcmpHeaderEcho {
534  unsigned short id;
535  unsigned short sequence;
538 
539 typedef struct SceNetIcmpHeaderFrag {
540  unsigned short unused;
541  unsigned short mtu;
544 
545 typedef union SceNetIcmpHeaderUnion {
547  unsigned int gateway;
551 
552 typedef struct SceNetIcmpHeader {
553  unsigned char type;
554  unsigned char code;
555  unsigned short checksum;
559 
560 
561 #ifdef __cplusplus
562 }
563 #endif
564 
565 #endif /* _PSP2COMMON_NET_H_ */
SceNetMsgFlag
MSG Flags.
Definition: net.h:337
unsigned char ver
Definition: net.h:509
SceNetIpHeaderUnion un
Definition: net.h:520
unsigned char data[6]
Definition: net.h:436
unsigned short ip_id
Definition: net.h:523
SceNetInAddr dns_addr[2]
Definition: net.h:441
unsigned int msg_namelen
Definition: net.h:466
SceNetLibnetErrorCode
libnet specific error codes
Definition: net.h:238
SceNetInAddr local_adr
Definition: net.h:484
SceNetSockInfoFlag
flags for SceNetSockInfo structure
Definition: net.h:265
unsigned short int sin_vport
Definition: net.h:424
SceNetInAddr imr_interface
Definition: net.h:431
SceNetIovec * msg_iov
Definition: net.h:467
unsigned short sequence
Definition: net.h:535
int msg_flags
Definition: net.h:471
unsigned short id
Definition: net.h:534
int libnet_mem_free_min
Definition: net.h:503
int flags
Definition: net.h:491
char sin_zero[6]
Definition: net.h:425
int recv_queue_length
Definition: net.h:482
char policy
Definition: net.h:480
unsigned char code
Definition: net.h:554
void * iov_base
Definition: net.h:459
unsigned short int local_vport
Definition: net.h:488
unsigned int s_addr
Definition: net.h:415
unsigned int msg_controllen
Definition: net.h:470
unsigned char ip_ttl
Definition: net.h:525
SceNetInAddr imr_multiaddr
Definition: net.h:430
int l_onoff
Definition: net.h:446
#define SCE_NET_DEBUG_NAME_LEN_MAX
Definition: net.h:404
int send_queue_length
Definition: net.h:483
SceNetInAddr remote_adr
Definition: net.h:485
unsigned char ip_p
Definition: net.h:526
SceNetIcmpCode
Codes to specify to SceNetIcmpHeader structure.
Definition: net.h:363
int reserved[8]
Definition: net.h:492
unsigned char sa_family
Definition: net.h:453
int msg_iovlen
Definition: net.h:468
SceNetIcmpHeaderFrag frag
Definition: net.h:548
int pid
Definition: net.h:477
unsigned short checksum
Definition: net.h:555
unsigned short int remote_port
Definition: net.h:487
SceNetInAddr ip_src
Definition: net.h:528
int kernel_mem_free_min
Definition: net.h:498
SceNetIcmpHeaderEcho echo
Definition: net.h:546
SceNetKernelErrorCode
Specific kernel and libnet error codes.
Definition: net.h:138
int l_linger
Definition: net.h:447
unsigned int gateway
Definition: net.h:547
char sa_data[14]
Definition: net.h:454
char socket_type
Definition: net.h:479
void * msg_control
Definition: net.h:469
unsigned char type
Definition: net.h:553
unsigned char sa_len
Definition: net.h:452
SceNetSocketType
Socket types.
Definition: net.h:328
SceNetProtocol
Net Protocols.
Definition: net.h:278
unsigned short int sin_port
Definition: net.h:422
unsigned short ip_len
Definition: net.h:522
SceNetIcmpHeaderUnion un
Definition: net.h:556
SceNetIcmpType
Types to specify to SceNetIcmpHeader structure.
Definition: net.h:346
int packet_qos_count
Definition: net.h:500
unsigned char ver_hl
Definition: net.h:515
unsigned char hl
Definition: net.h:508
unsigned char ip_tos
Definition: net.h:521
SceNetIpHeaderIpVerHl ip_ver_hl
Definition: net.h:514
short int reserved16
Definition: net.h:481
unsigned short ip_off
Definition: net.h:524
VITASDK_BUILD_ASSERT_EQ(0xC, SceNetInitParam)
unsigned char sin_len
Definition: net.h:420
int libnet_mem_free_size
Definition: net.h:502
SceNetSockInfoState
state for SceNetSockInfo structure
Definition: net.h:248
SceNetInAddr sin_addr
Definition: net.h:423
SceNetInAddr ip_dst
Definition: net.h:529
unsigned int iov_len
Definition: net.h:460
unsigned short int remote_vport
Definition: net.h:489
int state
Definition: net.h:490
unsigned char sin_family
Definition: net.h:421
SceNetErrorCode
Net Error Codes.
Definition: net.h:17
unsigned short unused
Definition: net.h:540
unsigned short mtu
Definition: net.h:541
SceNetSocketOption
Socket Options.
Definition: net.h:288
int kernel_mem_free_size
Definition: net.h:497
unsigned int bits[32]
Definition: net.h:410
void * msg_name
Definition: net.h:465
int s
Definition: net.h:478
unsigned short int local_port
Definition: net.h:486
unsigned short ip_sum
Definition: net.h:527
int packet_count
Definition: net.h:499
char name[SCE_NET_DEBUG_NAME_LEN_MAX+1]
Definition: net.h:476
@ SCE_NET_MSG_USESIGNATURE
Definition: net.h:342
@ SCE_NET_MSG_DONTWAIT
Definition: net.h:340
@ SCE_NET_MSG_USECRYPTO
Definition: net.h:341
@ SCE_NET_MSG_WAITALL
Definition: net.h:339
@ SCE_NET_MSG_PEEK
Definition: net.h:338
@ SCE_NET_ENOTINIT
Definition: net.h:239
@ SCE_NET_ENOLIBMEM
Definition: net.h:240
@ SCE_NET_EINTERNAL
Definition: net.h:243
@ SCE_NET_ERETURN
Definition: net.h:244
@ SCE_NET_ECALLBACK
Definition: net.h:242
@ SCE_NET_ETLS
Definition: net.h:241
@ SCE_NET_SOCKINFO_F_SEND_WAIT
Definition: net.h:270
@ SCE_NET_SOCKINFO_F_RECV_WAIT
Definition: net.h:269
@ SCE_NET_SOCKINFO_F_RECV_EWAIT
Definition: net.h:271
@ SCE_NET_SOCKINFO_F_KERNEL
Definition: net.h:267
@ SCE_NET_SOCKINFO_F_SEND_EWAIT
Definition: net.h:272
@ SCE_NET_SOCKINFO_F_SELF
Definition: net.h:266
@ SCE_NET_SOCKINFO_F_OTHERS
Definition: net.h:268
@ SCE_NET_SOCKINFO_F_WAKEUP_SIGNAL
Definition: net.h:273
@ SCE_NET_SOCKINFO_F_ALL
Definition: net.h:274
@ SCE_NET_ICMP_CODE_DEST_UNREACH_NET_TOS
Definition: net.h:375
@ SCE_NET_ICMP_CODE_TIME_EXCEEDED_FRT_EXCEEDED
Definition: net.h:378
@ SCE_NET_ICMP_CODE_DEST_UNREACH_NET_UNREACH
Definition: net.h:364
@ SCE_NET_ICMP_CODE_DEST_UNREACH_DST_HOST_UNKNOWN
Definition: net.h:371
@ SCE_NET_ICMP_CODE_DEST_UNREACH_NET_ADMIN_PROHIBITED
Definition: net.h:373
@ SCE_NET_ICMP_CODE_DEST_UNREACH_HOST_UNREACH
Definition: net.h:365
@ SCE_NET_ICMP_CODE_DEST_UNREACH_PROTO_UNREACH
Definition: net.h:366
@ SCE_NET_ICMP_CODE_DEST_UNREACH_FRAG_AND_DF
Definition: net.h:368
@ SCE_NET_ICMP_CODE_DEST_UNREACH_DST_NET_UNKNOWN
Definition: net.h:370
@ SCE_NET_ICMP_CODE_DEST_UNREACH_SRC_HOST_FAILED
Definition: net.h:369
@ SCE_NET_ICMP_CODE_DEST_UNREACH_NET_HOST_PROHIBITED
Definition: net.h:374
@ SCE_NET_ICMP_CODE_DEST_UNREACH_PORT_UNREACH
Definition: net.h:367
@ SCE_NET_ICMP_CODE_DEST_UNREACH_HOST_TOS
Definition: net.h:376
@ SCE_NET_ICMP_CODE_TIME_EXCEEDED_TTL_EXCEEDED
Definition: net.h:377
@ SCE_NET_ICMP_CODE_DEST_UNREACH_SRC_HOST_ISOLATED
Definition: net.h:372
@ SCE_NET_ENOTBLK
Definition: net.h:153
@ SCE_NET_EBADMSG
Definition: net.h:227
@ SCE_NET_EISDIR
Definition: net.h:159
@ SCE_NET_ENOBUFS
Definition: net.h:194
@ SCE_NET_ENFILE
Definition: net.h:161
@ SCE_NET_EBADRPC
Definition: net.h:211
@ SCE_NET_EAUTH
Definition: net.h:219
@ SCE_NET_EACCES
Definition: net.h:151
@ SCE_NET_ENOTSOCK
Definition: net.h:177
@ SCE_NET_ECONNRESET
Definition: net.h:193
@ SCE_NET_EPFNOSUPPORT
Definition: net.h:185
@ SCE_NET_EPROTONOSUPPORT
Definition: net.h:182
@ SCE_NET_EHOSTUNREACH
Definition: net.h:204
@ SCE_NET_EIDRM
Definition: net.h:221
@ SCE_NET_ESTALE
Definition: net.h:209
@ SCE_NET_ESRCH
Definition: net.h:141
@ SCE_NET_EPERM
Definition: net.h:139
@ SCE_NET_ENODATA
Definition: net.h:228
@ SCE_NET_ENOMEM
Definition: net.h:150
@ SCE_NET_EDEADLK
Definition: net.h:149
@ SCE_NET_EOPNOTSUPP
Definition: net.h:184
@ SCE_NET_EPROCLIM
Definition: net.h:206
@ SCE_NET_ECONNABORTED
Definition: net.h:192
@ SCE_NET_EPROCUNAVAIL
Definition: net.h:215
@ SCE_NET_ENOSR
Definition: net.h:229
@ SCE_NET_EDISABLEDIF
Definition: net.h:233
@ SCE_NET_EPIPE
Definition: net.h:170
@ SCE_NET_EUSERS
Definition: net.h:207
@ SCE_NET_EBADF
Definition: net.h:147
@ SCE_NET_EINTR
Definition: net.h:142
@ SCE_NET_EMSGSIZE
Definition: net.h:179
@ SCE_NET_EINVAL
Definition: net.h:160
@ SCE_NET_EALREADY
Definition: net.h:176
@ SCE_NET_EXDEV
Definition: net.h:156
@ SCE_NET_ELOOP
Definition: net.h:201
@ SCE_NET_EAGAIN
Definition: net.h:173
@ SCE_NET_ESHUTDOWN
Definition: net.h:197
@ SCE_NET_EFAULT
Definition: net.h:152
@ SCE_NET_ENOEXEC
Definition: net.h:146
@ SCE_NET_ENETUNREACH
Definition: net.h:190
@ SCE_NET_EISCONN
Definition: net.h:195
@ SCE_NET_ENOPROTOOPT
Definition: net.h:181
@ SCE_NET_ECANCELED
Definition: net.h:226
@ SCE_NET_EMLINK
Definition: net.h:169
@ SCE_NET_ERANGE
Definition: net.h:172
@ SCE_NET_EADDRNOTAVAIL
Definition: net.h:188
@ SCE_NET_ENOTTY
Definition: net.h:163
@ SCE_NET_EROFS
Definition: net.h:168
@ SCE_NET_EPROGUNAVAIL
Definition: net.h:213
@ SCE_NET_ERESUME
Definition: net.h:234
@ SCE_NET_EIO
Definition: net.h:143
@ SCE_NET_ENEEDAUTH
Definition: net.h:220
@ SCE_NET_ENETDOWN
Definition: net.h:189
@ SCE_NET_ENOMSG
Definition: net.h:222
@ SCE_NET_ERPCMISMATCH
Definition: net.h:212
@ SCE_NET_ECHILD
Definition: net.h:148
@ SCE_NET_ENOTDIR
Definition: net.h:158
@ SCE_NET_EADDRINUSE
Definition: net.h:187
@ SCE_NET_ENOSPC
Definition: net.h:166
@ SCE_NET_ENOTSUP
Definition: net.h:225
@ SCE_NET_ENOLCK
Definition: net.h:216
@ SCE_NET_ENXIO
Definition: net.h:144
@ SCE_NET_EDESTADDRREQ
Definition: net.h:178
@ SCE_NET_EMFILE
Definition: net.h:162
@ SCE_NET_EADHOC
Definition: net.h:232
@ SCE_NET_ECONNREFUSED
Definition: net.h:200
@ SCE_NET_ETIME
Definition: net.h:231
@ SCE_NET_EDOM
Definition: net.h:171
@ SCE_NET_EPROTOTYPE
Definition: net.h:180
@ SCE_NET_ETIMEDOUT
Definition: net.h:199
@ SCE_NET_ESOCKTNOSUPPORT
Definition: net.h:183
@ SCE_NET_EFBIG
Definition: net.h:165
@ SCE_NET_EWOULDBLOCK
Definition: net.h:174
@ SCE_NET_EILSEQ
Definition: net.h:224
@ SCE_NET_ENOTCONN
Definition: net.h:196
@ SCE_NET_EBUSY
Definition: net.h:154
@ SCE_NET_ENOSTR
Definition: net.h:230
@ SCE_NET_EREMOTE
Definition: net.h:210
@ SCE_NET_ESPIPE
Definition: net.h:167
@ SCE_NET_ENAMETOOLONG
Definition: net.h:202
@ SCE_NET_ENOSYS
Definition: net.h:217
@ SCE_NET_EDQUOT
Definition: net.h:208
@ SCE_NET_EEXIST
Definition: net.h:155
@ SCE_NET_EINPROGRESS
Definition: net.h:175
@ SCE_NET_ENOENT
Definition: net.h:140
@ SCE_NET_EOVERFLOW
Definition: net.h:223
@ SCE_NET_E2BIG
Definition: net.h:145
@ SCE_NET_EPROGMISMATCH
Definition: net.h:214
@ SCE_NET_ENODEV
Definition: net.h:157
@ SCE_NET_EFTYPE
Definition: net.h:218
@ SCE_NET_ETXTBSY
Definition: net.h:164
@ SCE_NET_ETOOMANYREFS
Definition: net.h:198
@ SCE_NET_ENETRESET
Definition: net.h:191
@ SCE_NET_EAFNOSUPPORT
Definition: net.h:186
@ SCE_NET_ENOTEMPTY
Definition: net.h:205
@ SCE_NET_EHOSTDOWN
Definition: net.h:203
@ SCE_NET_SOCK_DGRAM
Definition: net.h:330
@ SCE_NET_SOCK_DGRAM_P2P
Definition: net.h:332
@ SCE_NET_SOCK_RAW
Definition: net.h:331
@ SCE_NET_SOCK_STREAM
Definition: net.h:329
@ SCE_NET_SOCK_STREAM_P2P
Definition: net.h:333
@ SCE_NET_IPPROTO_TCP
Definition: net.h:282
@ SCE_NET_IPPROTO_UDP
Definition: net.h:283
@ SCE_NET_IPPROTO_IP
Definition: net.h:279
@ SCE_NET_IPPROTO_IGMP
Definition: net.h:281
@ SCE_NET_SOL_SOCKET
Definition: net.h:284
@ SCE_NET_IPPROTO_ICMP
Definition: net.h:280
@ SCE_NET_ICMP_TYPE_REDIRECT
Definition: net.h:350
@ SCE_NET_ICMP_TYPE_ECHO_REPLY
Definition: net.h:347
@ SCE_NET_ICMP_TYPE_TIMESTAMP_REQUEST
Definition: net.h:354
@ SCE_NET_ICMP_TYPE_TIME_EXCEEDED
Definition: net.h:352
@ SCE_NET_ICMP_TYPE_INFORMATION_REQUEST
Definition: net.h:356
@ SCE_NET_ICMP_TYPE_TIMESTAMP_REPLY
Definition: net.h:355
@ SCE_NET_ICMP_TYPE_ADDRESS_MASK_REQUEST
Definition: net.h:358
@ SCE_NET_ICMP_TYPE_INFORMATION_REPLY
Definition: net.h:357
@ SCE_NET_ICMP_TYPE_ADDRESS_MASK_REPLY
Definition: net.h:359
@ SCE_NET_ICMP_TYPE_ECHO_REQUEST
Definition: net.h:351
@ SCE_NET_ICMP_TYPE_SOURCE_QUENCH
Definition: net.h:349
@ SCE_NET_ICMP_TYPE_DEST_UNREACH
Definition: net.h:348
@ SCE_NET_ICMP_TYPE_PARAMETER_PROBLEM
Definition: net.h:353
@ SCE_NET_SOCKINFO_STATE_LISTEN
Definition: net.h:252
@ SCE_NET_SOCKINFO_STATE_LAST_ACK
Definition: net.h:260
@ SCE_NET_SOCKINFO_STATE_CLOSED
Definition: net.h:250
@ SCE_NET_SOCKINFO_STATE_OPENED
Definition: net.h:251
@ SCE_NET_SOCKINFO_STATE_ESTABLISHED
Definition: net.h:255
@ SCE_NET_SOCKINFO_STATE_SYN_SENT
Definition: net.h:253
@ SCE_NET_SOCKINFO_STATE_TIME_WAIT
Definition: net.h:261
@ SCE_NET_SOCKINFO_STATE_SYN_RECEIVED
Definition: net.h:254
@ SCE_NET_SOCKINFO_STATE_CLOSE_WAIT
Definition: net.h:258
@ SCE_NET_SOCKINFO_STATE_FIN_WAIT_1
Definition: net.h:256
@ SCE_NET_SOCKINFO_STATE_CLOSING
Definition: net.h:259
@ SCE_NET_SOCKINFO_STATE_UNKNOWN
Definition: net.h:249
@ SCE_NET_SOCKINFO_STATE_FIN_WAIT_2
Definition: net.h:257
@ SCE_NET_ERROR_ESTALE
Definition: net.h:88
@ SCE_NET_ERROR_ENETUNREACH
Definition: net.h:69
@ SCE_NET_ERROR_RESOLVER_ENOHOST
Definition: net.h:130
@ SCE_NET_ERROR_EROFS
Definition: net.h:47
@ SCE_NET_ERROR_EINPROGRESS
Definition: net.h:54
@ SCE_NET_ERROR_ELOOP
Definition: net.h:80
@ SCE_NET_ERROR_EPFNOSUPPORT
Definition: net.h:64
@ SCE_NET_ERROR_EBUSY
Definition: net.h:33
@ SCE_NET_ERROR_EBADRPC
Definition: net.h:90
@ SCE_NET_ERROR_EADHOC
Definition: net.h:111
@ SCE_NET_ERROR_ECONNREFUSED
Definition: net.h:79
@ SCE_NET_ERROR_ECONNRESET
Definition: net.h:72
@ SCE_NET_ERROR_EPIPE
Definition: net.h:49
@ SCE_NET_ERROR_EMFILE
Definition: net.h:41
@ SCE_NET_ERROR_EBADF
Definition: net.h:26
@ SCE_NET_ERROR_EFAULT
Definition: net.h:31
@ SCE_NET_ERROR_ENOTINIT
Definition: net.h:114
@ SCE_NET_ERROR_EEXIST
Definition: net.h:34
@ SCE_NET_ERROR_EMLINK
Definition: net.h:48
@ SCE_NET_ERROR_ENOLCK
Definition: net.h:95
@ SCE_NET_ERROR_ENOSYS
Definition: net.h:96
@ SCE_NET_ERROR_EXDEV
Definition: net.h:35
@ SCE_NET_ERROR_ETIME
Definition: net.h:110
@ SCE_NET_ERROR_EPROGMISMATCH
Definition: net.h:93
@ SCE_NET_ERROR_ENOMS
Definition: net.h:101
@ SCE_NET_ERROR_ENOTTY
Definition: net.h:42
@ SCE_NET_ERROR_RESOLVER_ESERVERREFUSED
Definition: net.h:132
@ SCE_NET_ERROR_ENOPROTOOPT
Definition: net.h:60
@ SCE_NET_ERROR_ENXIO
Definition: net.h:23
@ SCE_NET_ERROR_ENODATA
Definition: net.h:107
@ SCE_NET_ERROR_EDQUOT
Definition: net.h:87
@ SCE_NET_ERROR_RESOLVER_EINTERNAL
Definition: net.h:120
@ SCE_NET_ERROR_ENETRESET
Definition: net.h:70
@ SCE_NET_ERROR_EPROCUNAVAIL
Definition: net.h:94
@ SCE_NET_ERROR_RESOLVER_ESERVERFAILURE
Definition: net.h:129
@ SCE_NET_ERROR_EFBIG
Definition: net.h:44
@ SCE_NET_ERROR_EWOULDBLOCK
Definition: net.h:53
@ SCE_NET_ERROR_ENOTSUP
Definition: net.h:104
@ SCE_NET_ERROR_ENOSPC
Definition: net.h:45
@ SCE_NET_ERROR_RESOLVER_ENODNS
Definition: net.h:125
@ SCE_NET_ERROR_EAUTH
Definition: net.h:98
@ SCE_NET_ERROR_ETIMEDOUT
Definition: net.h:78
@ SCE_NET_ERROR_EALREADY
Definition: net.h:55
@ SCE_NET_ERROR_ENOEXEC
Definition: net.h:25
@ SCE_NET_ERROR_EINTR
Definition: net.h:21
@ SCE_NET_ERROR_EPROTONOSUPPORT
Definition: net.h:61
@ SCE_NET_ERROR_RESOLVER_ENOTIMPLEMENTED
Definition: net.h:131
@ SCE_NET_ERROR_EACCES
Definition: net.h:30
@ SCE_NET_ERROR_EISDIR
Definition: net.h:38
@ SCE_NET_ERROR_ENOTDIR
Definition: net.h:37
@ SCE_NET_ERROR_EOVERFLOW
Definition: net.h:102
@ SCE_NET_ERROR_EILSEQ
Definition: net.h:103
@ SCE_NET_ERROR_EDEADLK
Definition: net.h:28
@ SCE_NET_ERROR_ETOOMANYREFS
Definition: net.h:77
@ SCE_NET_ERROR_ECANCELED
Definition: net.h:105
@ SCE_NET_ERROR_EBADMSG
Definition: net.h:106
@ SCE_NET_ERROR_RESOLVER_EPACKET
Definition: net.h:123
@ SCE_NET_ERROR_ECALLBACK
Definition: net.h:117
@ SCE_NET_ERROR_ESRCH
Definition: net.h:20
@ SCE_NET_ERROR_ERANGE
Definition: net.h:51
@ SCE_NET_ERROR_EIO
Definition: net.h:22
@ SCE_NET_ERROR_RESOLVER_ETIMEDOUT
Definition: net.h:126
@ SCE_NET_ERROR_RESOLVER_ENOSUPPORT
Definition: net.h:127
@ SCE_NET_ERROR_ESOCKTNOSUPPORT
Definition: net.h:62
@ SCE_NET_ERROR_EDISABLEDIF
Definition: net.h:112
@ SCE_NET_ERROR_ESHUTDOWN
Definition: net.h:76
@ SCE_NET_ERROR_EHOSTDOWN
Definition: net.h:82
@ SCE_NET_ERROR_ENOENT
Definition: net.h:19
@ SCE_NET_ERROR_RESOLVER_EALIGNMENT
Definition: net.h:134
@ SCE_NET_ERROR_ENOTCONN
Definition: net.h:75
@ SCE_NET_ERROR_ENOLIBMEM
Definition: net.h:115
@ SCE_NET_ERROR_EOPNOTSUPP
Definition: net.h:63
@ SCE_NET_ERROR_ENOBUFS
Definition: net.h:73
@ SCE_NET_ERROR_EPERM
Definition: net.h:18
@ SCE_NET_ERROR_ENOSR
Definition: net.h:108
@ SCE_NET_ERROR_EREMOTE
Definition: net.h:89
@ SCE_NET_ERROR_EMSGSIZE
Definition: net.h:58
@ SCE_NET_ERROR_EPROTOTYPE
Definition: net.h:59
@ SCE_NET_ERROR_ERETURN
Definition: net.h:119
@ SCE_NET_ERROR_ERPCMISMATCH
Definition: net.h:91
@ SCE_NET_ERROR_EINTERNAL
Definition: net.h:118
@ SCE_NET_ERROR_ERESERVED202
Definition: net.h:116
@ SCE_NET_ERROR_EISCONN
Definition: net.h:74
@ SCE_NET_ERROR_ENOTSOCK
Definition: net.h:56
@ SCE_NET_ERROR_ENOTBLK
Definition: net.h:32
@ SCE_NET_ERROR_RESOLVER_EBUSY
Definition: net.h:121
@ SCE_NET_ERROR_EADDRINUSE
Definition: net.h:66
@ SCE_NET_ERROR_ERESUME
Definition: net.h:113
@ SCE_NET_ERROR_E2BIG
Definition: net.h:24
@ SCE_NET_ERROR_EPROCLIM
Definition: net.h:85
@ SCE_NET_ERROR_EDESTADDRREQ
Definition: net.h:57
@ SCE_NET_ERROR_ESPIPE
Definition: net.h:46
@ SCE_NET_ERROR_EFTYPE
Definition: net.h:97
@ SCE_NET_ERROR_ECONNABORTED
Definition: net.h:71
@ SCE_NET_ERROR_ENAMETOOLONG
Definition: net.h:81
@ SCE_NET_ERROR_ENOTEMPTY
Definition: net.h:84
@ SCE_NET_ERROR_EIDRM
Definition: net.h:100
@ SCE_NET_ERROR_EAFNOSUPPORT
Definition: net.h:65
@ SCE_NET_ERROR_EDOM
Definition: net.h:50
@ SCE_NET_ERROR_ETXTBSY
Definition: net.h:43
@ SCE_NET_ERROR_ENEEDAUTH
Definition: net.h:99
@ SCE_NET_ERROR_ENOMEM
Definition: net.h:29
@ SCE_NET_ERROR_EADDRNOTAVAIL
Definition: net.h:67
@ SCE_NET_ERROR_RESOLVER_ENORECORD
Definition: net.h:133
@ SCE_NET_ERROR_EPROGUNAVAIL
Definition: net.h:92
@ SCE_NET_ERROR_RESOLVER_EFORMAT
Definition: net.h:128
@ SCE_NET_ERROR_EAGAIN
Definition: net.h:52
@ SCE_NET_ERROR_ENETDOWN
Definition: net.h:68
@ SCE_NET_ERROR_ENODEV
Definition: net.h:36
@ SCE_NET_ERROR_EHOSTUNREACH
Definition: net.h:83
@ SCE_NET_ERROR_ENFILE
Definition: net.h:40
@ SCE_NET_ERROR_EUSERS
Definition: net.h:86
@ SCE_NET_ERROR_ECHILD
Definition: net.h:27
@ SCE_NET_ERROR_RESOLVER_ERESERVED22
Definition: net.h:124
@ SCE_NET_ERROR_RESOLVER_ENOSPACE
Definition: net.h:122
@ SCE_NET_ERROR_ENOSTR
Definition: net.h:109
@ SCE_NET_ERROR_EINVAL
Definition: net.h:39
@ SCE_NET_IP_MAXTTL
Definition: net.h:299
@ SCE_NET_SO_REUSEPORT
Definition: net.h:310
@ SCE_NET_SO_REUSEADDR
Definition: net.h:305
@ SCE_NET_IP_MULTICAST_LOOP
Definition: net.h:295
@ SCE_NET_SO_RCVBUF
Definition: net.h:315
@ SCE_NET_SO_SNDLOWAT
Definition: net.h:316
@ SCE_NET_SO_NBIO
Definition: net.h:322
@ SCE_NET_IP_TTL
Definition: net.h:292
@ SCE_NET_IP_MULTICAST_TTL
Definition: net.h:294
@ SCE_NET_SO_RCVTIMEO
Definition: net.h:319
@ SCE_NET_IP_MULTICAST_IF
Definition: net.h:293
@ SCE_NET_IP_HDRINCL
Definition: net.h:290
@ SCE_NET_SO_NAME
Definition: net.h:324
@ SCE_NET_SO_SNDTIMEO
Definition: net.h:318
@ SCE_NET_SO_ONESBCAST
Definition: net.h:311
@ SCE_NET_SO_SNDBUF
Definition: net.h:314
@ SCE_NET_TCP_NODELAY
Definition: net.h:301
@ SCE_NET_SO_TPPOLICY
Definition: net.h:323
@ SCE_NET_SO_OOBINLINE
Definition: net.h:309
@ SCE_NET_TCP_MAXSEG
Definition: net.h:302
@ SCE_NET_SO_BROADCAST
Definition: net.h:307
@ SCE_NET_IP_TOS
Definition: net.h:291
@ SCE_NET_IP_DROP_MEMBERSHIP
Definition: net.h:297
@ SCE_NET_IP_TTLCHK
Definition: net.h:298
@ SCE_NET_SO_KEEPALIVE
Definition: net.h:306
@ SCE_NET_IP_ADD_MEMBERSHIP
Definition: net.h:296
@ SCE_NET_SO_TYPE
Definition: net.h:321
@ SCE_NET_SO_USECRYPTO
Definition: net.h:312
@ SCE_NET_SO_LINGER
Definition: net.h:308
@ SCE_NET_SO_ERROR
Definition: net.h:320
@ SCE_NET_TCP_MSS_TO_ADVERTISE
Definition: net.h:303
@ SCE_NET_SO_USESIGNATURE
Definition: net.h:313
@ SCE_NET_SO_RCVLOWAT
Definition: net.h:317
Definition: net.h:440
Definition: net.h:435
Definition: net.h:409
Definition: net.h:552
Definition: net.h:533
Definition: net.h:539
Definition: net.h:414
Definition: net.h:458
Definition: net.h:519
Definition: net.h:507
Definition: net.h:429
Definition: net.h:445
Definition: net.h:464
Definition: net.h:475
Definition: net.h:451
Definition: net.h:419
Definition: net.h:496
Definition: net.h:545
Definition: net.h:513