Home
last modified time | relevance | path

Searched refs:ifaces (Results 1 – 25 of 55) sorted by relevance

123

/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winmain.c25 struct wpa_interface *ifaces, *iface; in WinMain() local
38 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in WinMain()
39 if (ifaces == NULL) in WinMain()
55 if ((ifaces[i].confname == NULL && in WinMain()
56 ifaces[i].ctrl_interface == NULL) || in WinMain()
57 ifaces[i].ifname == NULL) { in WinMain()
64 if (wpa_supplicant_add_iface(global, &ifaces[i], NULL) == NULL) in WinMain()
73 os_free(ifaces); in WinMain()
Dmain.c184 struct wpa_interface *ifaces, *iface; in main() local
195 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main()
196 if (ifaces == NULL) in main()
326 iface = os_realloc_array(ifaces, iface_count, in main()
330 ifaces = iface; in main()
331 iface = &ifaces[iface_count - 1]; in main()
366 if ((ifaces[i].confname == NULL && in main()
367 ifaces[i].ctrl_interface == NULL) || in main()
368 ifaces[i].ifname == NULL) { in main()
379 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i], NULL); in main()
[all …]
/external/libpcap/
Dsf-pcap-ng.c227 struct pcap_ng_if *ifaces; /* array of interface information */ member
625 new_ifaces = realloc(ps->ifaces, new_ifaces_size * sizeof (struct pcap_ng_if)); in add_interface()
638 ps->ifaces = new_ifaces; in add_interface()
656 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; in add_interface()
657 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset; in add_interface()
668 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH; in add_interface()
675 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_BIN; in add_interface()
680 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol; in add_interface()
681 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_DEC; in add_interface()
689 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_UP_BIN; in add_interface()
[all …]
/external/dhcpcd-6.8.2/
Ddhcpcd.c216 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in dhcpcd_oneup()
352 TAILQ_REMOVE(ifp->ctx->ifaces, ifp, next); in stop_interface()
611 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlecarrier()
705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in warn_iaid_conflict()
951 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handleinterface()
982 iff = if_find(ctx->ifaces, ifp->name); in dhcpcd_handleinterface()
993 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); in dhcpcd_handleinterface()
1021 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlehwaddr()
1044 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_start_interface()
1058 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_stop_interface()
[all …]
Ddhcpcd-run-hooks.in46 local i= x= ifaces=
49 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
53 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
55 uniqify $ifaces
Dif.c591 if_findindexname(struct if_head *ifaces, unsigned int idx, const char *name) in if_findindexname() argument
594 if (ifaces != NULL) { in if_findindexname()
597 TAILQ_FOREACH(ifp, ifaces, next) { in if_findindexname()
614 if_find(struct if_head *ifaces, const char *name) in if_find() argument
617 return if_findindexname(ifaces, 0, name); in if_find()
621 if_findindex(struct if_head *ifaces, unsigned int idx) in if_findindex() argument
624 return if_findindexname(ifaces, idx, NULL); in if_findindex()
701 if (ctx->ifaces == NULL || in if_sortinterfaces()
702 (ifp = TAILQ_FIRST(ctx->ifaces)) == NULL || in if_sortinterfaces()
707 TAILQ_REMOVE(ctx->ifaces, ifp, next); in if_sortinterfaces()
[all …]
Dipv4.c153 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_findaddr()
167 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_addrexists()
666 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_buildroutes()
929 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
959 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
988 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
1039 ifs = ctx->ifaces; in ipv4_handleifa()
/external/wpa_supplicant_8/src/fst/
Dfst_group.h14 struct dl_list ifaces; member
23 dl_list_for_each((i), &(g)->ifaces, struct fst_iface, group_lentry)
34 return !dl_list_empty(&g->ifaces); in fst_group_has_ifaces()
39 return dl_list_first(&g->ifaces, struct fst_iface, group_lentry); in fst_group_first_iface()
Dfst_group.c443 dl_list_init(&g->ifaces); in fst_group_create()
457 struct dl_list *list = &g->ifaces; in fst_group_attach_iface()
487 WPA_ASSERT(dl_list_empty(&group->ifaces)); in fst_group_delete()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Ddpp-qrcode.py23 ifaces = []
26 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
31 if len(ifaces) < 1:
35 for ctrl in ifaces:
Dwps-nfc.py45 ifaces = []
48 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
53 if len(ifaces) < 1:
57 for ctrl in ifaces:
Dwpas-dbus-new.py28 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces',
30 for path in ifaces:
Dp2p-nfc.py52 ifaces = []
55 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
60 if len(ifaces) < 1:
64 for ctrl in ifaces:
Dwpas-dbus-new-signals.py29 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces',
31 for path in ifaces:
/external/autotest/client/cros/bluetooth/
Dbluetooth_device_xmlrpc_server.py379 for path, ifaces in objects.iteritems():
380 logging.debug('%s -> %r', path, ifaces.keys())
381 if self.BLUEZ_ADAPTER_IFACE in ifaces:
457 for path, ifaces in objects.iteritems():
458 if self.BLUEZ_DEVICE_IFACE in ifaces:
649 for path, ifaces in objects.iteritems():
650 if self.BLUEZ_DEVICE_IFACE in ifaces:
668 for path, ifaces in objects.iteritems():
669 if self.BLUEZ_DEVICE_IFACE in ifaces:
805 for path, ifaces in objects.iteritems():
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dsupplicant.cpp255 std::vector<ISupplicant::IfaceInfo> ifaces; in listInterfacesInternal() local
256 for (struct wpa_supplicant* wpa_s = wpa_global_->ifaces; wpa_s; in listInterfacesInternal()
259 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
262 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
266 return {{SupplicantStatusCode::SUCCESS, ""}, std::move(ifaces)}; in listInterfacesInternal()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c236 struct dl_list ifaces; in add_wpas_interfaces() local
238 dl_list_init(&ifaces); in add_wpas_interfaces()
239 extract_interfaces(&ifaces, obj_dsc); in add_wpas_interfaces()
240 add_interfaces(&ifaces, xml); in add_wpas_interfaces()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
Dsupplicant.cpp369 std::vector<ISupplicant::IfaceInfo> ifaces; in listInterfacesInternal() local
370 for (struct wpa_supplicant* wpa_s = wpa_global_->ifaces; wpa_s; in listInterfacesInternal()
373 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
376 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
380 return {{SupplicantStatusCode::SUCCESS, ""}, std::move(ifaces)}; in listInterfacesInternal()
/external/scapy/scapy/arch/bpf/
Dcore.py193 ifaces = get_working_ifaces()
194 if not ifaces:
197 return ifaces[0][0]
/external/wpa_supplicant_8/hostapd/
Dwps-ap-nfc.py41 ifaces = []
44 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
49 if len(ifaces) < 1:
53 for ctrl in ifaces:
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java48 ArrayList<String> ifaces = mClassToInterface.get(cl); in resolveInterfaces() local
49 if (ifaces == null) { in resolveInterfaces()
52 for (String iface : ifaces) { in resolveInterfaces()
/external/toybox/toys/net/
Difconfig.c272 struct string_list *ifaces = 0, *sl; in show_iface() local
301 sl->next = ifaces; in show_iface()
302 ifaces = sl; in show_iface()
328 for(sl = ifaces; sl; sl = sl->next) in show_iface()
337 llist_traverse(ifaces, free); in show_iface()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Daddinterface.cpp78 QString ifaces(buf); in addInterfaces() local
79 QStringList lines = ifaces.split(QRegExp("\\n")); in addInterfaces()
/external/doclava/src/com/google/doclava/
DMethodInfo.java58 private static void addInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addInterfaces() argument
59 for (ClassInfo i : ifaces) { in addInterfaces()
62 for (ClassInfo i : ifaces) { in addInterfaces()
91 private static void addRealInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addRealInterfaces() argument
92 for (ClassInfo i : ifaces) { in addRealInterfaces()
98 for (ClassInfo i : ifaces) { in addRealInterfaces()
/external/scapy/scapy/arch/
Dunix.py37 ifaces = fdesc.readline().strip().split(' ')
38 matches = [iface for iface in ifaces if iface.startswith(netif)]

123