7 #ifndef _PSP2_PSPNET_ADHOCCTL_H_
8 #define _PSP2_PSPNET_ADHOCCTL_H_
30 #define SCE_NET_ADHOCCTL_ADHOCID_LEN 9
38 #define SCE_NET_ADHOCCTL_GROUPNAME_LEN 8
44 #define SCE_NET_ADHOCCTL_NICKNAME_LEN 128
59 #define SCE_NET_ADHOCCTL_BSSID_LEN 6
SceSize size
struct size(variable size)
Definition: debug.h:0
int sceNetAdhocctlGetParameter(struct SceNetAdhocctlParameter *parameter)
int channel
Definition: pspnet_adhocctl.h:67
SceChar8 data[SCE_NET_ADHOCCTL_NICKNAME_LEN]
Definition: pspnet_adhocctl.h:46
int sceNetAdhocctlInit(const struct SceNetAdhocctlAdhocId *adhocId)
SceChar8 data[SCE_NET_ADHOCCTL_ADHOCID_LEN]
Definition: pspnet_adhocctl.h:33
int sceNetAdhocctlGetAddrByName(const struct SceNetAdhocctlNickname *nickname, int *buflen, void *buf)
int sceNetAdhocctlGetPeerList(int *buflen, void *buf)
int sceNetAdhocctlGetPeerInfo(const struct SceNetEtherAddr *addr, int size, struct SceNetAdhocctlPeerInfo *peerInfo)
int type
Definition: pspnet_adhocctl.h:32
struct SceNetAdhocctlGroupName groupName
Definition: pspnet_adhocctl.h:68
SceUChar8 padding[3]
Definition: pspnet_adhocctl.h:34
struct SceNetAdhocctlNickname nickname
Definition: pspnet_adhocctl.h:52
#define SCE_NET_ADHOCCTL_GROUPNAME_LEN
Definition: pspnet_adhocctl.h:38
int sceNetAdhocctlGetAdhocId(struct SceNetAdhocctlAdhocId *adhocId)
struct SceNetAdhocctlBSSId bssid
Definition: pspnet_adhocctl.h:70
VITASDK_BUILD_ASSERT_EQ(0x10, SceNetAdhocctlAdhocId)
#define SCE_NET_ADHOCCTL_ADHOCID_LEN
Definition: pspnet_adhocctl.h:30
SceChar8 data[SCE_NET_ADHOCCTL_GROUPNAME_LEN]
Definition: pspnet_adhocctl.h:40
#define SCE_NET_ADHOCCTL_BSSID_LEN
Definition: pspnet_adhocctl.h:59
int sceNetAdhocctlTerm(void)
SceUChar8 data[SCE_NET_ADHOCCTL_BSSID_LEN]
Definition: pspnet_adhocctl.h:61
struct SceNetEtherAddr macAddr
Definition: pspnet_adhocctl.h:53
struct SceNetAdhocctlNickname nickname
Definition: pspnet_adhocctl.h:69
SceUChar8 padding[2]
Definition: pspnet_adhocctl.h:62
ScePspnetAdhocctlAdhocType
Definition: pspnet_adhocctl.h:24
int sceNetAdhocctlGetEtherAddr(struct SceNetEtherAddr *addr)
#define SCE_NET_ADHOCCTL_NICKNAME_LEN
Definition: pspnet_adhocctl.h:44
SceUInt64 lastRecv
Definition: pspnet_adhocctl.h:55
int sceNetAdhocctlGetNameByAddr(const struct SceNetEtherAddr *addr, struct SceNetAdhocctlNickname *nickname)
struct SceNetAdhocctlPeerInfo * next
Definition: pspnet_adhocctl.h:51
SceUChar8 padding[6]
Definition: pspnet_adhocctl.h:54
ScePspnetAdhocctlErrorCode
Definition: pspnet_adhocctl.h:18
@ SCE_NET_ADHOCCTL_ADHOCTYPE_RESERVED
Definition: pspnet_adhocctl.h:26
@ SCE_NET_ADHOCCTL_ADHOCTYPE_SYSTEM
Definition: pspnet_adhocctl.h:27
@ SCE_NET_ADHOCCTL_ADHOCTYPE_PRODUCT_ID
Definition: pspnet_adhocctl.h:25
@ SCE_ERROR_NET_ADHOCCTL_INVALID_ARG
Definition: pspnet_adhocctl.h:19
@ SCE_ERROR_NET_ADHOCCTL_NOT_INITIALIZED
Definition: pspnet_adhocctl.h:21
@ SCE_ERROR_NET_ADHOCCTL_ALREADY_INITIALIZED
Definition: pspnet_adhocctl.h:20
Definition: pspnet_adhocctl.h:31
Definition: pspnet_adhocctl.h:60
Definition: pspnet_adhocctl.h:39
Definition: pspnet_adhocctl.h:45
Definition: pspnet_adhocctl.h:66
Definition: pspnet_adhocctl.h:50
int8_t SceChar8
Definition: types.h:32
uint64_t SceUInt64
Definition: types.h:51
uint8_t SceUChar8
Definition: types.h:33