PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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
 
union  select_pkt.__unnamed43__
 
union  ioctl_pkt.__unnamed45__
 

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.


Data Structure Documentation

◆ socket_pkt

struct socket_pkt

Definition at line 49 of file ps2ip_rpc.h.

Data Fields
s32 domain
s32 type
s32 protocol

◆ rests_pkt

struct rests_pkt

Used for buffer alignment correction when reading data.

Definition at line 69 of file fileXio.h.

Data Fields
int ssize
int esize
void * sbuf
void * ebuf
u8 sbuffer[64]
u8 ebuffer[64]
s32 ssize
s32 esize
u8 * sbuf
u8 * ebuf

◆ send_pkt

struct send_pkt

Definition at line 66 of file ps2ip_rpc.h.

+ Collaboration diagram for send_pkt:
Data Fields
s32 socket
s32 length
s32 flags
void * ee_addr
struct sockaddr sockaddr
s32 malign
u8 malign_buff[64]

buffer for sending misaligned portion

◆ s_recv_pkt

struct s_recv_pkt

Definition at line 78 of file ps2ip_rpc.h.

Data Fields
s32 socket
s32 length
s32 flags
void * ee_addr
void * intr_data

◆ r_recv_pkt

struct r_recv_pkt

Definition at line 87 of file ps2ip_rpc.h.

+ Collaboration diagram for r_recv_pkt:
Data Fields
s32 ret
struct sockaddr sockaddr

◆ cmd_pkt

struct cmd_pkt

Definition at line 93 of file ps2ip_rpc.h.

+ Collaboration diagram for cmd_pkt:
Data Fields
s32 socket
struct sockaddr sockaddr
s32 len

◆ ret_pkt

struct ret_pkt

Definition at line 100 of file ps2ip_rpc.h.

+ Collaboration diagram for ret_pkt:
Data Fields
s32 retval
struct sockaddr sockaddr

◆ listen_pkt

struct listen_pkt

Definition at line 106 of file ps2ip_rpc.h.

Data Fields
s32 s
s32 backlog

◆ getsockopt_pkt

struct getsockopt_pkt

Definition at line 112 of file ps2ip_rpc.h.

Data Fields
s32 s
s32 level
s32 optname

◆ getsockopt_res_pkt

struct getsockopt_res_pkt

Definition at line 119 of file ps2ip_rpc.h.

Data Fields
s32 result
s32 optlen
u8 buffer[128]

◆ setsockopt_pkt

struct setsockopt_pkt

Definition at line 126 of file ps2ip_rpc.h.

Data Fields
s32 s
s32 level
s32 optname
s32 optlen
u8 buffer[128]

◆ select_pkt

struct select_pkt

Definition at line 135 of file ps2ip_rpc.h.

+ Collaboration diagram for select_pkt:
Data Fields
union select_pkt.__unnamed43__ __unnamed__
struct timeval * timeout_p
struct timeval timeout
struct fd_set * readset_p
struct fd_set * writeset_p
struct fd_set * exceptset_p
struct fd_set readset
struct fd_set writeset
struct fd_set exceptset

◆ ioctl_pkt

struct ioctl_pkt

Definition at line 152 of file ps2ip_rpc.h.

Data Fields
union ioctl_pkt.__unnamed45__ __unnamed__
u32 cmd
void * argp
u32 value

◆ select_pkt.__unnamed43__

union select_pkt.__unnamed43__

Definition at line 137 of file ps2ip_rpc.h.

Data Fields
s32 maxfdp1
s32 result

◆ ioctl_pkt.__unnamed45__

union ioctl_pkt.__unnamed45__

Definition at line 154 of file ps2ip_rpc.h.

Data Fields
s32 s
s32 result

Macro Definition Documentation

◆ PS2IP_IRX

#define PS2IP_IRX   0xB0125F2

Definition at line 14 of file ps2ip_rpc.h.

Enumeration Type Documentation

◆ PS2IPS_RPC_ID

enum PS2IPS_RPC_ID

Definition at line 16 of file ps2ip_rpc.h.