21#define PS2NETFS_LISTEN_PORT 0x4713
25#define PS2NETFS_OPEN_CMD 0xbeef8011
26#define PS2NETFS_OPEN_RLY 0xbeef8012
28#define PS2NETFS_CLOSE_CMD 0xbeef8021
29#define PS2NETFS_CLOSE_RLY 0xbeef8022
31#define PS2NETFS_READ_CMD 0xbeef8031
32#define PS2NETFS_READ_RLY 0xbeef8032
34#define PS2NETFS_WRITE_CMD 0xbeef8041
35#define PS2NETFS_WRITE_RLY 0xbeef8042
37#define PS2NETFS_LSEEK_CMD 0xbeef8051
38#define PS2NETFS_LSEEK_RLY 0xbeef8052
40#define PS2NETFS_IOCTL_CMD 0xbeef8061
41#define PS2NETFS_IOCTL_RLY 0xbeef8062
43#define PS2NETFS_REMOVE_CMD 0xbeef8071
44#define PS2NETFS_REMOVE_RLY 0xbeef8072
46#define PS2NETFS_MKDIR_CMD 0xbeef8081
47#define PS2NETFS_MKDIR_RLY 0xbeef8082
49#define PS2NETFS_RMDIR_CMD 0xbeef8091
50#define PS2NETFS_RMDIR_RLY 0xbeef8092
52#define PS2NETFS_DOPEN_CMD 0xbeef80A1
53#define PS2NETFS_DOPEN_RLY 0xbeef80A2
55#define PS2NETFS_DCLOSE_CMD 0xbeef80B1
56#define PS2NETFS_DCLOSE_RLY 0xbeef80B2
58#define PS2NETFS_DREAD_CMD 0xbeef80C1
59#define PS2NETFS_DREAD_RLY 0xbeef80C2
61#define PS2NETFS_GETSTAT_CMD 0xbeef80D1
62#define PS2NETFS_GETSTAT_RLY 0xbeef80D2
64#define PS2NETFS_CHSTAT_CMD 0xbeef80E1
65#define PS2NETFS_CHSTAT_RLY 0xbeef80E2
67#define PS2NETFS_FORMAT_CMD 0xbeef80F1
68#define PS2NETFS_FORMAT_RLY 0xbeef80F2
71#define PS2NETFS_RENAME_CMD 0xbeef8111
72#define PS2NETFS_RENAME_RLY 0xbeef8112
74#define PS2NETFS_CHDIR_CMD 0xbeef8121
75#define PS2NETFS_CHDIR_RLY 0xbeef8122
77#define PS2NETFS_SYNC_CMD 0xbeef8131
78#define PS2NETFS_SYNC_RLY 0xbeef8132
80#define PS2NETFS_MOUNT_CMD 0xbeef8141
81#define PS2NETFS_MOUNT_RLY 0xbeef8142
83#define PS2NETFS_UMOUNT_CMD 0xbeef8151
84#define PS2NETFS_UMOUNT_RLY 0xbeef8152
86#define PS2NETFS_LSEEK64_CMD 0xbeef8161
87#define PS2NETFS_LSEEK64_RLY 0xbeef8162
89#define PS2NETFS_DEVCTL_CMD 0xbeef8171
90#define PS2NETFS_DEVCTL_RLY 0xbeef8172
92#define PS2NETFS_SYMLINK_CMD 0xbeef8181
93#define PS2NETFS_SYMLINK_RLY 0xbeef8182
95#define PS2NETFS_READLINK_CMD 0xbeef8191
96#define PS2NETFS_READLINK_RLY 0xbeef8192
98#define PS2NETFS_IOCTL2_CMD 0xbeef81A1
99#define PS2NETFS_IOCTL2_RLY 0xbeef81A2
102#define PS2NETFS_INFO_CMD 0xbeef8F01
103#define PS2NETFS_INFO_RLY 0xbeef8F02
105#define PS2NETFS_FSTYPE_CMD 0xbeef8F11
106#define PS2NETFS_FSTYPE_RLY 0xbeef8F12
108#define PS2NETFS_DEVLIST_CMD 0xbeef8F21
109#define PS2NETFS_DEVLIST_RLY 0xbeef8F22
111#define PS2NETFS_MAX_PATH 256
131 char path[PS2NETFS_MAX_PATH];
187 char buf[PS2NETFS_MAX_PATH];
205 unsigned char ctime[8];
206 unsigned char atime[8];
207 unsigned char mtime[8];
209 char name[PS2NETFS_MAX_PATH];
218 char list[PS2NETFS_MAX_PATH];
227 char list[PS2NETFS_MAX_PATH];
234 char fsname[PS2NETFS_MAX_PATH];
235 char devname[PS2NETFS_MAX_PATH];
237 char arg[PS2NETFS_MAX_PATH];
246 char dev[PS2NETFS_MAX_PATH];
247 char blockdev[PS2NETFS_MAX_PATH];
248 char arg[PS2NETFS_MAX_PATH];
256 char oldpath[PS2NETFS_MAX_PATH];
257 char newpath[PS2NETFS_MAX_PATH];
265 char path[PS2NETFS_MAX_PATH];
u32 count
start sector of fragmented bd/file