Lines Matching defs:device

82 			bool				_QuitLooperForDevice(const char* device);
83 AutoconfigLooper* _LooperForDevice(const char* device);
420 if (message.FindString("device", &name) != B_OK)
556 BNetworkDevice device(name);
557 if (device.IsWireless() && !device.HasLink()) {
655 NetServer::_QuitLooperForDevice(const char* device)
657 LooperMap::iterator iterator = fDeviceMap.find(device);
661 // there is a looper for this device - quit it
671 NetServer::_LooperForDevice(const char* device)
673 LooperMap::const_iterator iterator = fDeviceMap.find(device);
682 NetServer::_ConfigureDevice(const char* device)
686 interface.AddString("device", device);
696 /*! \brief Traverses the device tree starting from \a startPath, and configures
701 unconfigured device. This allows to move a Haiku configuration around
722 && suggestedInterface->SetString("device", path.Path()) == B_OK
743 const char *device;
744 if (interface.FindString("device", &device) != B_OK)
750 _DisableInterface(device);
754 if (!strncmp(device, "/dev/net/", 9)) {
755 // it's a kernel device, check if it's present
756 BEntry entry(device);
767 devicesSet.Add(device);
797 interface.AddString("device", "loop");
818 missingDevice.HasString("device") ? &missingDevice : NULL);
823 if this isn't a loopback device.
932 // not a valid device entry, ignore
949 if (message.FindString("device", &name) != B_OK)
952 BNetworkDevice device(name);
967 status = device.GetNetwork(link, network);
969 status = device.GetNetwork(networkName, network);
990 if (message.FindString("device", &deviceName) != B_OK)
1036 BNetworkDevice device(deviceName);
1041 || device.GetNetwork(*address, network) != B_OK)
1042 && device.GetNetwork(name, network) != B_OK) {
1110 status_t status = join.AddString("device", deviceName);
1134 if (message.FindString("device", &deviceName) != B_OK)
1146 status_t status = leave.AddString("device", deviceName);
1159 BNetworkDevice device(deviceName);
1163 if (device.GetNextAssociatedNetwork(cookie, network) != B_OK