Subject: Re: CVS commit: src/dist/smbfs/lib/smb
To: Jason Thorpe <email@example.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 03/28/2003 20:14:20
> Any reason not to use getifaddrs(3)?
Afaict, this would work perfectly.
Only that this is third-party code...
btw, there are a lot of SIOCGIFCONF calls in the src tree.
I havn't seen that anyone copies the ifreq structures to
a normally allocated structure, so accesses to struct members
might lead to unaliged accesses. Or can we rely on sockaddr
sizes always being within some raster ensuring alignment?