PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ps2smb.h File Reference
#include <tamtypes.h>
+ Include dependency graph for ps2smb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  smbGetPasswordHashes_in_t
 
struct  smbGetPasswordHashes_out_t
 
struct  smbLogOn_in_t
 
struct  smbGetShareList_in_t
 
struct  smbOpenShare_in_t
 
struct  smbEcho_in_t
 
struct  smbQueryDiskInfo_out_t
 
struct  ShareEntry_t
 

Macros

#define NO_PASSWORD   -1
 
#define PLAINTEXT_PASSWORD   0
 
#define HASHED_PASSWORD   1
 
#define SMB_DEVCTL_GETPASSWORDHASHES   0xC0DE0001
 
#define SMB_DEVCTL_LOGON   0xC0DE0002
 
#define SMB_DEVCTL_LOGOFF   0xC0DE0003
 
#define SMB_DEVCTL_GETSHARELIST   0xC0DE0004
 
#define SMB_DEVCTL_OPENSHARE   0xC0DE0005
 
#define SMB_DEVCTL_CLOSESHARE   0xC0DE0006
 
#define SMB_DEVCTL_ECHO   0xC0DE0007
 
#define SMB_DEVCTL_QUERYDISKINFO   0xC0DE0008
 
#define SMB_DEVCTL_LOGON_ERR_CONN   0x1001
 
#define SMB_DEVCTL_LOGON_ERR_PROT   0x1002
 
#define SMB_DEVCTL_LOGON_ERR_LOGON   0x1003
 

Detailed Description

PS2SMB definitions.

Definition in file ps2smb.h.


Data Structure Documentation

◆ smbGetPasswordHashes_in_t

struct smbGetPasswordHashes_in_t

Definition at line 32 of file ps2smb.h.

Data Fields
char password[256]

◆ smbGetPasswordHashes_out_t

struct smbGetPasswordHashes_out_t

Definition at line 37 of file ps2smb.h.

Data Fields
u8 LMhash[16]
u8 NTLMhash[16]

◆ smbLogOn_in_t

struct smbLogOn_in_t

Definition at line 43 of file ps2smb.h.

Data Fields
char serverIP[16]
int serverPort
char User[256]
char Password[256]
int PasswordType

◆ smbGetShareList_in_t

struct smbGetShareList_in_t

Definition at line 52 of file ps2smb.h.

Data Fields
void * EE_addr
int maxent

◆ smbOpenShare_in_t

struct smbOpenShare_in_t

Definition at line 58 of file ps2smb.h.

Data Fields
char ShareName[256]
char Password[256]
int PasswordType

◆ smbEcho_in_t

struct smbEcho_in_t

Definition at line 65 of file ps2smb.h.

Data Fields
char echo[256]
int len

◆ smbQueryDiskInfo_out_t

struct smbQueryDiskInfo_out_t

Definition at line 71 of file ps2smb.h.

Data Fields
int TotalUnits
int BlocksPerUnit
int BlockSize
int FreeUnits

◆ ShareEntry_t

struct ShareEntry_t

Definition at line 79 of file ps2smb.h.

Data Fields
char ShareName[256]
char ShareComment[256]

Macro Definition Documentation

◆ NO_PASSWORD

#define NO_PASSWORD   -1

Definition at line 16 of file ps2smb.h.

◆ PLAINTEXT_PASSWORD

#define PLAINTEXT_PASSWORD   0

Definition at line 17 of file ps2smb.h.

◆ HASHED_PASSWORD

#define HASHED_PASSWORD   1

Definition at line 18 of file ps2smb.h.

◆ SMB_DEVCTL_GETPASSWORDHASHES

#define SMB_DEVCTL_GETPASSWORDHASHES   0xC0DE0001

Definition at line 21 of file ps2smb.h.

◆ SMB_DEVCTL_LOGON

#define SMB_DEVCTL_LOGON   0xC0DE0002

Definition at line 22 of file ps2smb.h.

◆ SMB_DEVCTL_LOGOFF

#define SMB_DEVCTL_LOGOFF   0xC0DE0003

Definition at line 23 of file ps2smb.h.

◆ SMB_DEVCTL_GETSHARELIST

#define SMB_DEVCTL_GETSHARELIST   0xC0DE0004

Definition at line 24 of file ps2smb.h.

◆ SMB_DEVCTL_OPENSHARE

#define SMB_DEVCTL_OPENSHARE   0xC0DE0005

Definition at line 25 of file ps2smb.h.

◆ SMB_DEVCTL_CLOSESHARE

#define SMB_DEVCTL_CLOSESHARE   0xC0DE0006

Definition at line 26 of file ps2smb.h.

◆ SMB_DEVCTL_ECHO

#define SMB_DEVCTL_ECHO   0xC0DE0007

Definition at line 27 of file ps2smb.h.

◆ SMB_DEVCTL_QUERYDISKINFO

#define SMB_DEVCTL_QUERYDISKINFO   0xC0DE0008

Definition at line 28 of file ps2smb.h.

◆ SMB_DEVCTL_LOGON_ERR_CONN

#define SMB_DEVCTL_LOGON_ERR_CONN   0x1001

Definition at line 86 of file ps2smb.h.

◆ SMB_DEVCTL_LOGON_ERR_PROT

#define SMB_DEVCTL_LOGON_ERR_PROT   0x1002

Definition at line 87 of file ps2smb.h.

◆ SMB_DEVCTL_LOGON_ERR_LOGON

#define SMB_DEVCTL_LOGON_ERR_LOGON   0x1003

Definition at line 88 of file ps2smb.h.