wut
v1.7.0
Wii U Toolchain
|
#include <wut.h>
#include <wut_rplwrap.h>
#include <stdint.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Go to the source code of this file.
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) |