Subject: Re: Updating arp(8) to use getifaddrs (cf. bin/8566)
To: Rafal Boni <>
From: None <>
List: tech-net
Date: 11/08/2002 00:18:14
>	Many moons ago, when I added the ability for arp(8) to print the
>	names of the interfaces particular addresses were associated with,
>	I did it the hard way (but probably the only way that would have
>	worked accross the NetBSD versions I was then interested in) by
>	using the SIOCGIFCONF and walking the twisty maze of packed data
>	returned by it.
>	When I made the changes, I promised to update them to use the
>	getifaddrs() interface; I finally got around to doing that just
>	now in a fit of insomnia.  
>	The change is appended (as expected, it's mostly code removal),
>	but I have a portability question -- is conversion this going
>	to be more of a portability issue due to the non-standardized
>	nature of getifaddrs(3), or should I "Just Do it" (yes to both
>	is acceptable as well 8-).

	thank you for doing this!