Subject: Re: CVS commit: src/dist/smbfs/lib/smb
To: Jason Thorpe <>
From: Matthias Drochner <>
List: source-changes
Date: 03/28/2003 20:14:20 said:
> 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?

best regards