Home
last modified time | relevance | path

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

12

/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A 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()
H A Dmain.c183 struct wpa_interface *ifaces, *iface; in main() local
194 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main()
195 if (ifaces == NULL) in main()
330 iface = os_realloc_array(ifaces, iface_count, in main()
334 ifaces = iface; in main()
335 iface = &ifaces[iface_count - 1]; in main()
370 if ((ifaces[i].confname == NULL && in main()
371 ifaces[i].ctrl_interface == NULL) || in main()
372 ifaces[i].ifname == NULL) { in main()
383 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i], NULL); in main()
[all …]
H A Dp2p_supplicant.c958 wpa_s = global->ifaces; in wpas_p2p_group_delete()
3777 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active()
4676 wpa_s = global->ifaces; in wpas_p2p_deinit_global()
4684 tmp = global->ifaces; in wpas_p2p_deinit_global()
4700 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_deinit_global()
4722 if (wpa_s->global->ifaces->next) in wpas_p2p_create_iface()
5737 wpa_s = global->ifaces; in wpas_p2p_group_remove()
8361 for (w = wpa_s->global->ifaces; w; w = w->next) in wpas_p2p_remove_client()
8411 wpa_supplicant_disable_network(wpa_s->global->ifaces, in wpas_p2p_handle_frequency_conflicts()
8413 wpa_msg(wpa_s->global->ifaces, MSG_INFO, in wpas_p2p_handle_frequency_conflicts()
[all …]
H A Dwpa_supplicant.c994 struct wpa_supplicant *wpa_s = global->ifaces; in wpa_supplicant_terminate_proc()
5111 dl_list_add(&radio->ifaces, &wpa_s->radio_list); in radio_add_interface()
5126 dl_list_init(&radio->ifaces); in radio_add_interface()
5128 dl_list_add(&radio->ifaces, &wpa_s->radio_list); in radio_add_interface()
5390 if (!dl_list_empty(&radio->ifaces)) in radio_remove_interface()
5983 iface = global->ifaces; in wpa_supplicant_deinit_iface()
6188 wpa_s->next = global->ifaces; in wpa_supplicant_add_iface()
6189 global->ifaces = wpa_s; in wpa_supplicant_add_iface()
6233 prev = global->ifaces; in wpa_supplicant_remove_iface()
6235 global->ifaces = wpa_s->next; in wpa_supplicant_remove_iface()
[all …]
/dragonfly/contrib/libpcap/
H A Dsf-pcapng.c699 ps->ifaces = new_ifaces; in add_interface()
719 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; in add_interface()
720 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset; in add_interface()
1079 free(ps->ifaces); in pcap_ng_check_header()
1091 free(ps->ifaces); in pcap_ng_cleanup()
1385 sec = t / ps->ifaces[interface_id].tsresol + ps->ifaces[interface_id].tsoffset; in pcap_ng_next_packet()
1386 frac = t % ps->ifaces[interface_id].tsresol; in pcap_ng_next_packet()
1392 switch (ps->ifaces[interface_id].scale_type) { in pcap_ng_next_packet()
1415 frac *= ps->ifaces[interface_id].scale_factor; in pcap_ng_next_packet()
1439 frac /= ps->ifaces[interface_id].tsresol; in pcap_ng_next_packet()
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Ddhcpcd.c1199 struct if_head *ifaces; in dhcpcd_linkoverflow() local
1230 if (ifaces == NULL) { in dhcpcd_linkoverflow()
1244 TAILQ_REMOVE(ifaces, ifp, next); in dhcpcd_linkoverflow()
1261 free(ifaces); in dhcpcd_linkoverflow()
1264 if_markaddrsstale(ctx->ifaces); in dhcpcd_linkoverflow()
1266 if_deletestaleaddrs(ctx->ifaces); in dhcpcd_linkoverflow()
1383 if (ctx->ifaces == NULL) in stop_all_interfaces()
2558 if (ctx.ifaces == NULL) { in main()
2673 if (ctx.ifaces) { in main()
2678 free(ctx.ifaces); in main()
[all …]
H A Dscript.c236 rb_tree_t ifaces; in make_env() local
394 rb_tree_init(&ifaces, &rt_compare_proto_ops); in make_env()
395 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) { in make_env()
401 if (rt_proto_add(&ifaces, rt) != rt) in make_env()
406 RB_TREE_FOREACH(rt, &ifaces) { in make_env()
407 if (rt != RB_TREE_MIN(&ifaces) && in make_env()
413 rt_headclear(&ifaces, AF_UNSPEC); in make_env()
465 TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) { in make_env()
H A Dif.c807 if_findindexname(struct if_head *ifaces, unsigned int idx, const char *name) in if_findindexname() argument
810 if (ifaces != NULL) { in if_findindexname()
817 TAILQ_FOREACH(ifp, ifaces, next) { in if_findindexname()
829 if_find(struct if_head *ifaces, const char *name) in if_find() argument
832 return if_findindexname(ifaces, 0, name); in if_find()
836 if_findindex(struct if_head *ifaces, unsigned int idx) in if_findindex() argument
839 return if_findindexname(ifaces, idx, NULL); in if_findindex()
847 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in if_loopback()
958 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in if_findifpfromcmsg()
H A Dipv4.c196 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_findaddr()
210 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_findmaskaddr()
224 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_findmaskbrd()
492 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in inet_getroutes()
510 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in inet_getroutes()
886 ifp->ctx->ifaces, ifp->name, in ipv4_deletestaleaddrs()
917 ifs = ctx->ifaces; in ipv4_handleifa()
H A Dif-bsd.c601 return if_findindex(ctx->ifaces, sdl->sdl_index); in if_findsdl()
608 return if_find(ctx->ifaces, ifname); in if_findsdl()
613 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in if_findsdl()
665 return if_findindex(ctx->ifaces, scope); in if_findsa()
919 rt->rt_ifp = if_findindex(ctx->ifaces, rtm->rtm_index); in if_copyrt()
928 rt->rt_ifp = if_find(ctx->ifaces, "lo0"); in if_copyrt()
1255 if ((ifp = if_findindex(ctx->ifaces, ifm->ifm_index)) == NULL) in if_ifinfo()
1349 if ((ifp = if_findindex(ctx->ifaces, ifam->ifam_index)) == NULL) in if_ifa()
H A Dipv6.c350 TAILQ_FOREACH(ifpn, ifp->ctx->ifaces, next) { in ipv6_maketemporaryaddress()
600 ia->iface->ctx->ifaces, ia->iface->name, in ipv6_checkaddrflags()
1133 TAILQ_FOREACH(ifp, sifp->ctx->ifaces, next) { in ipv6_anyglobal()
1191 ifs = ctx->ifaces; in ipv6_handleifa()
1376 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv6_findmaskaddr()
2196 ifp->ctx->ifaces, ifp->name, in ipv6_deletestaleaddrs()
2244 TAILQ_FOREACH(lo0, ifp->ctx->ifaces, next) { in inet6_makeprefix()
2300 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in inet6_staticroutes()
2392 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in inet6_dhcproutes()
H A Darp.c285 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in arp_packet()
490 TAILQ_FOREACH(ifp, astate->iface->ctx->ifaces, next) { in arp_announce()
543 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in arp_announceaddr()
H A Ddhcpcd.h136 struct if_head *ifaces; member
/dragonfly/contrib/wpa_supplicant/src/fst/
H A 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()
H A 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()
/dragonfly/contrib/dhcpcd/hooks/
H A Ddhcpcd-run-hooks37 ifaces=
40 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
44 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
46 uniqify $ifaces
/dragonfly/sys/netgraph7/netflow/
H A Dng_netflow.c220 if (priv->ifaces[ifnum].hook != NULL) in ng_netflow_newhook()
223 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook()
252 if (priv->ifaces[ifnum].out != NULL) in ng_netflow_newhook()
255 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook()
325 if (priv->ifaces[*index].hook == NULL) in ng_netflow_rcvmsg()
331 memcpy((void *)i, (void *)&priv->ifaces[*index].info, in ng_netflow_rcvmsg()
332 sizeof(priv->ifaces[*index].info)); in ng_netflow_rcvmsg()
347 iface = &priv->ifaces[set->iface]; in ng_netflow_rcvmsg()
376 iface = &priv->ifaces[set->iface]; in ng_netflow_rcvmsg()
H A Dng_netflow.h253 struct ng_netflow_iface ifaces[NG_NETFLOW_MAXIFACES]; member
/dragonfly/etc/rc.d/
H A Dvkernel20 unset pidfile bin memsize rootimgs ifaces logfile flags
114 eval ifaces=\"${ifaces} -I ${_iface}\"
126 "${memimg} ${ifaces} ${flags} -p ${pidfile}" \
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/dbus/
H A 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()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Ddpp_hostapd.h35 void hostapd_dpp_init_global(struct hapd_interfaces *ifaces);
36 void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces);
H A Dhostapd.h597 int hostapd_add_iface(struct hapd_interfaces *ifaces, char *buf);
598 int hostapd_remove_iface(struct hapd_interfaces *ifaces, char *buf);
/dragonfly/sys/bus/u4b/
H A Dusb_device.h194 struct usb_interface *ifaces; member
196 struct usb_interface ifaces[USB_IFACE_MAX]; member
H A Dusb_device.c753 iface = udev->ifaces + ips.iface_index; in usb_config_parse()
831 udev->ifaces = NULL; in usb_config_parse()
833 udev->ifaces = kmalloc(sizeof(*iface) * udev->ifaces_max, in usb_config_parse()
835 if (udev->ifaces == NULL) { in usb_config_parse()
872 if(udev->ifaces != NULL) { in usb_config_parse()
873 kfree(udev->ifaces, M_USB); in usb_config_parse()
874 udev->ifaces = NULL; in usb_config_parse()
2233 struct usb_interface *iface = udev->ifaces + iface_index; in usbd_get_iface()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_bsd.c56 struct dl_list ifaces; /* list of interfaces */ member
86 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvindex()
100 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvname()
888 dl_list_add(&drv->global->ifaces, &drv->list); in bsd_init()
1614 dl_list_add(&drv->global->ifaces, &drv->list); in wpa_driver_bsd_init()
1670 dl_list_init(&global->ifaces); in bsd_global_init()

12