Go to the source code of this file.
|
| union | netData |
| | Datatype for sceUtilityGetNetParam since it can return a u32 or a string we use a union to avoid ugly casting. More...
|
| |
◆ PSP_NETPARAM_ERROR_BAD_NETCONF
| #define PSP_NETPARAM_ERROR_BAD_NETCONF 0x80110601 |
◆ PSP_NETPARAM_ERROR_BAD_PARAM
| #define PSP_NETPARAM_ERROR_BAD_PARAM 0x80110604 |
◆ PSP_NETPARAM_IP
| #define PSP_NETPARAM_IP 5 |
◆ PSP_NETPARAM_IS_STATIC_IP
| #define PSP_NETPARAM_IS_STATIC_IP 4 |
◆ PSP_NETPARAM_MANUAL_DNS
| #define PSP_NETPARAM_MANUAL_DNS 8 |
◆ PSP_NETPARAM_NAME
| #define PSP_NETPARAM_NAME 0 |
◆ PSP_NETPARAM_NETMASK
| #define PSP_NETPARAM_NETMASK 6 |
◆ PSP_NETPARAM_PRIMARYDNS
| #define PSP_NETPARAM_PRIMARYDNS 9 |
◆ PSP_NETPARAM_PROXY_PASS
| #define PSP_NETPARAM_PROXY_PASS 12 |
◆ PSP_NETPARAM_PROXY_PORT
| #define PSP_NETPARAM_PROXY_PORT 15 |
◆ PSP_NETPARAM_PROXY_SERVER
| #define PSP_NETPARAM_PROXY_SERVER 14 |
◆ PSP_NETPARAM_PROXY_USER
| #define PSP_NETPARAM_PROXY_USER 11 |
◆ PSP_NETPARAM_ROUTE
| #define PSP_NETPARAM_ROUTE 7 |
◆ PSP_NETPARAM_SECONDARYDNS
| #define PSP_NETPARAM_SECONDARYDNS 10 |
◆ PSP_NETPARAM_SECURE
| #define PSP_NETPARAM_SECURE 2 |
◆ PSP_NETPARAM_SSID
| #define PSP_NETPARAM_SSID 1 |
◆ PSP_NETPARAM_UNKNOWN1
| #define PSP_NETPARAM_UNKNOWN1 16 |
◆ PSP_NETPARAM_UNKNOWN2
| #define PSP_NETPARAM_UNKNOWN2 17 |
◆ PSP_NETPARAM_USE_PROXY
| #define PSP_NETPARAM_USE_PROXY 13 |
◆ PSP_NETPARAM_WEPKEY
| #define PSP_NETPARAM_WEPKEY 3 |
◆ sceUtilityCheckNetParam()
| int sceUtilityCheckNetParam |
( |
int | id | ) |
|
Check existance of a Net Configuration.
- Parameters
-
| id | - id of net Configuration (1 to n) |
- Returns
- 0 on success,
◆ sceUtilityCopyNetParam()
| int sceUtilityCopyNetParam |
( |
int | src, |
|
|
int | dest ) |
Copies a Network Configuration to another.
- Parameters
-
| src | - Source Net Configuration number (0 to n) |
| dest | - Destination Net Configuration number (0 to n) |
- Returns
- 0 on success
◆ sceUtilityCreateNetParam()
| int sceUtilityCreateNetParam |
( |
int | conf | ) |
|
Create a new Network Configuration.
- Note
- This creates a new configuration at conf and clears 0
- Parameters
-
| conf | - Net Configuration number (1 to n) |
- Returns
- 0 on success
◆ sceUtilityDeleteNetParam()
| int sceUtilityDeleteNetParam |
( |
int | conf | ) |
|
Deletes a Network Configuration.
- Parameters
-
| conf | - Net Configuration number (1 to n) |
- Returns
- 0 on success
◆ sceUtilityGetNetParam()
| int sceUtilityGetNetParam |
( |
int | conf, |
|
|
int | param, |
|
|
netData * | data ) |
Get Net Configuration Parameter.
- Parameters
-
| conf | - Net Configuration number (1 to n) (0 returns valid but seems to be a copy of the last config requested) |
| param | - which parameter to get |
| data | - parameter data |
- Returns
- 0 on success,
◆ sceUtilitySetNetParam()
| int sceUtilitySetNetParam |
( |
int | param, |
|
|
const void * | val ) |
Sets a network parameter.
- Note
- This sets only to configuration 0
- Parameters
-
| param | - Which parameter to set |
| val | - Pointer to the the data to set |
- Returns
- 0 on success