PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Data Structures | |
struct | sceModemOps |
Macros | |
#define | modem_IMPORTS_start DECLARE_IMPORT_TABLE(modem, 1, 1) |
#define | modem_IMPORTS_end END_IMPORT_TABLE |
#define | I_sceModemRegisterDevice DECLARE_IMPORT(4, sceModemRegisterDevice) |
#define | I_sceModemUnregisterDevice DECLARE_IMPORT(5, sceModemUnregisterDevice) |
Typedefs | |
typedef struct sceModemOps | sceModemOps_t |
Functions | |
int | sceModemRegisterDevice (sceModemOps_t *ops) |
int | sceModemUnregisterDevice (sceModemOps_t *ops) |
Modem interface. Intended for network stacks (PPP) to implement.
Definition in file modem.h.
struct sceModemOps |
Data Fields | ||
---|---|---|
struct sceModemOps * | forw | |
struct sceModemOps * | back | |
char * | module_name | |
char * | vendor_name | |
char * | device_name | |
u8 | bus_type | |
u8 | bus_loc[31] | |
u16 | prot_ver | |
u16 | impl_ver | |
void * | priv | |
int | evfid | |
int | rcv_len | |
int | snd_len | |
int(*)(void *priv, int flags) | start | |
int(*)(void *priv, int flags) | stop | |
int(*)(void *priv, void *ptr, int len) | recv | |
int(*)(void *priv, void *ptr, int len) | send | |
int(*)(void *priv, int code, void *ptr, int len) | control | |
void * | reserved[4] |
#define modem_IMPORTS_start DECLARE_IMPORT_TABLE(modem, 1, 1) |
#define I_sceModemRegisterDevice DECLARE_IMPORT(4, sceModemRegisterDevice) |