![]() |
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_EQ (0xC, SceNetAdhocPollSd) | |
VITASDK_BUILD_ASSERT_EQ (0x14, SceNetAdhocPdpStat) | |
VITASDK_BUILD_ASSERT_EQ (0x24, SceNetAdhocPtpStat) | |
int | sceNetAdhocInit (void) |
int | sceNetAdhocTerm (void) |
int | sceNetAdhocPollSocket (SceNetAdhocPollSd *sds, int nsds, unsigned int timeout, int flag) |
int | sceNetAdhocSetSocketAlert (int id, int flag) |
int | sceNetAdhocGetSocketAlert (int id, int *flag) |
int | sceNetAdhocPdpCreate (const SceNetEtherAddr *saddr, SceUShort16 sport, unsigned int bufsize, int flag) |
int | sceNetAdhocPdpSend (int id, const SceNetEtherAddr *daddr, SceUShort16 dport, const void *data, int len, unsigned int timeout, int flag) |
int | sceNetAdhocPdpRecv (int id, 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 SceNetEtherAddr *saddr, SceUShort16 sport, const 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 SceNetEtherAddr *saddr, SceUShort16 sport, unsigned int bufsize, unsigned int rexmt_int, int rexmt_cnt, int backlog, int flag) |
int | sceNetAdhocPtpAccept (int id, 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 | |
SceNetEtherAddr | laddr | |
SceUShort16 | lport | |
unsigned int | rcv_sb_cc |
struct SceNetAdhocPtpStat |
Data Fields | ||
---|---|---|
struct _SceNetAdhocPtpStat * | next | |
int | id | |
SceNetEtherAddr | laddr | |
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_EQ | ( | 0xC | , |
SceNetAdhocPollSd | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x14 | , |
SceNetAdhocPdpStat | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x24 | , |
SceNetAdhocPtpStat | |||
) |
int sceNetAdhocInit | ( | void | ) |
int sceNetAdhocTerm | ( | void | ) |
int sceNetAdhocPollSocket | ( | SceNetAdhocPollSd * | sds, |
int | nsds, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocSetSocketAlert | ( | int | id, |
int | flag | ||
) |
int sceNetAdhocGetSocketAlert | ( | int | id, |
int * | flag | ||
) |
int sceNetAdhocPdpCreate | ( | const SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
unsigned int | bufsize, | ||
int | flag | ||
) |
int sceNetAdhocPdpSend | ( | int | id, |
const SceNetEtherAddr * | daddr, | ||
SceUShort16 | dport, | ||
const void * | data, | ||
int | len, | ||
unsigned int | timeout, | ||
int | flag | ||
) |
int sceNetAdhocPdpRecv | ( | int | id, |
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 SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
const 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 SceNetEtherAddr * | saddr, |
SceUShort16 | sport, | ||
unsigned int | bufsize, | ||
unsigned int | rexmt_int, | ||
int | rexmt_cnt, | ||
int | backlog, | ||
int | flag | ||
) |
int sceNetAdhocPtpAccept | ( | int | id, |
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 | ||
) |