Just a follow up on this: on Stevens vol 2 pg 117, code line 299, is the
implication that the returned buffer DOES hold an array of struct ifreq
elements. So this does seem to indicate that something may be broken on
FreeBSD. At the very least there is some ambiguity - is this an array of
struct ifreq's, or an array of struct ifreq's at 36 byte intervals?

Just to add to my confusion, the value returned in ifc_len is 784 -
which is neither a multiple of 36, nor a multiple of sizeof(struct
ifreq). Weirdfull.

-- 
Dr Graham Wheeler                        E-mail: [EMAIL PROTECTED]
Director, Research and Development       WWW:    http://www.cequrux.com
CEQURUX Technologies                     Phone:  +27(21)423-6065
Firewalls/VPN Specialists                Fax:    +27(21)424-3656


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to