Lines Matching defs:interface
64 io_service_t interface = IO_OBJECT_NULL;
84 contextprintf(context, kBLLogLevelError, "Could not get interface iterator\n");
88 interface = getLinkUpInterface(context, iterator);
91 if(interface == IO_OBJECT_NULL) {
105 contextprintf(context, kBLLogLevelError, "Could not get interface iterator\n");
109 interface = getLinkUpInterface(context, iterator);
113 if(interface == IO_OBJECT_NULL) {
126 contextprintf(context, kBLLogLevelError, "Could not get interface iterator\n");
130 interface = getLinkUpInterface(context, iterator);
134 if(interface != IO_OBJECT_NULL) {
137 name = IORegistryEntryCreateCFProperty(interface, CFSTR(kIOBSDNameKey),
143 IOObjectRelease(interface);
145 contextprintf(context, kBLLogLevelError, "Preferred interface does not have a BSD name\n");
151 IOObjectRelease(interface);
158 IOObjectRelease(interface);
160 contextprintf(context, kBLLogLevelVerbose, "Found primary interface: %s\n", ifname);