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
14extern "C" {
15#endif
16
17typedef struct SceNetSyscallParameter SceNetSyscallParameter; // missing struct
18
19int sceNetSyscallAccept(int s, void *addr, void *addrlen);
20int sceNetSyscallBind(int s, const void *addr, int addrlen);
22int sceNetSyscallConnect(int s, const void *name, int namelen);
23int sceNetSyscallControl(int if_index, int code, void *ptr, int len);
25int sceNetSyscallDescriptorCreate(const char *name, int flags);
26int sceNetSyscallDescriptorCtl(int id, int op, int s, void *info);
29int sceNetSyscallDumpCreate(const char *name, int len, int flags);
30int sceNetSyscallDumpRead(int id, void *buf, int len, void *pflags);
33int sceNetSyscallEpollCreate(const char *name, int flags);
34int sceNetSyscallEpollCtl(int eid, int op, int id, void *event);
36
45int sceNetSyscallGetIfList(void *list, int n);
46
47int sceNetSyscallGetSockinfo(int s, void *ptr, int n, int flags);
48int sceNetSyscallGetpeername(int s, void *name, void *namelen);
49int sceNetSyscallGetsockname(int s, void *name, void *namelen);
52int sceNetSyscallIoctl(int s, unsigned int com, void *data);
53int sceNetSyscallListen(int s, int backlog);
55int sceNetSyscallRecvmsg(int s, void *msg, int flags);
56int sceNetSyscallSendmsg(int s, const void *msg, int flags);
59int sceNetSyscallShutdown(int s, int how);
60int 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)