vitasdk
Documentation of the vitasdk
net_syscalls.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_NET_NET_SYSCALLS_H_
8 #define _PSP2_NET_NET_SYSCALLS_H_
9 
10 #include <psp2/net/net.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 typedef struct SceNetSyscallParameter SceNetSyscallParameter; // missing struct
18 
19 int sceNetSyscallAccept(int s, void *addr, void *addrlen);
20 int sceNetSyscallBind(int s, const void *addr, int addrlen);
21 int sceNetSyscallClose(int s);
22 int sceNetSyscallConnect(int s, const void *name, int namelen);
23 int sceNetSyscallControl(int if_index, int code, void *ptr, int len);
25 int sceNetSyscallDescriptorCreate(const char *name, int flags);
26 int sceNetSyscallDescriptorCtl(int id, int op, int s, void *info);
27 int sceNetSyscallDumpAbort(int id, int flags);
29 int sceNetSyscallDumpCreate(const char *name, int len, int flags);
30 int sceNetSyscallDumpRead(int id, void *buf, int len, void *pflags);
31 int sceNetSyscallEpollAbort(int eid, int flags);
33 int sceNetSyscallEpollCreate(const char *name, int flags);
34 int sceNetSyscallEpollCtl(int eid, int op, int id, void *event);
36 
45 int sceNetSyscallGetIfList(void *list, int n);
46 
47 int sceNetSyscallGetSockinfo(int s, void *ptr, int n, int flags);
48 int sceNetSyscallGetpeername(int s, void *name, void *namelen);
49 int sceNetSyscallGetsockname(int s, void *name, void *namelen);
52 int sceNetSyscallIoctl(int s, unsigned int com, void *data);
53 int sceNetSyscallListen(int s, int backlog);
55 int sceNetSyscallRecvmsg(int s, void *msg, int flags);
56 int sceNetSyscallSendmsg(int s, const void *msg, int flags);
59 int sceNetSyscallShutdown(int s, int how);
60 int sceNetSyscallSocket(const char *name, int domain, int type, int protocol);
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif /* _PSP2_NET_NET_SYSCALLS_H_ */
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition: bt.h:2
int flags
Event flags.
Definition: debug.h:3
int sceNetSyscallSendto(SceNetSyscallParameter *param)
int sceNetSyscallGetIfList(void *list, int n)
Get net if list.
int sceNetSyscallListen(int s, int backlog)
int sceNetSyscallSysctl(SceNetSyscallParameter *param)
int sceNetSyscallSocket(const char *name, int domain, int type, int protocol)
struct SceNetSyscallParameter SceNetSyscallParameter
Definition: net_syscalls.h:17
int sceNetSyscallDumpCreate(const char *name, int len, int flags)
int sceNetSyscallSetsockopt(SceNetSyscallParameter *param)
int sceNetSyscallAccept(int s, void *addr, void *addrlen)
int sceNetSyscallGetpeername(int s, void *name, void *namelen)
int sceNetSyscallGetsockopt(SceNetSyscallParameter *param)
int sceNetSyscallClose(int s)
int sceNetSyscallRecvfrom(SceNetSyscallParameter *param)
int sceNetSyscallIcmConnect(int s, int flags)
int sceNetSyscallShutdown(int s, int how)
int sceNetSyscallEpollAbort(int eid, int flags)
int sceNetSyscallDumpRead(int id, void *buf, int len, void *pflags)
int sceNetSyscallEpollCreate(const char *name, int flags)
int sceNetSyscallDescriptorCtl(int id, int op, int s, void *info)
int sceNetSyscallEpollWait(SceNetSyscallParameter *param)
int sceNetSyscallBind(int s, const void *addr, int addrlen)
int sceNetSyscallEpollCtl(int eid, int op, int id, void *event)
int sceNetSyscallGetsockname(int s, void *name, void *namelen)
int sceNetSyscallDumpClose(int id)
int sceNetSyscallIoctl(int s, unsigned int com, void *data)
int sceNetSyscallSendmsg(int s, const void *msg, int flags)
int sceNetSyscallGetSockinfo(int s, void *ptr, int n, int flags)
int sceNetSyscallConnect(int s, const void *name, int namelen)
int sceNetSyscallDumpAbort(int id, int flags)
int sceNetSyscallDescriptorCreate(const char *name, int flags)
int sceNetSyscallControl(int if_index, int code, void *ptr, int len)
int sceNetSyscallRecvmsg(int s, void *msg, int flags)
int sceNetSyscallSocketAbort(int s, int flags)
int sceNetSyscallEpollClose(int eid)
int sceNetSyscallDescriptorClose(int id)