sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
ps2ip_rpc.h File Reference
#include <tamtypes.h>
#include <sys/socket.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

struct  ip4_addr
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  ps2ip_rpc_fd_set
struct  select_pkt
struct  ioctl_pkt

Macros

#define MEMP_NUM_UDP_PCB   4
#define MEMP_NUM_TCP_PCB   5
#define MEMP_NUM_NETCONN   (MEMP_NUM_TCP_PCB + MEMP_NUM_UDP_PCB)
#define PS2IP_IRX   0xB0125F2

Typedefs

typedef struct ip4_addr ip4_addr_t
typedef struct ip4_addr ip_addr_t

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

◆ MEMP_NUM_NETCONN

#define MEMP_NUM_NETCONN   (MEMP_NUM_TCP_PCB + MEMP_NUM_UDP_PCB)

Definition at line 59 of file ps2ip_rpc.h.

◆ MEMP_NUM_TCP_PCB

#define MEMP_NUM_TCP_PCB   5

Definition at line 56 of file ps2ip_rpc.h.

◆ MEMP_NUM_UDP_PCB

#define MEMP_NUM_UDP_PCB   4

Definition at line 53 of file ps2ip_rpc.h.

◆ PS2IP_IRX

#define PS2IP_IRX   0xB0125F2

Definition at line 62 of file ps2ip_rpc.h.

Typedef Documentation

◆ ip4_addr_t

typedef struct ip4_addr ip4_addr_t

ip4_addr_t uses a struct for convenience only, so that the same defines can operate both on ip4_addr_t as well as on ip4_addr_p_t.

Definition at line 41 of file ps2ip_rpc.h.

◆ ip_addr_t

typedef struct ip4_addr ip_addr_t

Definition at line 42 of file ps2ip_rpc.h.

Enumeration Type Documentation

◆ PS2IPS_RPC_ID

enum PS2IPS_RPC_ID

Definition at line 64 of file ps2ip_rpc.h.