vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
VITASDK_BUILD_ASSERT_EX (SceNetAdhocPollSd, 0xC==sizeof(struct SceNetAdhocPollSd)) | |
VITASDK_BUILD_ASSERT_EX (SceNetAdhocPdpStat, 0x14==sizeof(struct SceNetAdhocPdpStat)) | |
int | sceNetAdhocInit (void) |
int | sceNetAdhocTerm (void) |
int | sceNetAdhocPollSocket (struct SceNetAdhocPollSd *sds, int nsds, unsigned int timeout, int flag) |
int | sceNetAdhocSetSocketAlert (int id, int flag) |
int | sceNetAdhocGetSocketAlert (int id, int *flag) |
int | sceNetAdhocPdpCreate (const struct SceNetEtherAddr *saddr, SceUShort16 sport, unsigned int bufsize, int flag) |
int | sceNetAdhocPdpSend (int id, const struct SceNetEtherAddr *daddr, SceUShort16 dport, const void *data, int len, unsigned int timeout, int flag) |
int | sceNetAdhocPdpRecv (int id, struct SceNetEtherAddr *saddr, SceUShort16 *sport, void *buf, int *len, unsigned int timeout, int flag) |
int | sceNetAdhocPdpDelete (int id, int flag) |
int | sceNetAdhocGetPdpStat (int *buflen, void *buf) |
int | sceNetAdhocPtpOpen (const struct SceNetEtherAddr *saddr, SceUShort16 sport, const struct SceNetEtherAddr *daddr, SceUShort16 dport, unsigned int bufsize, unsigned int rexmt_int, int rexmt_cnt, int flag) |
int | sceNetAdhocPtpConnect (int id, unsigned int timeout, int flag) |
int | sceNetAdhocPtpListen (const struct SceNetEtherAddr *saddr, SceUShort16 sport, unsigned int bufsize, unsigned int rexmt_int, int rexmt_cnt, int backlog, int flag) |
int | sceNetAdhocPtpAccept (int id, struct SceNetEtherAddr *addr, SceUShort16 *port, unsigned int timeout, int flag) |
int | sceNetAdhocPtpSend (int id, const void *data, int *len, unsigned int timeout, int flag) |
int | sceNetAdhocPtpRecv (int id, void *buf, int *len, unsigned int timeout, int flag) |
int | sceNetAdhocPtpFlush (int id, unsigned int timeout, int flag) |
int | sceNetAdhocPtpClose (int id, int flag) |
int | sceNetAdhocGetPtpStat (int *buflen, void *buf) |
Macros | |
#define | SCE_NET_ADHOC_F_ALERTALL |
#define | SCE_NET_ADHOC_PDP_MFS 1444 |
#define | SCE_NET_ADHOC_PDP_MTU 65523 |
#define | SCE_NET_ADHOC_PTP_MSS 1444 |
struct SceNetAdhocPdpStat |
Data Fields | ||
---|---|---|
struct SceNetAdhocPdpStat * | next | |
int | id | |
struct SceNetEtherAddr | laddr | |
SceUShort16 | lport | |
unsigned int | rcv_sb_cc |
struct SceNetAdhocPtpStat |
Data Fields | ||
---|---|---|
struct SceNetAdhocPtpStat * | next | |
int | id | |
struct SceNetEtherAddr | laddr | |
struct SceNetEtherAddr | paddr | |
SceUShort16 | lport | |
SceUShort16 | pport | |
unsigned int | snd_sb_cc | |
unsigned int | rcv_sb_cc | |
int | state |
#define SCE_NET_ADHOC_F_ALERTALL |
#define SCE_NET_ADHOC_PDP_MFS 1444 |
#define SCE_NET_ADHOC_PDP_MTU 65523 |
#define SCE_NET_ADHOC_PTP_MSS 1444 |
enum ScePspnetAdhocEvent |
enum ScePspnetAdhocFlags |
VITASDK_BUILD_ASSERT_EX | ( | SceNetAdhocPollSd | , |
0xC | = =sizeof(struct SceNetAdhocPollSd) |
||
) |
VITASDK_BUILD_ASSERT_EX | ( | SceNetAdhocPdpStat | , |
0x14 | = =sizeof(struct SceNetAdhocPdpStat) |
||
) |
int sceNetAdhocInit | ( | void | ) |
int sceNetAdhocTerm | ( | void | ) |
int sceNetAdhocPollSocket | ( | struct SceNetAdhocPollSd * | sds, |
int | nsds, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocSetSocketAlert | ( | int | id, |
int | flag | ||
) |
int sceNetAdhocGetSocketAlert | ( | int | id, |
int * | flag | ||
) |
int sceNetAdhocPdpCreate | ( | const struct SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
unsigned int | bufsize, | ||
int | flag | ||
) |
int sceNetAdhocPdpSend | ( | int | id, |
const struct SceNetEtherAddr * | daddr, | ||
SceUShort16 | dport, | ||
const void * | data, | ||
int | len, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPdpRecv | ( | int | id, |
struct SceNetEtherAddr * | saddr, | ||
SceUShort16 * | sport, | ||
void * | buf, | ||
int * | len, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPdpDelete | ( | int | id, |
int | flag | ||
) |
int sceNetAdhocGetPdpStat | ( | int * | buflen, |
void * | buf | ||
) |
int sceNetAdhocPtpOpen | ( | const struct SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
const struct SceNetEtherAddr * | daddr, | ||
SceUShort16 | dport, | ||
unsigned int | bufsize, | ||
unsigned int | rexmt_int, | ||
int | rexmt_cnt, | ||
int | flag | ||
) |
int sceNetAdhocPtpConnect | ( | int | id, |
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPtpListen | ( | const struct SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
unsigned int | bufsize, | ||
unsigned int | rexmt_int, | ||
int | rexmt_cnt, | ||
int | backlog, | ||
int | flag | ||
) |
int sceNetAdhocPtpAccept | ( | int | id, |
struct SceNetEtherAddr * | addr, | ||
SceUShort16 * | port, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPtpSend | ( | int | id, |
const void * | data, | ||
int * | len, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPtpRecv | ( | int | id, |
void * | buf, | ||
int * | len, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPtpFlush | ( | int | id, |
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPtpClose | ( | int | id, |
int | flag | ||
) |
int sceNetAdhocGetPtpStat | ( | int * | buflen, |
void * | buf | ||
) |