| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| main_winmain.c | 25 struct wpa_interface *ifaces, *iface; local 38 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 39 if (ifaces == NULL) 55 if ((ifaces[i].confname == NULL && 56 ifaces[i].ctrl_interface == NULL) || 57 ifaces[i].ifname == NULL) { 64 if (wpa_supplicant_add_iface(global, &ifaces[i], NULL) == NULL) 73 os_free(ifaces);
|
| main.c | 185 struct wpa_interface *ifaces, *iface; local 196 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 197 if (ifaces == NULL) 327 iface = os_realloc_array(ifaces, iface_count, 331 ifaces = iface; 332 iface = &ifaces[iface_count - 1]; 367 if ((ifaces[i].confname == NULL && 368 ifaces[i].ctrl_interface == NULL) || 369 ifaces[i].ifname == NULL) { 380 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i], NULL) [all...] |
| /src/sys/dev/usb/ |
| auvitek_audio.c | 62 struct usbd_interface **ifaces; local 66 ifaces = kmem_zalloc(nifaces * sizeof(*ifaces), KM_SLEEP); 68 ifaces[i] = &udev->ud_ifaces[i]; 77 uiaa.uiaa_ifaces = ifaces; 86 if (!ifaces[i]) 88 uiaa.uiaa_class = ifaces[i]->ui_idesc->bInterfaceClass; 89 uiaa.uiaa_subclass = ifaces[i]->ui_idesc->bInterfaceSubClass; 94 uiaa.uiaa_iface = ifaces[i]; 95 uiaa.uiaa_proto = ifaces[i]->ui_idesc->bInterfaceProtocol [all...] |
| usb_subr.c | 1186 struct usbd_interface **ifaces; local 1193 ifaces = kmem_zalloc(nifaces * sizeof(*ifaces), KM_SLEEP); 1196 ifaces[i] = &dev->ud_ifaces[i]; 1198 DPRINTF("interface %jd %#jx", i, (uintptr_t)ifaces[i], 0, 0); 1207 uiaa.uiaa_ifaces = ifaces; 1216 if (!ifaces[i]) { 1220 uiaa.uiaa_iface = ifaces[i]; 1221 uiaa.uiaa_class = ifaces[i]->ui_idesc->bInterfaceClass; 1222 uiaa.uiaa_subclass = ifaces[i]->ui_idesc->bInterfaceSubClass [all...] |
| /src/external/bsd/wpa/dist/src/fst/ |
| fst_group.h | 14 struct dl_list ifaces; member in struct:fst_group 23 dl_list_for_each((i), &(g)->ifaces, struct fst_iface, group_lentry) 34 return !dl_list_empty(&g->ifaces); 39 return dl_list_first(&g->ifaces, struct fst_iface, group_lentry);
|
| /src/external/bsd/ipf/dist/ |
| mkfilters | 13 foreach $i (keys %ifaces) { 22 foreach $i (keys %ifaces) { 36 foreach $i (keys %ifaces) { 52 foreach $j (keys %ifaces) { 95 $ifaces{$iface} = $iface;
|
| /src/external/mpl/dhcp/dist/common/ |
| discover.c | 256 begin_iface_scan(struct iface_conf_list *ifaces) { 263 ifaces->sock = socket(local_family, SOCK_DGRAM, IPPROTO_UDP); 264 if (ifaces->sock < 0) { 274 if (ioctl(ifaces->sock, SIOCGLIFNUM, &lifnum) < 0) { 276 close(ifaces->sock); 277 ifaces->sock = -1; 282 ifaces->num = lifnum.lifn_count; 284 ifaces->num = lifnum; 287 ifaces->num = 64; 290 memset(&ifaces->conf, 0, sizeof(ifaces->conf)) 577 struct iface_conf_list ifaces; local [all...] |
| /src/external/mpl/dhcp/dist/relay/tests/ |
| relay_unittests.c | 126 struct interface_info ifaces; local 132 memset(&ifaces, 0x0, sizeof(ifaces)); 140 ret = strip_relay_agent_options(&ifaces, &matched, &packet, len); 187 ret = strip_relay_agent_options(&ifaces, &matched, &packet, len); 204 ret = strip_relay_agent_options(&ifaces, &matched, &packet, len); 224 ret = strip_relay_agent_options(&ifaces, &matched, &packet, len); 269 ret = strip_relay_agent_options(&ifaces, &matched, &u.packet, 4095);
|
| /src/external/bsd/dhcpcd/dist/hooks/ |
| dhcpcd-run-hooks | 40 ifaces= 43 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}" 47 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}" 49 uniqify $ifaces
|
| /src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| dpp-qrcode.py | 23 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:
|
| wpas-dbus-new.py | 28 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces', 30 for path in ifaces:
|
| wpas-dbus-new-signals.py | 29 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces', 31 for path in ifaces:
|
| /src/external/bsd/wpa/dist/src/ap/ |
| dpp_hostapd.h | 41 void hostapd_dpp_init_global(struct hapd_interfaces *ifaces); 42 void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces);
|
| dpp_hostapd.c | 1529 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 1531 return ifaces && (ifaces->dpp_pb_time.sec || 1532 ifaces->dpp_pb_time.usec); 1538 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 1541 if (!ifaces->dpp_pb_bi) 1544 struct dpp_pb_info *info = &ifaces->dpp_pb[i]; 1548 if (os_memcmp(info->hash, ifaces->dpp_pb_resp_hash, 1570 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 1618 if (!ifaces->dpp_pb_result_indicated && hostapd_dpp_pb_active(hapd)) 2342 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 2410 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 2568 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 3129 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 3927 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 3951 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local [all...] |
| /src/external/bsd/libpcap/dist/ |
| sf-pcapng.c | 231 struct pcap_ng_if *ifaces; /* array of interface information */ member in struct:pcap_ng_sf 622 * ps->ifaces_size == 0 if ps->ifaces == NULL, 685 new_ifaces = realloc(ps->ifaces, new_ifaces_size * sizeof (struct pcap_ng_if)); 698 ps->ifaces = new_ifaces; 701 ps->ifaces[ps->ifcount - 1].snaplen = idbp->snaplen; 718 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; 719 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset; 730 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH; 737 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_BIN; 742 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol [all...] |
| /src/external/bsd/dhcpcd/dist/src/ |
| dhcpcd.c | 200 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 277 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 308 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 467 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 878 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { 1086 ifp = if_find(ctx->ifaces, ifname); 1095 TAILQ_REMOVE(ctx->ifaces, ifp, next); 1120 iff = if_find(ctx->ifaces, ifp->name); 1132 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); 1182 ifp = if_find(ifp0->ctx->ifaces, ifp0->name) 1224 struct if_head *ifaces; local [all...] |
| script.c | 241 rb_tree_t ifaces; local 412 rb_tree_init(&ifaces, &rt_compare_proto_ops); 413 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) { 419 if (rt_proto_add(&ifaces, rt) != rt) 424 RB_TREE_FOREACH(rt, &ifaces) 429 if (rt != RB_TREE_MIN(&ifaces) && fprintf(fp, "%s", " ") == -1) 434 rt_headclear(&ifaces, AF_UNSPEC); 483 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) {
|
| if.c | 792 if_findindexname(struct if_head *ifaces, unsigned int idx, const char *name) 794 if (ifaces != NULL) { 801 TAILQ_FOREACH(ifp, ifaces, next) { 813 if_find(struct if_head *ifaces, const char *name) 815 return if_findindexname(ifaces, 0, name); 819 if_findindex(struct if_head *ifaces, unsigned int idx) 821 return if_findindexname(ifaces, idx, NULL); 829 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 928 TAILQ_FOREACH(ifp, ctx->ifaces, next) {
|
| ipv4.c | 196 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 210 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 224 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 492 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 510 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 859 ipv4_handleifa(ifp->ctx, RTM_DELADDR, ifp->ctx->ifaces, 889 ifs = ctx->ifaces;
|
| /src/usr.bin/rump_dhcpclient/ |
| dhcpcd.h | 120 extern struct interface *ifaces;
|
| main.c | 49 struct interface *ifaces; variable in typeref:struct:interface 247 ifaces = ifp;
|
| /src/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
| dbus_new_introspect.c | 236 struct dl_list ifaces; local 238 dl_list_init(&ifaces); 239 extract_interfaces(&ifaces, obj_dsc); 240 add_interfaces(&ifaces, xml);
|
| /src/external/bsd/wpa/dist/hostapd/ |
| wps-ap-nfc.py | 41 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:
|
| /src/external/mpl/dhcp/dist/tests/DHCPv6/ |
| dhcp_client.pm | 174 my @ifaces; 177 push(@ifaces, $fname); 179 return wantarray() ? @ifaces : $ifaces[0];
|
| /src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| addinterface.cpp | 78 QString ifaces(buf); 79 QStringList lines = ifaces.split(QRegExp("\\n"));
|