ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
ps2ip_rpc.h File Reference
#include <tamtypes.h>
#include <tcpip.h>
#include <sys/time.h>
+ Include dependency graph for ps2ip_rpc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  socket_pkt
 
struct  rests_pkt
 
struct  send_pkt
 
struct  s_recv_pkt
 
struct  r_recv_pkt
 
struct  cmd_pkt
 
struct  ret_pkt
 
struct  listen_pkt
 
struct  getsockopt_pkt
 
struct  getsockopt_res_pkt
 
struct  setsockopt_pkt
 
struct  select_pkt
 
struct  ioctl_pkt
 

Macros

#define PS2IP_IRX   0xB0125F2
 

Enumerations

enum  PS2IPS_RPC_ID {
  PS2IPS_ID_ACCEPT = 1 ,
  PS2IPS_ID_BIND ,
  PS2IPS_ID_DISCONNECT ,
  PS2IPS_ID_CONNECT ,
  PS2IPS_ID_LISTEN ,
  PS2IPS_ID_RECV ,
  PS2IPS_ID_RECVFROM ,
  PS2IPS_ID_SEND ,
  PS2IPS_ID_SENDTO ,
  PS2IPS_ID_SOCKET ,
  PS2IPS_ID_SETCONFIG ,
  PS2IPS_ID_GETCONFIG ,
  PS2IPS_ID_SELECT ,
  PS2IPS_ID_IOCTL ,
  PS2IPS_ID_GETSOCKNAME ,
  PS2IPS_ID_GETPEERNAME ,
  PS2IPS_ID_GETSOCKOPT ,
  PS2IPS_ID_SETSOCKOPT ,
  PS2IPS_ID_GETHOSTBYNAME ,
  PS2IPS_ID_COUNT
}
 

Detailed Description

PS2IP RPC definitions This header conflicts with fileXio.h

Definition in file ps2ip_rpc.h.

Macro Definition Documentation

◆ PS2IP_IRX

#define PS2IP_IRX   0xB0125F2

Definition at line 14 of file ps2ip_rpc.h.

Enumeration Type Documentation

◆ PS2IPS_RPC_ID

Enumerator
PS2IPS_ID_ACCEPT 
PS2IPS_ID_BIND 
PS2IPS_ID_DISCONNECT 
PS2IPS_ID_CONNECT 
PS2IPS_ID_LISTEN 
PS2IPS_ID_RECV 
PS2IPS_ID_RECVFROM 
PS2IPS_ID_SEND 
PS2IPS_ID_SENDTO 
PS2IPS_ID_SOCKET 
PS2IPS_ID_SETCONFIG 
PS2IPS_ID_GETCONFIG 
PS2IPS_ID_SELECT 
PS2IPS_ID_IOCTL 
PS2IPS_ID_GETSOCKNAME 
PS2IPS_ID_GETPEERNAME 
PS2IPS_ID_GETSOCKOPT 
PS2IPS_ID_SETSOCKOPT 
PS2IPS_ID_GETHOSTBYNAME 
PS2IPS_ID_COUNT 

Definition at line 16 of file ps2ip_rpc.h.

16  {
17  PS2IPS_ID_ACCEPT = 1,
36 #ifdef PS2IP_DNS
37  /* Not implemented:
38  gethostbyname_r -> Redudant because it gets called over the RPC.
39  freeaddrinfo -> too complicated and probably nobody uses it?
40  getaddrinfo -> too complicated and probably nobody uses it? */
41 
42  PS2IPS_ID_DNS_SETSERVER,
43  PS2IPS_ID_DNS_GETSERVER,
44 #endif
45 
47 };
@ PS2IPS_ID_IOCTL
Definition: ps2ip_rpc.h:30
@ PS2IPS_ID_SEND
Definition: ps2ip_rpc.h:24
@ PS2IPS_ID_ACCEPT
Definition: ps2ip_rpc.h:17
@ PS2IPS_ID_SETCONFIG
Definition: ps2ip_rpc.h:27
@ PS2IPS_ID_GETHOSTBYNAME
Definition: ps2ip_rpc.h:35
@ PS2IPS_ID_GETCONFIG
Definition: ps2ip_rpc.h:28
@ PS2IPS_ID_CONNECT
Definition: ps2ip_rpc.h:20
@ PS2IPS_ID_RECV
Definition: ps2ip_rpc.h:22
@ PS2IPS_ID_LISTEN
Definition: ps2ip_rpc.h:21
@ PS2IPS_ID_GETPEERNAME
Definition: ps2ip_rpc.h:32
@ PS2IPS_ID_SENDTO
Definition: ps2ip_rpc.h:25
@ PS2IPS_ID_RECVFROM
Definition: ps2ip_rpc.h:23
@ PS2IPS_ID_SETSOCKOPT
Definition: ps2ip_rpc.h:34
@ PS2IPS_ID_SELECT
Definition: ps2ip_rpc.h:29
@ PS2IPS_ID_DISCONNECT
Definition: ps2ip_rpc.h:19
@ PS2IPS_ID_BIND
Definition: ps2ip_rpc.h:18
@ PS2IPS_ID_GETSOCKOPT
Definition: ps2ip_rpc.h:33
@ PS2IPS_ID_GETSOCKNAME
Definition: ps2ip_rpc.h:31
@ PS2IPS_ID_SOCKET
Definition: ps2ip_rpc.h:26
@ PS2IPS_ID_COUNT
Definition: ps2ip_rpc.h:46