Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 1998 16:56:53 -0700 (PDT)
From:      Bill Fenner <fenner@FreeBSD.ORG>
To:        rec@rcousins.com, fenner@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/7230
Message-ID:  <199807092356.QAA10870@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: problem with SIOCGIFCONF

State-Changed-From-To: open-closed
State-Changed-By: fenner
State-Changed-When: Thu Jul 9 16:55:04 PDT 1998
State-Changed-Why: 
The SIOCGIFCONF interface changed in 4.3-Reno (when sa_len was introduced).
The return value includes a list of struct ifreqs, but you have to check
the size of the struct sockaddr inside the struct ifreq to see where the
next ifreq starts.  See, for example, the code on page 436 of _UNIX
Network Programming, Volume 1_, second edition.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807092356.QAA10870>