question: @ HLEFunction ( nid = 0x434D4B3A , version = 150 ) public int sceUtilityGetNetParam ( int id , int param , TPointer data ) { if ( id < 0 || id > 24 ) { log . warn ( String . format ( "sceUtilityGetNetParam invalid id=%d" , id ) ) ; return SceKernelErrors . ERROR_NETPARAM_BAD_NETCONF ; } switch ( param ) { case PSP_NETPARAM_NAME : data . setStringZ ( getNetParamName ( id ) ) ; break ; case PSP_NETPARAM_SSID : data . setStringZ ( sceNetApctl . getSSID ( ) ) ; break ; case PSP_NETPARAM_SECURE : data . setValue32 ( 1 ) ; break ; case PSP_NETPARAM_WEPKEY : data . setStringZ ( "XXXXXXXXXXXXXXXXX" ) ; break ; case PSP_NETPARAM_IS_STATIC_IP : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_IP : data . setStringZ ( sceNetApctl . getLocalHostIP ( ) ) ; break ; case PSP_NETPARAM_NETMASK : data . setStringZ ( sceNetApctl . getSubnetMask ( ) ) ; break ; case PSP_NETPARAM_ROUTE : data . setStringZ ( sceNetApctl . getGateway ( ) ) ; break ; case PSP_NETPARAM_MANUAL_DNS : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_PRIMARYDNS : data . setStringZ ( sceNetApctl . getPrimaryDNS ( ) ) ; break ; case PSP_NETPARAM_SECONDARYDNS : data . setStringZ ( sceNetApctl . getSecondaryDNS ( ) ) ; break ; case PSP_NETPARAM_PROXY_USER : data . setStringZ ( "JPCSP" ) ; break ; case PSP_NETPARAM_PROXY_PASS : data . setStringZ ( "JPCSP" ) ; break ; case PSP_NETPARAM_USE_PROXY : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_PROXY_SERVER : data . setStringZ ( "dummy_server" ) ; break ; case PSP_NETPARAM_PROXY_PORT : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_VERSION : data . setValue32 ( 2 ) ; break ; case PSP_NETPARAM_UNKNOWN : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_8021X_AUTH_TYPE : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_8021X_USER : data . setStringZ ( "JPCSP" ) ; break ; case PSP_NETPARAM_8021X_PASS : data . setStringZ ( "JPCSP" ) ; break ; case PSP_NETPARAM_WPA_TYPE : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_WPA_KEY : data . setStringZ ( "XXXXXXXXXXXXXXXXX" ) ; break ; case PSP_NETPARAM_BROWSER : data . setValue32 ( 0 ) ; break ; case PSP_NETPARAM_WIFI_CONFIG : data . setValue32 ( 0 ) ; break ; default : log . warn ( String . format ( "sceUtilityGetNetParam invalid param %d" , param ) ) ; return SceKernelErrors . ERROR_NETPARAM_BAD_PARAM ; } return 0 ; }
target:  Get Net Configuration Parameter