Searched refs:networks (Results 1 - 8 of 8) sorted by relevance

/haiku/src/tests/kits/net/
H A Dwlan_test.cpp112 wireless_network* networks = NULL; local
113 device.GetNetworks(networks, networksCount);
115 show(networks[i]);
116 delete[] networks;
121 // show associated networks
128 puts("no associated networks found.");
/haiku/src/preferences/network/
H A DInterfaceView.cpp227 // BListView of available networks, rather than a menu, to make them more
253 B_TRANSLATE("<no wireless networks found>")) == 0) {
254 // remove <no wireless networks found> item
265 wireless_network* networks = NULL; local
267 device.GetNetworks(networks, networksCount);
270 // We don't seem to know of any networks, and it's been long
272 // find some networks.
278 // "no wireless networks" if we can avoid it is great enough
283 device.GetNetworks(networks, networksCount);
286 ArrayDeleter<wireless_network> networksDeleter(networks);
[all...]
/haiku/src/kits/network/libnetservices/
H A DGeolocation.cpp88 wireless_network* networks = NULL; local
89 device.GetNetworks(networks, networksCount);
91 const wireless_network& network = networks[i];
105 delete[] networks;
110 // Check that we have enough data (we need at least 2 networks)
/haiku/headers/os/net/
H A DNetworkDevice.h115 status_t GetNetworks(wireless_network*& networks,
/haiku/src/apps/networkstatus/
H A DNetworkStatusView.cpp399 // Add wireless networks, if any, first so that we can sort the menu
409 wireless_network* networks = NULL; local
410 device.GetNetworks(networks, networksCount);
412 const wireless_network& network = networks[i];
423 delete[] networks;
427 B_TRANSLATE("<no wireless networks found>"), NULL);
466 // add separator item between wired and wireless networks
467 // (or between wired networks and actions if no wireless found)
/haiku/src/kits/network/libnetapi/
H A DNetworkDevice.cpp427 get_scan_results(const char* device, wireless_network*& networks, uint32& count) argument
429 if (networks != NULL)
468 networks = new wireless_network[networksList.CountItems()];
470 networks[i] = *networksList.ItemAt(i);
833 BNetworkDevice::GetNetworks(wireless_network*& networks, uint32& count) argument
835 return get_scan_results(Name(), networks, count);
H A DNetworkSettings.cpp639 BMessage networks = fNetworks; local
641 for (int32 index = 0; networks.FindMessage("network", index,
644 networks.ReplaceMessage("network", index, &network);
649 kNetworksTemplate, networks);
/haiku/src/bin/network/ifconfig/
H A Difconfig.cpp371 wireless_network* networks = NULL; local
372 status_t status = device.GetNetworks(networks, networksCount);
374 fprintf(stderr, "%s: Getting networks failed: %s\n",
378 show_wireless_network(networks[i], verbose);
379 delete[] networks;

Completed in 115 milliseconds