Date: Mon, 16 Sep 2002 13:12:32 -0400 (EDT) From: Garrett Wollman <wollman@lcs.mit.edu> To: Bruce M Simpson <bms@spc.org> Cc: freebsd-net@FreeBSD.ORG Subject: Proposal: adopt SIOCGLIFNUM interface for enumerating iflist. Message-ID: <200209161712.g8GHCWak023802@khavrinen.lcs.mit.edu> In-Reply-To: <20020916164206.GN28076@spc.org> References: <20020916164206.GN28076@spc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 16 Sep 2002 17:42:06 +0100, Bruce M Simpson <bms@spc.org> said: > At this time these applications have to play 'elastic buffer' games with the > SIOCGIFCONF ioctl in order to get all of the relevant information. By allowing > userland applications to determine the size of this buffer at runtime, we > eliminate the need for repeated calls to ifioctl(). We have already done so: sysctl net.route.iflist. It might be worth our while to also support the Solaris method, but IMHO there is far too much confusion over this function to be adding another way to do it. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209161712.g8GHCWak023802>