Subject: bin/9866: SIOCGIFCONF -> getifaddrs migration
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 04/13/2000 01:03:11
>Number:         9866
>Category:       bin
>Synopsis:       SIOCGIFCONF -> getifaddrs migration
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 13 01:04:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        netbsd-current
>Organization:
	itojun.org
>Environment:
NetBSD starfruit.itojun.org 1.4X NetBSD 1.4X (STARFRUIT) #177: Wed Apr 12 19:02:20 JST 2000     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386

>Description:
	(The PR is to keep track of SIOCGIFCONF -> getifaddrs migration)

	SIOCGIFCONF has very complex alignment constraint, and requires
	complex try-and-error buffer allocation code.
	we'd better migrate to getifaddrs, whereever possible.

>How-To-Repeat:
	try to grab list of addresses from the kernel by SIOCGIFCONF. 
	it is VERY hard.
>Fix:
	we'd need to fix the following items.

usr.sbin/mrouted
usr.sbin/mtrace
usr.sbin/rarpd
usr.sbin/rbootd
lib/libc/rpc/pmap_rmt.c
>Release-Note:
>Audit-Trail:
>Unformatted: