Date: Sun, 9 Feb 1997 21:57:03 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: hackers@freebsd.org Subject: Re: How to get all ip addresses of a system ? Message-ID: <Pine.BSF.3.91.970209215631.427N-100000@panda.hilink.com.au> In-Reply-To: <199702090727.IAA10507@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Feb 1997, Luigi Rizzo wrote: > I was wondering, is there a system call (possibly portable to different > OS's) to get all the addresses associated with a system ? Ideally, I > would like something to scan the "in_ifaddr" list in the kernel. I can > probably hack something using kvm_read, but would prefer a better (and > more portable) way if possible. What about the calls used by 'netstat -ain'? Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970209215631.427N-100000>