Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 13:12:45 +0900
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        "Chuck T." <freebsdfan@hotmail.com>, bjones@emergecore.com, net@FreeBSD.ORG
Subject:   Re: programatically list all local IP addresses ?
Message-ID:  <y7vlm88we2q.wl@ocean.jinmei.org>
In-Reply-To: <20020718171833.GA40200@falcon.midgard.homeip.net>
References:  <F171aqKU9mS7pZFLqs2000138c5@hotmail.com> <20020718171833.GA40200@falcon.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Thu, 18 Jul 2002 19:18:33 +0200, 
>>>>> Erik Trulsson <ertr1013@student.uu.se> said:

>> Excellent, that's just what I was looking for!  Thanks.
>> >do a man getifaddrs(3)

> Just be aware that getifaddrs(3) (which does seem to be a quite useful
> function) is not very portable.
> It appears to be available on recent releases of all the *BSDs, but it
> does not seem to exist on Solaris or Linux.

If I remember correctly, the USAGI project
(http://www.linux-ipv6.org/) provided getifaddrs(3) on linux.  They
should also be trying to merge their products to the linux main kernel
and major distributions.

(still, it's true that we cannot always expect portability of
getifaddrs(3))

					JINMEI, Tatuya
					Communication Platform Lab.
					Corporate R&D Center, Toshiba Corp.
					jinmei@isl.rdc.toshiba.co.jp

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?y7vlm88we2q.wl>