Hello, Here's a patch with getifaddrs & freeifaddrs. I don't consider it ready to push yet, but would like comments/improvements. The header is my own work, public domain; the C source is BSDi which is essentially the same as MIT. I based it on the newlib 1.16.0 version, with the macros removed. (newlib later removed getifaddrs either because it was not used or because it conditionally included a header with 4-clause BSD license; the code including that header has been removed). Testing: I could only test on i386 with ipv4; there's a note suggesting that inet4 on LP64 (for us, x86_64) may be broken. ipv6 should also be tested. The test is copy-pasted from getifaddrs(3). HTH, Isaac Dunham