wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | NetConfAllProfileState |
struct | NetConfEthCfg |
struct | NetConfIPv4Info |
struct | NetConfMACAddr |
struct | NetConfProxyConfig |
struct | NetConfValidFlags |
struct | NetConfWifiConfigDataPrivacy |
struct | NetConfWifiConfigData |
struct | NetConfWifiConfig |
struct | NetConfOpt |
struct | NetConfInterface |
struct | NetConfCfg |
struct | NetConfAOSSConfig |
struct | NetConfIfState |
Functions | |
int | netconf_init () |
int | netconf_close () |
int | netconf_delete_profile (NetConfProfile id) |
int | netconf_get_all_profile_state (NetConfAllProfileState *state) |
int | netconf_get_assigned_address (NetConfInterfaceType interface, uint32_t *assignedAddress) |
Returns the currently used IP address of the console if the given interface matches the used interface. More... | |
int | netconf_get_assigned_dns (NetConfInterfaceType interface, uint32_t *dns1, uint32_t *dns2) |
Returns the currently used DNS of the console if the given interface matches the used interface. More... | |
int | netconf_get_assigned_gateway (NetConfInterfaceType unk1, uint32_t *gateway) |
Returns the currently used gateway of the console if the given interface matches the used interface. More... | |
int | netconf_get_assigned_subnet (NetConfInterfaceType unk1, uint32_t *subnet) |
Returns the currently used subnet of the console if the given interface matches the used interface. More... | |
int | netconf_get_dns (NetConfInterfaceType unk1, uint32_t *dns1, uint32_t *dns2) |
Returns the manually set DNS servers of the loaded config if the given interface matches the used interface. More... | |
int | netconf_get_eth_cfg (NetConfEthCfg *outCfg) |
NetConfAdminState | netconf_get_if_adminstate (NetConfInterfaceType interface) |
int | netconf_get_if_ipv4_info (NetConfIPv4Info *info) |
Returns the WIFI IPv4 Info of the loaded config. More... | |
int | netconf_get_if_ipv4_info_ex (NetConfInterfaceType interface, NetConfIPv4Info *info) |
Returns the IPv4 Info of the loaded config for the given interface. More... | |
NetConfLinkState | netconf_get_if_linkstate (NetConfInterfaceType interface) |
int | netconf_get_if_macaddr (NetConfInterfaceType interface, NetConfMACAddr *info) |
NetConfOperState | netconf_get_if_operstate (NetConfInterfaceType interface) |
int | netconf_get_ifstate (NetConfInterfaceType interface, NetConfIfState *ifState) |
int | netconf_get_interface_mtu (NetConfInterfaceType NetConfInterfaceType, uint32_t *mtu) |
int | netconf_get_last_wifi_link_error (uint32_t *lastError) |
int | netconf_get_profile_state (NetConfInterfaceType interface, uint32_t *profileState) |
int | netconf_get_proxy_config (NetConfProxyConfig *proxyConfig) |
int | SOGetProxyConfig (NetConfProxyConfig *config) |
int | netconf_get_running (NetConfCfg *running) |
Return the current NetConfCfg. More... | |
int | netconf_get_startup_profile_id () |
Gets the default profileId. More... | |
int | netconf_get_valid_flags (NetConfValidFlags *validFlags) |
int | netconf_get_wifi_cfg (NetConfWifiConfig *wifiConfig) |
int | netconf_getopt (uint16_t unk1, NetConfOpt *buffer, uint32_t *bufferSize) |
Not implemented on IOSU side. More... | |
int | netconf_nv_read (NetConfProfile profileId, NetConfCfg *data) |
Read a profile into memory without using it. More... | |
int | netconf_nv_write (NetConfProfile profileId, NetConfCfg *data) |
Write a profile from buffer. More... | |
int | netconf_nv_load (NetConfProfile profileId) |
Load a profile into memory and use it. More... | |
int | netconf_nv_store (NetConfProfile profileId) |
Save the loaded profile from memory into a profile. More... | |
int | netconf_read_aoss_config (NetConfProfile profileId, NetConfAOSSConfig *data) |
int | netconf_write_aoss_config (NetConfProfile profileId, NetConfAOSSConfig *data) |
int | netconf_read_compat_profile_id (uint32_t *outProfileId) |
int | netconf_set_dns (NetConfInterfaceType interface, uint32_t *dns1, uint32_t *dns2) |
int | netconf_set_eth_cfg (NetConfEthCfg *config) |
int | netconf_set_if_admin_state (NetConfInterfaceType interface, NetConfAdminStateEnum unk2) |
int | netconf_set_if_ipv4_info (NetConfIPv4Info *info) |
int | netconf_set_if_ipv4_info_ex (NetConfInterfaceType interface, NetConfIPv4Info *info) |
int | netconf_set_interface_mtu (NetConfInterfaceType interface, uint32_t mtu) |
int | netconf_set_proxy_config (NetConfProxyConfig *config) |
int | netconf_set_running (NetConfCfg *config) |
int | netconf_set_startup_profile_id (uint32_t profileId) |
Sets the default profileId. More... | |
int | netconf_set_valid_flag (uint32_t unk1, uint32_t unk2) |
int | netconf_set_wifi_cfg (NetConfWifiConfig *config) |
int | netconf_setopt (uint16_t unk1, NetConfOpt *buffer, uint32_t *bufferSize) |
DEBUG mode only. More... | |
int | netconf_write_compat_profile_id (uint32_t unk1) |
struct NetConfAllProfileState |
Definition at line 116 of file netconfig.h.
struct NetConfEthCfg |
Definition at line 121 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfEthCfgSpeed | speed | |
NetConfEthCfgDuplex | duplex | |
NetConfEthCfgNegotiation | negotiation |
struct NetConfIPv4Info |
Definition at line 132 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfIPv4Mode | mode | |
uint32_t | addr | |
uint32_t | netmask | |
uint32_t | nexthop | |
uint32_t | ns1 | |
uint32_t | ns2 |
struct NetConfMACAddr |
Definition at line 142 of file netconfig.h.
Data Fields | ||
---|---|---|
uint8_t | MACAddr[0x6] |
struct NetConfProxyConfig |
Definition at line 147 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfProxyStatus | use_proxy | |
uint16_t | port | |
NetConfProxyAuthType | auth_type | |
char | host[0x80] | |
char | username[0x80] | |
char | password[0x40] | |
char | noproxy_hosts[0x80] |
struct NetConfValidFlags |
Definition at line 159 of file netconfig.h.
struct NetConfWifiConfigDataPrivacy |
Definition at line 164 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfWifiPrivacyMode | mode | |
uint16_t | aes_key_len | |
uint8_t | aes_key[0x40] |
struct NetConfWifiConfigData |
Definition at line 176 of file netconfig.h.
Data Fields | ||
---|---|---|
uint8_t | ssid[0x20] | |
uint16_t | ssidlength | |
NetConfWifiConfigDataPrivacy | privacy |
struct NetConfWifiConfig |
Definition at line 187 of file netconfig.h.
Data Fields | ||
---|---|---|
uint16_t | config_method | |
NetConfWifiConfigData | config |
struct NetConfOpt |
Definition at line 194 of file netconfig.h.
struct NetConfInterface |
Definition at line 199 of file netconfig.h.
Data Fields | ||
---|---|---|
uint16_t | if_index | |
uint16_t | if_sate | |
uint32_t | if_mtu | |
NetConfIPv4Info | ipv4Info |
struct NetConfCfg |
Definition at line 211 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfInterface | wl0 | |
NetConfWifiConfig | wifi | |
NetConfInterface | eth0 | |
NetConfEthCfg | ethCfg | |
NetConfProxyConfig | proxy |
struct NetConfAOSSConfig |
Definition at line 225 of file netconfig.h.
Data Fields | ||
---|---|---|
NetConfWifiConfigData | config[4] |
struct NetConfIfState |
Definition at line 230 of file netconfig.h.
Data Fields | ||
---|---|---|
uint16_t | if_state | |
NetConfLinkState | linkstate | |
NetConfOperState | operstate |
typedef uint16_t NetConfEthCfgSpeed |
Definition at line 21 of file netconfig.h.
typedef uint16_t NetConfEthCfgDuplex |
Definition at line 22 of file netconfig.h.
typedef uint16_t NetConfEthCfgNegotiation |
Definition at line 23 of file netconfig.h.
typedef uint16_t NetConfWifiPrivacyMode |
Definition at line 24 of file netconfig.h.
typedef uint16_t NetConfProxyAuthType |
Definition at line 25 of file netconfig.h.
typedef uint16_t NetConfProxyStatus |
Definition at line 26 of file netconfig.h.
typedef uint16_t NetConfInterfaceType |
Definition at line 27 of file netconfig.h.
typedef uint16_t NetConfLinkState |
Definition at line 28 of file netconfig.h.
typedef uint16_t NetConfOperState |
Definition at line 29 of file netconfig.h.
typedef uint16_t NetConfAdminState |
Definition at line 30 of file netconfig.h.
typedef struct NetConfAllProfileState NetConfAllProfileState |
Definition at line 30 of file netconfig.h.
typedef struct NetConfEthCfg NetConfEthCfg |
Definition at line 30 of file netconfig.h.
typedef struct NetConfProxyConfig NetConfProxyConfig |
Definition at line 30 of file netconfig.h.
typedef struct NetConfValidFlags NetConfValidFlags |
Definition at line 30 of file netconfig.h.
typedef struct NetConfWifiConfig NetConfWifiConfig |
Definition at line 30 of file netconfig.h.
typedef struct NetConfOpt NetConfOpt |
Definition at line 30 of file netconfig.h.
typedef struct NetConfIPv4Info NetConfIPv4Info |
Definition at line 30 of file netconfig.h.
typedef struct NetConfMACAddr NetConfMACAddr |
Definition at line 30 of file netconfig.h.
typedef struct NetConfCfg NetConfCfg |
Definition at line 30 of file netconfig.h.
typedef struct NetConfAOSSConfig NetConfAOSSConfig |
Definition at line 30 of file netconfig.h.
typedef struct NetConfWifiConfigData NetConfWifiConfigData |
Definition at line 30 of file netconfig.h.
typedef struct NetConfWifiConfigDataPrivacy NetConfWifiConfigDataPrivacy |
Definition at line 30 of file netconfig.h.
typedef struct NetConfInterface NetConfInterface |
Definition at line 30 of file netconfig.h.
typedef struct NetConfIfState NetConfIfState |
Definition at line 30 of file netconfig.h.
typedef enum NetConfInterfaceTypeEnum NetConfInterfaceTypeEnum |
typedef enum NetConfEthCfgSpeedEnum NetConfEthCfgSpeedEnum |
typedef enum NetConfEthCfgDuplexEnum NetConfEthCfgDuplexEnum |
typedef enum NetConfEthCfgNegotiationEnum NetConfEthCfgNegotiationEnum |
typedef enum NetConfIPv4Mode NetConfIPv4Mode |
typedef enum NetConfWifiPrivacyModeEnum NetConfWifiPrivacyModeEnum |
typedef enum NetConfProxyAuthTypeEnum NetConfProxyAuthTypeEnum |
typedef enum NetConfProxyStatusEnum NetConfProxyStatusEnum |
typedef enum NetConfLinkStateEnum NetConfLinkStateEnum |
typedef enum NetConfOperStateEnum NetConfOperStateEnum |
typedef enum NetConfAdminStateEnum NetConfAdminStateEnum |
typedef enum NetConfProfile NetConfProfile |
Enumerator | |
---|---|
NET_CONF_INTERFACE_TYPE_WIFI | |
NET_CONF_INTERFACE_TYPE_ETHERNET |
Definition at line 47 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_ETH_CFG_SPEED_10M | |
NET_CONF_ETH_CFG_SPEED_100M |
Definition at line 52 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_ETH_CFG_DUPLEX_HALF | |
NET_CONF_ETH_CFG_DUPLEX_FULL |
Definition at line 57 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_ETH_CFG_NEGOTIATION_MANUAL | |
NET_CONF_ETH_CFG_NEGOTIATION_AUTO |
Definition at line 62 of file netconfig.h.
enum NetConfIPv4Mode |
Enumerator | |
---|---|
NET_CONF_IPV4_MODE_DHCP | |
NET_CONF_IPV4_MODE_MANUAL |
Definition at line 67 of file netconfig.h.
Definition at line 72 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_PROXY_AUTH_TYPE_NONE | |
NET_CONF_PROXY_AUTH_TYPE_BASIC_AUTHENTICATION |
Definition at line 81 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_PROXY_DISABLED | |
NET_CONF_PROXY_ENABLED |
Definition at line 86 of file netconfig.h.
enum NetConfLinkStateEnum |
Enumerator | |
---|---|
NET_CONF_LINK_STATE_UP | |
NET_CONF_LINK_STATE_DOWN | |
NET_CONF_LINK_STATE_NEGOTIATE |
Definition at line 91 of file netconfig.h.
enum NetConfOperStateEnum |
Enumerator | |
---|---|
NET_CONF_OPER_STATE_UP | |
NET_CONF_OPER_STATE_DOWN |
Definition at line 97 of file netconfig.h.
Enumerator | |
---|---|
NET_CONF_ADMIN_STATE_UP | |
NET_CONF_ADMIN_STATE_DOWN |
Definition at line 102 of file netconfig.h.
enum NetConfProfile |
Enumerator | |
---|---|
NET_CONF_PROFILE_0 | |
NET_CONF_PROFILE_1 | |
NET_CONF_PROFILE_2 | |
NET_CONF_PROFILE_3 | |
NET_CONF_PROFILE_4 | |
NET_CONF_PROFILE_5 |
Definition at line 107 of file netconfig.h.
int netconf_init | ( | ) |
int netconf_close | ( | ) |
int netconf_delete_profile | ( | NetConfProfile | id | ) |
int netconf_get_all_profile_state | ( | NetConfAllProfileState * | state | ) |
int netconf_get_assigned_address | ( | NetConfInterfaceType | interface, |
uint32_t * | assignedAddress | ||
) |
Returns the currently used IP address of the console if the given interface matches the used interface.
int netconf_get_assigned_dns | ( | NetConfInterfaceType | interface, |
uint32_t * | dns1, | ||
uint32_t * | dns2 | ||
) |
Returns the currently used DNS of the console if the given interface matches the used interface.
int netconf_get_assigned_gateway | ( | NetConfInterfaceType | unk1, |
uint32_t * | gateway | ||
) |
Returns the currently used gateway of the console if the given interface matches the used interface.
int netconf_get_assigned_subnet | ( | NetConfInterfaceType | unk1, |
uint32_t * | subnet | ||
) |
Returns the currently used subnet of the console if the given interface matches the used interface.
int netconf_get_dns | ( | NetConfInterfaceType | unk1, |
uint32_t * | dns1, | ||
uint32_t * | dns2 | ||
) |
Returns the manually set DNS servers of the loaded config if the given interface matches the used interface.
int netconf_get_eth_cfg | ( | NetConfEthCfg * | outCfg | ) |
NetConfAdminState netconf_get_if_adminstate | ( | NetConfInterfaceType | interface | ) |
int netconf_get_if_ipv4_info | ( | NetConfIPv4Info * | info | ) |
Returns the WIFI IPv4 Info of the loaded config.
int netconf_get_if_ipv4_info_ex | ( | NetConfInterfaceType | interface, |
NetConfIPv4Info * | info | ||
) |
Returns the IPv4 Info of the loaded config for the given interface.
NetConfLinkState netconf_get_if_linkstate | ( | NetConfInterfaceType | interface | ) |
int netconf_get_if_macaddr | ( | NetConfInterfaceType | interface, |
NetConfMACAddr * | info | ||
) |
NetConfOperState netconf_get_if_operstate | ( | NetConfInterfaceType | interface | ) |
int netconf_get_ifstate | ( | NetConfInterfaceType | interface, |
NetConfIfState * | ifState | ||
) |
int netconf_get_interface_mtu | ( | NetConfInterfaceType | NetConfInterfaceType, |
uint32_t * | mtu | ||
) |
int netconf_get_last_wifi_link_error | ( | uint32_t * | lastError | ) |
int netconf_get_profile_state | ( | NetConfInterfaceType | interface, |
uint32_t * | profileState | ||
) |
int netconf_get_proxy_config | ( | NetConfProxyConfig * | proxyConfig | ) |
int SOGetProxyConfig | ( | NetConfProxyConfig * | config | ) |
int netconf_get_running | ( | NetConfCfg * | running | ) |
Return the current NetConfCfg.
int netconf_get_startup_profile_id | ( | ) |
Gets the default profileId.
int netconf_get_valid_flags | ( | NetConfValidFlags * | validFlags | ) |
int netconf_get_wifi_cfg | ( | NetConfWifiConfig * | wifiConfig | ) |
int netconf_getopt | ( | uint16_t | unk1, |
NetConfOpt * | buffer, | ||
uint32_t * | bufferSize | ||
) |
Not implemented on IOSU side.
int netconf_nv_read | ( | NetConfProfile | profileId, |
NetConfCfg * | data | ||
) |
Read a profile into memory without using it.
int netconf_nv_write | ( | NetConfProfile | profileId, |
NetConfCfg * | data | ||
) |
Write a profile from buffer.
int netconf_nv_load | ( | NetConfProfile | profileId | ) |
Load a profile into memory and use it.
int netconf_nv_store | ( | NetConfProfile | profileId | ) |
Save the loaded profile from memory into a profile.
int netconf_read_aoss_config | ( | NetConfProfile | profileId, |
NetConfAOSSConfig * | data | ||
) |
int netconf_write_aoss_config | ( | NetConfProfile | profileId, |
NetConfAOSSConfig * | data | ||
) |
int netconf_read_compat_profile_id | ( | uint32_t * | outProfileId | ) |
int netconf_set_dns | ( | NetConfInterfaceType | interface, |
uint32_t * | dns1, | ||
uint32_t * | dns2 | ||
) |
int netconf_set_eth_cfg | ( | NetConfEthCfg * | config | ) |
int netconf_set_if_admin_state | ( | NetConfInterfaceType | interface, |
NetConfAdminStateEnum | unk2 | ||
) |
int netconf_set_if_ipv4_info | ( | NetConfIPv4Info * | info | ) |
int netconf_set_if_ipv4_info_ex | ( | NetConfInterfaceType | interface, |
NetConfIPv4Info * | info | ||
) |
int netconf_set_interface_mtu | ( | NetConfInterfaceType | interface, |
uint32_t | mtu | ||
) |
int netconf_set_proxy_config | ( | NetConfProxyConfig * | config | ) |
int netconf_set_running | ( | NetConfCfg * | config | ) |
int netconf_set_startup_profile_id | ( | uint32_t | profileId | ) |
Sets the default profileId.
int netconf_set_valid_flag | ( | uint32_t | unk1, |
uint32_t | unk2 | ||
) |
int netconf_set_wifi_cfg | ( | NetConfWifiConfig * | config | ) |
int netconf_setopt | ( | uint16_t | unk1, |
NetConfOpt * | buffer, | ||
uint32_t * | bufferSize | ||
) |
DEBUG mode only.
int netconf_write_compat_profile_id | ( | uint32_t | unk1 | ) |