public class Ifaddrs extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Ifaddrs.ifaddrs |
static interface |
Ifaddrs.ifaddrsPointer |
| Modifier and Type | Method and Description |
|---|---|
static void |
freeifaddrs(Ifaddrs.ifaddrs ifp)
The data returned by getifaddrs() is dynamically allocated and should be freed using
freeifaddrs() when no longer needed.
|
static int |
getifaddrs(Ifaddrs.ifaddrsPointer ifap)
The getifaddrs() function stores a reference to a linked list of the net- work interfaces on
the local machine in the memory referenced by ifap.
|
public static int getifaddrs(Ifaddrs.ifaddrsPointer ifap)
public static void freeifaddrs(Ifaddrs.ifaddrs ifp)