site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi Adi, comments in-line. Best regards Michael On Jun 6, 2008, at 4:21 PM, Adi Masputra wrote: On Jun 6, 2008, at 1:17 AM, Michael Tüxen wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Loop through all interfaces and addresses and add or delete them to our own list of addresses. I guess that I could also use a kernel socket and an ioctl to get the information, but the code is shared between the FreeBSD kernel, other platforms and Mac OS X. I'm trying to keep the platform specific code minimal... Have you looked at ifnet_list_get/ifnet_list_free KPI in <net/ kpi_interface.h>? No, I'll do. SIOCGIFCONF is not for a kernel ioctl client. OK. Did not get this out of the documentation... Adi This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Tüxen