7#ifndef _PSP2_NET_NETCTL_H_
8#define _PSP2_NET_NETCTL_H_
19#define SCE_NETCTL_INFO_CONFIG_NAME_LEN_MAX 64
20#define SCE_NETCTL_INFO_SSID_LEN_MAX 32
56typedef void *(*SceNetCtlCallback)(
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int sceNetCtlAdhocGetResult(int eventType, int *errorCode)
int sceNetCtlAdhocUnregisterCallback(int cid)
int sceNetCtlInetUnregisterCallback(int cid)
unsigned int mtu
Definition netctl.h:66
char ssid[SCE_NETCTL_INFO_SSID_LEN_MAX+1]
Definition netctl.h:69
int sceNetCtlAdhocGetPeerList(unsigned int *buflen, void *buf)
unsigned int wifi_security
Definition netctl.h:70
int sceNetCtlAdhocGetState(int *state)
int sceNetCtlInetGetInfo(int code, SceNetCtlInfo *info)
int sceNetCtlAdhocGetInAddr(SceNetInAddr *inaddr)
int stun_status
Definition netctl.h:91
int sceNetCtlAdhocDisconnect()
int sceNetCtlCheckCallback()
char primary_dns[16]
Definition netctl.h:80
SceNetInAddr mapped_addr
Definition netctl.h:93
char default_route[16]
Definition netctl.h:79
unsigned int size
Definition netctl.h:90
char dhcp_hostname[256]
Definition netctl.h:75
unsigned int ip_config
Definition netctl.h:74
unsigned int http_proxy_config
Definition netctl.h:82
int nat_type
Definition netctl.h:92
SceNetCtlState
Definition netctl.h:47
#define SCE_NETCTL_INFO_SSID_LEN_MAX
Definition netctl.h:20
SceNetCtlInfoType
Definition netctl.h:22
unsigned int channel
Definition netctl.h:73
int sceNetCtlInetGetState(int *state)
#define SCE_NETCTL_INFO_CONFIG_NAME_LEN_MAX
Definition netctl.h:19
char ip_address[16]
Definition netctl.h:77
SceNetEtherAddr ether_addr
Definition netctl.h:65
int sceNetCtlAdhocRegisterCallback(SceNetCtlCallback func, void *arg, int *cid)
char pppoe_auth_name[128]
Definition netctl.h:76
unsigned int rssi_percentage
Definition netctl.h:72
int sceNetCtlInetRegisterCallback(SceNetCtlCallback func, void *arg, int *cid)
SceNetEtherAddr bssid
Definition netctl.h:68
int sceNetCtlGetNatInfo(SceNetCtlNatInfo *natinfo)
unsigned int http_proxy_port
Definition netctl.h:84
char secondary_dns[16]
Definition netctl.h:81
unsigned int device
Definition netctl.h:64
char http_proxy_server[256]
Definition netctl.h:83
void *(* SceNetCtlCallback)(int event_type, void *arg)
Definition netctl.h:56
struct SceNetCtlAdhocPeerInfo * next
Definition netctl.h:98
int sceNetCtlInetGetResult(int eventType, int *errorCode)
char netmask[16]
Definition netctl.h:78
char cnf_name[SCE_NETCTL_INFO_CONFIG_NAME_LEN_MAX+1]
Definition netctl.h:63
unsigned int link
Definition netctl.h:67
SceNetInAddr inet_addr
Definition netctl.h:99
unsigned int rssi_dbm
Definition netctl.h:71
@ SCE_NETCTL_STATE_FINALIZING
Definition netctl.h:50
@ SCE_NETCTL_STATE_CONNECTED
Definition netctl.h:51
@ SCE_NETCTL_STATE_CONNECTING
Definition netctl.h:49
@ SCE_NETCTL_STATE_DISCONNECTED
Definition netctl.h:48
@ SCE_NETCTL_INFO_GET_HTTP_PROXY_CONFIG
Definition netctl.h:42
@ SCE_NETCTL_INFO_GET_CNF_NAME
Definition netctl.h:23
@ SCE_NETCTL_INFO_GET_RSSI_DBM
Definition netctl.h:31
@ SCE_NETCTL_INFO_GET_DHCP_HOSTNAME
Definition netctl.h:35
@ SCE_NETCTL_INFO_GET_WIFI_SECURITY
Definition netctl.h:30
@ SCE_NETCTL_INFO_GET_SECONDARY_DNS
Definition netctl.h:41
@ SCE_NETCTL_INFO_GET_SSID
Definition netctl.h:29
@ SCE_NETCTL_INFO_GET_ETHER_ADDR
Definition netctl.h:25
@ SCE_NETCTL_INFO_GET_MTU
Definition netctl.h:26
@ SCE_NETCTL_INFO_GET_PRIMARY_DNS
Definition netctl.h:40
@ SCE_NETCTL_INFO_GET_HTTP_PROXY_SERVER
Definition netctl.h:43
@ SCE_NETCTL_INFO_GET_RSSI_PERCENTAGE
Definition netctl.h:32
@ SCE_NETCTL_INFO_GET_LINK
Definition netctl.h:27
@ SCE_NETCTL_INFO_GET_CHANNEL
Definition netctl.h:33
@ SCE_NETCTL_INFO_GET_NETMASK
Definition netctl.h:38
@ SCE_NETCTL_INFO_GET_HTTP_PROXY_PORT
Definition netctl.h:44
@ SCE_NETCTL_INFO_GET_IP_ADDRESS
Definition netctl.h:37
@ SCE_NETCTL_INFO_GET_DEFAULT_ROUTE
Definition netctl.h:39
@ SCE_NETCTL_INFO_GET_IP_CONFIG
Definition netctl.h:34
@ SCE_NETCTL_INFO_GET_DEVICE
Definition netctl.h:24
@ SCE_NETCTL_INFO_GET_PPPOE_AUTH_NAME
Definition netctl.h:36
@ SCE_NETCTL_INFO_GET_BSSID
Definition netctl.h:28