| /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...] |
| wpa_supplicant_i.h | 282 struct wpa_supplicant *ifaces; member in struct:wpa_global 338 struct dl_list ifaces; /* struct wpa_supplicant::radio_list entries */ member in struct:wpa_radio 683 struct dl_list radio_list; /* list head: struct wpa_radio::ifaces */
|
| /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/usr.bin/rump_dhcpclient/ |
| main.c | 49 struct interface *ifaces; variable in typeref:struct:interface 247 ifaces = ifp;
|
| /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/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/dhcpcd/dist/src/ |
| script.c | 236 rb_tree_t ifaces; local 394 rb_tree_init(&ifaces, &rt_compare_proto_ops); 395 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) { 401 if (rt_proto_add(&ifaces, rt) != rt) 406 RB_TREE_FOREACH(rt, &ifaces) { 407 if (rt != RB_TREE_MIN(&ifaces) && 413 rt_headclear(&ifaces, AF_UNSPEC); 465 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) {
|
| dhcpcd.c | 204 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 284 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 315 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 852 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { 1066 ifp = if_find(ctx->ifaces, ifname); 1075 TAILQ_REMOVE(ctx->ifaces, ifp, next); 1097 iff = if_find(ctx->ifaces, ifp->name); 1109 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); 1159 ifp = if_find(ifp0->ctx->ifaces, ifp0->name); 1201 struct if_head *ifaces; local [all...] |
| dhcpcd.h | 137 struct if_head *ifaces; member in struct:dhcpcd_ctx
|
| /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/ntp/dist/ntpd/ |
| ntpd.c | 966 const char** ifaces = STACKLST_OPT( INTERFACE ); local 971 is_ip_address(*ifaces, AF_UNSPEC, &addr) 974 *ifaces, -1, ACTION_LISTEN); 975 ifaces++;
|
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_bsd.c | 55 struct dl_list ifaces; /* list of interfaces */ member in struct:bsd_driver_global 84 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { 97 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { 681 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { 1041 dl_list_add(&drv->global->ifaces, &drv->list); 1619 dl_list_add(&drv->global->ifaces, &drv->list); 1681 dl_list_init(&global->ifaces);
|
| /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/bsd/wpa/dist/src/ap/ |
| 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...] |
| hostapd.c | 485 struct hapd_interfaces *ifaces = hapd->iface->interfaces; local 488 for (i = 0; i < ifaces->count; i++) { 489 struct hostapd_iface *iface = ifaces->iface[i];
|
| /src/external/mpl/dhcp/dist/client/ |
| dhclient.c | 205 add_interfaces(char **ifaces, int nifaces) 214 ifaces[i], isc_result_totext(status)); 215 if (strlen(ifaces[i]) >= sizeof(tmp->name)) 217 ifaces[i], (long)strlen(ifaces[i])); 218 strcpy(tmp->name, ifaces[i]); 344 char **ifaces; local 375 if ((ifaces = malloc(sizeof(*ifaces) * argc)) == NULL) { 641 ifaces[interfaces_requested++] = argv[i] [all...] |