![]() |
vitasdk
Documentation of the vitasdk
|
Exports for Kernel. More...
Macros | |
| #define | ksceNetRecv(s, buf, len, flags) ksceNetRecvfrom(s, buf, len, flags, NULL, 0) |
| #define | ksceNetSend(s, msg, len, flags) ksceNetSendto(s, msg, len, flags, NULL, 0) |
| #define | ksceNetSocketClose ksceNetClose |
| #define | ksceNetHtons __builtin_bswap16 |
| #define | ksceNetHtonl __builtin_bswap32 |
Typedefs | |
| typedef struct SceNetSyscallParameter | SceNetSyscallParameter |
Functions | |
| int | sceNetSyscallAccept (int s, void *addr, void *addrlen) |
| int | sceNetSyscallBind (int s, const void *addr, int addrlen) |
| int | sceNetSyscallClose (int s) |
| int | sceNetSyscallConnect (int s, const void *name, int namelen) |
| int | sceNetSyscallControl (int if_index, int code, void *ptr, int len) |
| int | sceNetSyscallDescriptorClose (int id) |
| int | sceNetSyscallDescriptorCreate (const char *name, int flags) |
| int | sceNetSyscallDescriptorCtl (int id, int op, int s, void *info) |
| int | sceNetSyscallDumpAbort (int id, int flags) |
| int | sceNetSyscallDumpClose (int id) |
| int | sceNetSyscallDumpCreate (const char *name, int len, int flags) |
| int | sceNetSyscallDumpRead (int id, void *buf, int len, void *pflags) |
| int | sceNetSyscallEpollAbort (int eid, int flags) |
| int | sceNetSyscallEpollClose (int eid) |
| int | sceNetSyscallEpollCreate (const char *name, int flags) |
| int | sceNetSyscallEpollCtl (int eid, int op, int id, void *event) |
| int | sceNetSyscallEpollWait (SceNetSyscallParameter *param) |
| int | sceNetSyscallGetIfList (void *list, int n) |
| Get net if list. | |
| int | sceNetSyscallGetSockinfo (int s, void *ptr, int n, int flags) |
| int | sceNetSyscallGetpeername (int s, void *name, void *namelen) |
| int | sceNetSyscallGetsockname (int s, void *name, void *namelen) |
| int | sceNetSyscallGetsockopt (SceNetSyscallParameter *param) |
| int | sceNetSyscallIcmConnect (int s, int flags) |
| int | sceNetSyscallIoctl (int s, unsigned int com, void *data) |
| int | sceNetSyscallListen (int s, int backlog) |
| int | sceNetSyscallRecvfrom (SceNetSyscallParameter *param) |
| int | sceNetSyscallRecvmsg (int s, void *msg, int flags) |
| int | sceNetSyscallSendmsg (int s, const void *msg, int flags) |
| int | sceNetSyscallSendto (SceNetSyscallParameter *param) |
| int | sceNetSyscallSetsockopt (SceNetSyscallParameter *param) |
| int | sceNetSyscallShutdown (int s, int how) |
| int | sceNetSyscallSocket (const char *name, int domain, int type, int protocol) |
| int | sceNetSyscallSocketAbort (int s, int flags) |
| int | sceNetSyscallSysctl (SceNetSyscallParameter *param) |
| int | ksceNetSocket (const char *name, int domain, int type, int protocol) |
| int | ksceNetAccept (int s, SceNetSockaddr *addr, unsigned int *addrlen) |
| int | ksceNetBind (int s, const SceNetSockaddr *addr, unsigned int addrlen) |
| int | ksceNetConnect (int s, const SceNetSockaddr *name, unsigned int namelen) |
| int | ksceNetListen (int s, int backlog) |
| int | ksceNetRecvfrom (int s, void *buf, unsigned int len, int flags, SceNetSockaddr *from, unsigned int *fromlen) |
| int | ksceNetSendto (int s, const void *msg, unsigned int len, int flags, const SceNetSockaddr *to, unsigned int tolen) |
| int | ksceNetSetsockopt (int s, int level, int optname, const void *optval, unsigned int optlen) |
| int | ksceNetClose (int s) |
Exports for Kernel.
Include the header file in your project:
Link the library to the executable:
Include the header file in your project:
Link the library to the executable:
| #define ksceNetRecv | ( | s, | |
| buf, | |||
| len, | |||
| flags | |||
| ) | ksceNetRecvfrom(s, buf, len, flags, NULL, 0) |
| #define ksceNetSend | ( | s, | |
| msg, | |||
| len, | |||
| flags | |||
| ) | ksceNetSendto(s, msg, len, flags, NULL, 0) |
| #define ksceNetSocketClose ksceNetClose |
| #define ksceNetHtons __builtin_bswap16 |
| #define ksceNetHtonl __builtin_bswap32 |
| typedef struct SceNetSyscallParameter SceNetSyscallParameter |
| int sceNetSyscallAccept | ( | int | s, |
| void * | addr, | ||
| void * | addrlen | ||
| ) |
| int sceNetSyscallBind | ( | int | s, |
| const void * | addr, | ||
| int | addrlen | ||
| ) |
| int sceNetSyscallClose | ( | int | s | ) |
| int sceNetSyscallConnect | ( | int | s, |
| const void * | name, | ||
| int | namelen | ||
| ) |
| int sceNetSyscallControl | ( | int | if_index, |
| int | code, | ||
| void * | ptr, | ||
| int | len | ||
| ) |
| int sceNetSyscallDescriptorClose | ( | int | id | ) |
| int sceNetSyscallDescriptorCreate | ( | const char * | name, |
| int | flags | ||
| ) |
| int sceNetSyscallDescriptorCtl | ( | int | id, |
| int | op, | ||
| int | s, | ||
| void * | info | ||
| ) |
| int sceNetSyscallDumpAbort | ( | int | id, |
| int | flags | ||
| ) |
| int sceNetSyscallDumpClose | ( | int | id | ) |
| int sceNetSyscallDumpCreate | ( | const char * | name, |
| int | len, | ||
| int | flags | ||
| ) |
| int sceNetSyscallDumpRead | ( | int | id, |
| void * | buf, | ||
| int | len, | ||
| void * | pflags | ||
| ) |
| int sceNetSyscallEpollAbort | ( | int | eid, |
| int | flags | ||
| ) |
| int sceNetSyscallEpollClose | ( | int | eid | ) |
| int sceNetSyscallEpollCreate | ( | const char * | name, |
| int | flags | ||
| ) |
| int sceNetSyscallEpollCtl | ( | int | eid, |
| int | op, | ||
| int | id, | ||
| void * | event | ||
| ) |
| int sceNetSyscallEpollWait | ( | SceNetSyscallParameter * | param | ) |
| int sceNetSyscallGetIfList | ( | void * | list, |
| int | n | ||
| ) |
Get net if list.
| [out] | list | - The output buffer list. size is (0x140 * n) |
| [in] | n | - The output size number. |
| int sceNetSyscallGetSockinfo | ( | int | s, |
| void * | ptr, | ||
| int | n, | ||
| int | flags | ||
| ) |
| int sceNetSyscallGetpeername | ( | int | s, |
| void * | name, | ||
| void * | namelen | ||
| ) |
| int sceNetSyscallGetsockname | ( | int | s, |
| void * | name, | ||
| void * | namelen | ||
| ) |
| int sceNetSyscallGetsockopt | ( | SceNetSyscallParameter * | param | ) |
| int sceNetSyscallIcmConnect | ( | int | s, |
| int | flags | ||
| ) |
| int sceNetSyscallIoctl | ( | int | s, |
| unsigned int | com, | ||
| void * | data | ||
| ) |
| int sceNetSyscallListen | ( | int | s, |
| int | backlog | ||
| ) |
| int sceNetSyscallRecvfrom | ( | SceNetSyscallParameter * | param | ) |
| int sceNetSyscallRecvmsg | ( | int | s, |
| void * | msg, | ||
| int | flags | ||
| ) |
| int sceNetSyscallSendmsg | ( | int | s, |
| const void * | msg, | ||
| int | flags | ||
| ) |
| int sceNetSyscallSendto | ( | SceNetSyscallParameter * | param | ) |
| int sceNetSyscallSetsockopt | ( | SceNetSyscallParameter * | param | ) |
| int sceNetSyscallShutdown | ( | int | s, |
| int | how | ||
| ) |
| int sceNetSyscallSocket | ( | const char * | name, |
| int | domain, | ||
| int | type, | ||
| int | protocol | ||
| ) |
| int sceNetSyscallSocketAbort | ( | int | s, |
| int | flags | ||
| ) |
| int sceNetSyscallSysctl | ( | SceNetSyscallParameter * | param | ) |
| int ksceNetSocket | ( | const char * | name, |
| int | domain, | ||
| int | type, | ||
| int | protocol | ||
| ) |
| int ksceNetAccept | ( | int | s, |
| SceNetSockaddr * | addr, | ||
| unsigned int * | addrlen | ||
| ) |
| int ksceNetBind | ( | int | s, |
| const SceNetSockaddr * | addr, | ||
| unsigned int | addrlen | ||
| ) |
| int ksceNetConnect | ( | int | s, |
| const SceNetSockaddr * | name, | ||
| unsigned int | namelen | ||
| ) |
| int ksceNetListen | ( | int | s, |
| int | backlog | ||
| ) |
| int ksceNetRecvfrom | ( | int | s, |
| void * | buf, | ||
| unsigned int | len, | ||
| int | flags, | ||
| SceNetSockaddr * | from, | ||
| unsigned int * | fromlen | ||
| ) |
| int ksceNetSendto | ( | int | s, |
| const void * | msg, | ||
| unsigned int | len, | ||
| int | flags, | ||
| const SceNetSockaddr * | to, | ||
| unsigned int | tolen | ||
| ) |
| int ksceNetSetsockopt | ( | int | s, |
| int | level, | ||
| int | optname, | ||
| const void * | optval, | ||
| unsigned int | optlen | ||
| ) |
| int ksceNetClose | ( | int | s | ) |