[haiku-commits] Re: haiku: hrev48705 - src/kits/network src/kits/network/libnetapi headers/os/net src/servers/net src/bin/network/ifconfig

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 21 Jan 2015 12:24:16 +0100

Am 21.01.2015 um 10:05 schrieb pulkomandy@xxxxxxxxxxxxx:
* BNetworkInterfaceAddress is moved to libnetwork. It is modified to
not use BNetworkAddress (which is in libbnetapi) and instead use
sockaddr and sockaddr_storage directly. All callers are adjusted to
this. * Some support code is shared between BNetworkInterface and
BNetworkInterfaceAddress, move it to libnetwork but in the BPrivate
namespace.

That's not really how I envisioned it, and, I think this is a rather
messy solution.
BNetworkInterfaceAddress should not be in libnetwork.so; does it really have that many advantages to use it within getifaddrs() over using the socket API directly?

Bye,
   Axel.

Other related posts: