haiku/headers/os/net
Augustin Cavalier b2c77ad27a Network: Add a BNetworkDevice::GetNetworks() method and use it in the GUI.
The GetNextNetwork() method is really inefficient: it fetches all the
networks at once from the kernel every single time and then winds
up returning only one of them. In parts of the GUI that iterate over
all networks more than once per refresh (sometimes within a loop, even!)
this was often a noticeable lag on the GUI, especially with OpenBSD
drivers which have extra overhead to do struct translation in the
ioctl handler.

Now, we have a way to fetch all scan results at once and just iterate
over them as many times as we need, and this is what NetworkStatus
and Network preferences now do, saving lots of time and effort.
2022-10-25 23:34:42 -04:00
..
AbstractSocket.h
Certificate.h
DatagramSocket.h
net_settings.h
NetAddress.h
NetBuffer.h
NetDebug.h Mass updating of OpenBeOS text to Haiku 2021-11-07 10:00:35 +00:00
NetEndpoint.h
NetworkAddress.h BNetworkAddress: Make the first SetToLinkLevel() take a const pointer. 2022-10-25 23:34:42 -04:00
NetworkAddressResolver.h NetworkAddressResolver: cache needs to be locked 2017-11-21 22:15:32 +01:00
NetworkDevice.h Network: Add a BNetworkDevice::GetNetworks() method and use it in the GUI. 2022-10-25 23:34:42 -04:00
NetworkInterface.h
NetworkNotifications.h
NetworkRoster.h
NetworkRoute.h
ProxySecureSocket.h
SecureSocket.h
Socket.h