PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Data Structures | Defines | Typedefs | Enumerations | Functions
include/psp2/net/netctl.h File Reference

Header file related to net control. More...

#include <psp2/net/net.h>
Include dependency graph for netctl.h:

Go to the source code of this file.

Data Structures

union  SceNetCtlInfo
struct  SceNetCtlNatInfo
struct  SceNetCtlAdhocPeerInfo

Defines

#define PSP2_NETCTL_INFO_CONFIG_NAME_LEN_MAX   64
#define PSP2_NETCTL_INFO_SSID_LEN_MAX   32

Typedefs

typedef void *(* SceNetCtlCallback )(int event_type, void *arg)
typedef union SceNetCtlInfo SceNetCtlInfo
typedef struct SceNetCtlNatInfo SceNetCtlNatInfo
typedef struct
SceNetCtlAdhocPeerInfo 
SceNetCtlAdhocPeerInfo

Enumerations

enum  {
  PSP2_NETCTL_INFO_GET_CNF_NAME = 1, PSP2_NETCTL_INFO_GET_DEVICE, PSP2_NETCTL_INFO_GET_ETHER_ADDR, PSP2_NETCTL_INFO_GET_MTU,
  PSP2_NETCTL_INFO_GET_LINK, PSP2_NETCTL_INFO_GET_BSSID, PSP2_NETCTL_INFO_GET_SSID, PSP2_NETCTL_INFO_GET_WIFI_SECURITY,
  PSP2_NETCTL_INFO_GET_RSSI_DBM, PSP2_NETCTL_INFO_GET_RSSI_PERCENTAGE, PSP2_NETCTL_INFO_GET_CHANNEL, PSP2_NETCTL_INFO_GET_IP_CONFIG,
  PSP2_NETCTL_INFO_GET_DHCP_HOSTNAME, PSP2_NETCTL_INFO_GET_PPPOE_AUTH_NAME, PSP2_NETCTL_INFO_GET_IP_ADDRESS, PSP2_NETCTL_INFO_GET_NETMASK,
  PSP2_NETCTL_INFO_GET_DEFAULT_ROUTE, PSP2_NETCTL_INFO_GET_PRIMARY_DNS, PSP2_NETCTL_INFO_GET_SECONDARY_DNS, PSP2_NETCTL_INFO_GET_HTTP_PROXY_CONFIG,
  PSP2_NETCTL_INFO_GET_HTTP_PROXY_SERVER, PSP2_NETCTL_INFO_GET_HTTP_PROXY_PORT
}

Functions

int sceNetCtlInit ()
void sceNetCtlTerm ()
int sceNetCtlCheckCallback ()
int sceNetCtlInetGetResult (int eventType, int *errorCode)
int sceNetCtlAdhocGetResult (int eventType, int *errorCode)
int sceNetCtlInetGetInfo (int code, SceNetCtlInfo *info)
int sceNetCtlInetGetState (int *state)
int sceNetCtlGetNatInfo (SceNetCtlNatInfo *natinfo)
int sceNetCtlInetRegisterCallback (SceNetCtlCallback func, void *arg, int *cid)
int sceNetCtlInetUnregisterCallback (int cid)
int sceNetCtlAdhocRegisterCallback (SceNetCtlCallback func, void *arg, int *cid)
int sceNetCtlAdhocUnregisterCallback (int cid)
int sceNetCtlAdhocGetState (int *state)
int sceNetCtlAdhocDisconnect ()
int sceNetCtlAdhocGetPeerList (unsigned int *buflen, void *buf)
int sceNetCtlAdhocGetInAddr (SceNetInAddr *inaddr)

Detailed Description

Header file related to net control.

Copyright (C) 2015 PSP2SDK Project

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines