Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 1995 08:33:15 +0800 (WST)
From:      Peter Wemm <peter@haywire.DIALix.COM>
To:        Terry Lambert <terry@cs.weber.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Size of SIOCGIFCONF ioctl data structure
Message-ID:  <Pine.SV4.3.91.950603082739.20848B-100000@haywire.DIALix.COM>
In-Reply-To: <9506021825.AA29035@cs.weber.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Jun 1995, Terry Lambert wrote:
> [ ... how to count interfaces ... ]
> 
> > Opinions?
> 
> In preference order:
> 
> 1)	Do it via sysctl anyway.

Just as a BTW: Is this method fairly consistant across the 4.4BSD type 
machines? Or are there variations on the way it has been implemented?

> 2)	Do it the Sun way.

Yep.  IMHO, third-party code is far more likely going to get "#ifdef 
SIOCGIFNUM" than a sysctl() rewrite, especially since Sun, HP, AIX, etc 
dont have sysctl().

I think named would be a good candidate to be in group 1), because Paul 
Vixie uses BSD/OS, so he'd be able to test it.

-Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.91.950603082739.20848B-100000>