20int ps2ipc_accept(
int s,
struct sockaddr *addr,
int *addrlen);
21int ps2ipc_bind(
int s,
const struct sockaddr *name,
int namelen);
22int ps2ipc_disconnect(
int s);
23int ps2ipc_connect(
int s,
const struct sockaddr *name,
int namelen);
24int ps2ipc_listen(
int s,
int backlog);
25int ps2ipc_recv(
int s,
void *mem,
int len,
unsigned int flags);
26int ps2ipc_recvfrom(
int s,
void *mem,
int len,
unsigned int flags,
struct sockaddr *from,
int *fromlen);
27int ps2ipc_send(
int s,
const void *dataptr,
int size,
unsigned int flags);
28int ps2ipc_sendto(
int s,
const void *dataptr,
int size,
unsigned int flags,
const struct sockaddr *to,
int tolen);
29int ps2ipc_socket(
int domain,
int type,
int protocol);
30int ps2ipc_ps2ip_setconfig(
const t_ip_info *ip_info);
31int ps2ipc_ps2ip_getconfig(
char *netif_name,
t_ip_info *ip_info);
32int ps2ipc_select(
int maxfdp1,
struct fd_set *readset,
struct fd_set *writeset,
struct fd_set *exceptset,
struct timeval *timeout);
33int ps2ipc_ioctl(
int s,
long cmd,
void *argp);
34int ps2ipc_getsockname(
int s,
struct sockaddr* name,
int* namelen);
35int ps2ipc_getpeername(
int s,
struct sockaddr *name,
int *namelen);
36int ps2ipc_getsockopt(
int s,
int level,
int optname,
void* optval, socklen_t* optlen);
37int ps2ipc_setsockopt(
int s,
int level,
int optname,
const void *optval, socklen_t optlen);
38struct hostent *ps2ipc_gethostbyname(
const char *name);
39void ps2ipc_dns_setserver(u8 numdns,
const ip_addr_t *dnsserver);
40const ip_addr_t *ps2ipc_dns_getserver(u8 numdns);