vitasdk
Documentation of the vitasdk
pspnet_adhocctl.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>
#include <psp2/net/net.h>

Go to the source code of this file.

Data Structures

struct  SceNetAdhocctlAdhocId
 
struct  SceNetAdhocctlGroupName
 
struct  SceNetAdhocctlNickname
 
struct  SceNetAdhocctlPeerInfo
 
struct  SceNetAdhocctlBSSId
 
struct  SceNetAdhocctlParameter
 

Macros

#define SCE_NET_ADHOCCTL_ADHOCID_LEN   9
 
#define SCE_NET_ADHOCCTL_GROUPNAME_LEN   8
 
#define SCE_NET_ADHOCCTL_NICKNAME_LEN   128
 
#define SCE_NET_ADHOCCTL_BSSID_LEN   6
 

Enumerations

enum  ScePspnetAdhocctlErrorCode { SCE_ERROR_NET_ADHOCCTL_INVALID_ARG = 0x80410B04 , SCE_ERROR_NET_ADHOCCTL_ALREADY_INITIALIZED = 0x80410B07 , SCE_ERROR_NET_ADHOCCTL_NOT_INITIALIZED = 0x80410B08 }
 
enum  ScePspnetAdhocctlAdhocType { SCE_NET_ADHOCCTL_ADHOCTYPE_PRODUCT_ID = 0 , SCE_NET_ADHOCCTL_ADHOCTYPE_RESERVED = 1 , SCE_NET_ADHOCCTL_ADHOCTYPE_SYSTEM = 2 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, SceNetAdhocctlAdhocId)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceNetAdhocctlGroupName)
 
 VITASDK_BUILD_ASSERT_EQ (0x80, SceNetAdhocctlNickname)
 
 VITASDK_BUILD_ASSERT_EQ (0x98, SceNetAdhocctlPeerInfo)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceNetAdhocctlBSSId)
 
 VITASDK_BUILD_ASSERT_EQ (0x94, SceNetAdhocctlParameter)
 
int sceNetAdhocctlInit (const struct SceNetAdhocctlAdhocId *adhocId)
 
int sceNetAdhocctlTerm (void)
 
int sceNetAdhocctlGetAdhocId (struct SceNetAdhocctlAdhocId *adhocId)
 
int sceNetAdhocctlGetPeerList (int *buflen, void *buf)
 
int sceNetAdhocctlGetPeerInfo (const struct SceNetEtherAddr *addr, int size, struct SceNetAdhocctlPeerInfo *peerInfo)
 
int sceNetAdhocctlGetAddrByName (const struct SceNetAdhocctlNickname *nickname, int *buflen, void *buf)
 
int sceNetAdhocctlGetNameByAddr (const struct SceNetEtherAddr *addr, struct SceNetAdhocctlNickname *nickname)
 
int sceNetAdhocctlGetParameter (struct SceNetAdhocctlParameter *parameter)
 
int sceNetAdhocctlGetEtherAddr (struct SceNetEtherAddr *addr)