Lines Matching refs:interface

114 	net_device_interface* interface = get_device_interface(deviceName);
115 if (interface == NULL)
118 status_t status = register_device_monitor(interface->device, &fMonitor);
120 put_device_interface(interface);
124 fMonitoredDevice = interface;
145 // Only root is allowed to bind to a link layer interface
154 Interface* interface = get_interface_for_link(sDomain, address);
155 if (interface == NULL)
159 = acquire_device_interface(interface->DeviceInterface());
161 interface->ReleaseReference();
284 net_device_interface*& interface)
289 interface = get_device_interface(request.ifr_name);
362 // get index of interface
363 net_device_interface* interface;
365 if (!user_request_get_device_interface(value, request, interface))
368 if (interface != NULL) {
369 request.ifr_index = interface->device->index;
370 put_device_interface(interface);
378 // get name of interface via index
383 net_device_interface* interface
385 if (interface == NULL)
388 strlcpy(request.ifr_name, interface->device->name, IF_NAMESIZE);
389 put_device_interface(interface);
420 // get address of interface
421 net_device_interface* interface;
423 if (!user_request_get_device_interface(value, request, interface))
426 if (interface == NULL)
430 get_device_interface_address(interface, (sockaddr*)&address);
431 put_device_interface(interface);
439 // get flags of interface
440 net_device_interface* interface;
442 if (!user_request_get_device_interface(value, request, interface))
445 if (interface == NULL)
448 request.ifr_flags = interface->device->flags;
449 put_device_interface(interface);
462 net_device_interface* interface;
464 if (!user_request_get_device_interface(value, request, interface))
466 if (interface == NULL)
469 request.ifr_media = interface->device->media;
471 put_device_interface(interface);