RetroArch
|
#include <unistd.h>
#include <stdio.h>
#include <wiiu/os.h>
#include <wiiu/ac.h>
#include <wiiu/types.h>
#include <pwd.h>
#include <sys/reent.h>
#include <ifaddrs.h>
#include <errno.h>
#include <time.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <string.h>
#include <verbosity.h>
Functions | |
int | usleep (useconds_t microseconds) |
int | access (const char *path, int mode) |
uid_t | getuid () |
struct passwd * | getpwuid (uid_t uid) |
int | _gettimeofday_r (struct _reent *ptr, struct timeval *ptimeval, void *ptimezone) |
int | clock_gettime (clockid_t clk_id, struct timespec *tp) |
static struct ifaddrs * | buildEmptyIfa () |
static int | getAssignedAddress (struct sockaddr_in *sa) |
static int | getAssignedSubnet (struct sockaddr_in *sa) |
static int | getBroadcastAddress (struct sockaddr_in *sa, struct sockaddr_in *addr, struct sockaddr_in *mask) |
static struct ifaddrs * | getWiiUInterfaceAddressData (void) |
int | getifaddrs (struct ifaddrs **ifap) |
void | freeifaddrs (struct ifaddrs *ifp) |
Variables | |
struct passwd | out |
static const char * | wiiu_iface_name = "eth0" |
|
static |
Allocate and zeroize the hunk of memory for the ifaddrs struct and its contents; the struct will be filled out later.
returns NULL if any of the memory allocations fail.
int clock_gettime | ( | clockid_t | clk_id, |
struct timespec * | tp | ||
) |
|
static |
|
static |
|
static |
int getifaddrs | ( | struct ifaddrs ** | ifap | ) |
struct passwd* getpwuid | ( | uid_t | uid | ) |
uid_t getuid | ( | ) |
int usleep | ( | useconds_t | microseconds | ) |
struct passwd out |
|
static |
Implementation of getifaddrs() and freeifaddrs() for WiiU.