/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | main_winmain.c | 25 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 D | main.c | 184 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 …]
|
H A D | p2p_supplicant.c | 567 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_group() 623 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in p2p_group_go_member_count() 666 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_go_group() 692 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_cli_group() 1039 wpa_s = global->ifaces; in wpas_p2p_group_delete() 2851 for (group = wpa_s->global->ifaces; group; group = group->next) in wpas_prov_disc_req() 4152 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_noa() 4166 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_go_iface() 4188 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_client_iface() 4213 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active() [all …]
|
/freebsd/tests/atf_python/sys/net/ |
H A D | vnet.py | 172 ifaces = VnetInterface.create_iface(alias_name, iface_name) 173 for iface in ifaces: 176 return ifaces 208 self, vnet_alias: str, vnet_name: str, jid: int, ifaces: List[VnetInterface] 213 self.ifaces = ifaces 216 for iface in ifaces: 267 def _wait_interfaces(vnet_name: str, ifaces: List[str]) -> List[str]: 273 for iface_name in ifaces: 281 def create_vnet(self, vnet_alias: str, ifaces: List[VnetInterface]): 286 iface_cmds = " ".join(["vnet.interface={}".format(i.name) for i in ifaces]) [all …]
|
/freebsd/contrib/libpcap/ |
H A D | sf-pcapng.c | 231 struct pcap_ng_if *ifaces; /* array of interface information */ member 685 new_ifaces = realloc(ps->ifaces, new_ifaces_size * sizeof (struct pcap_ng_if)); in add_interface() 698 ps->ifaces = new_ifaces; in add_interface() 701 ps->ifaces[ps->ifcount - 1].snaplen = idbp->snaplen; in add_interface() 718 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; in add_interface() 719 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset; in add_interface() 730 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH; in add_interface() 737 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_BIN; in add_interface() 742 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol; in add_interface() 743 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_DEC; in add_interface() [all …]
|
/freebsd/share/examples/ipfilter/ |
H A D | 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;
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dpp_hostapd.c | 1529 struct hapd_interfaces *ifaces = hapd->iface->interfaces; in hostapd_dpp_pb_active() local 1531 return ifaces && (ifaces->dpp_pb_time.sec || in hostapd_dpp_pb_active() 1532 ifaces->dpp_pb_time.usec); in hostapd_dpp_pb_active() 1538 struct hapd_interfaces *ifaces = hapd->iface->interfaces; in hostapd_dpp_remove_pb_hash() local 1541 if (!ifaces->dpp_pb_bi) in hostapd_dpp_remove_pb_hash() 1544 struct dpp_pb_info *info = &ifaces->dpp_pb[i]; in hostapd_dpp_remove_pb_hash() 1548 if (os_memcmp(info->hash, ifaces->dpp_pb_resp_hash, in hostapd_dpp_remove_pb_hash() 1570 struct hapd_interfaces *ifaces = hapd->iface->interfaces; in hostapd_dpp_rx_conf_result() local 1618 if (!ifaces->dpp_pb_result_indicated && hostapd_dpp_pb_active(hapd)) { in hostapd_dpp_rx_conf_result() 1625 ifaces->dpp_pb_result_indicated = true; in hostapd_dpp_rx_conf_result() [all …]
|
H A D | dpp_hostapd.h | 41 void hostapd_dpp_init_global(struct hapd_interfaces *ifaces); 42 void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces);
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig_netlink.c | 134 struct iface **ifaces; member 169 struct iface **ifaces= snl_allocz(ss, new_size * sizeof(void *)); in prepare_ifmap() local 170 memcpy(ifaces, ifmap->ifaces, ifmap->size * sizeof(void *)); in prepare_ifmap() 171 ifmap->ifaces = ifaces; in prepare_ifmap() 174 ifmap->ifaces[iface->link.ifi_index] = iface; in prepare_ifmap() 241 if (ifindex >= ifmap->size || ifmap->ifaces[ifindex] == NULL) in prepare_ifaddrs() 243 struct iface *iface = ifmap->ifaces[ifindex]; in prepare_ifaddrs() 459 if (ifmap->ifaces[i] != NULL) { in list_interfaces_nl() 460 sorted_ifaces[num++] = ifmap->ifaces[i]; in list_interfaces_nl()
|
/freebsd/contrib/wpa/src/fst/ |
H A D | fst_group.h | 14 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 D | fst_group.c | 447 dl_list_init(&g->ifaces); in fst_group_create() 461 struct dl_list *list = &g->ifaces; in fst_group_attach_iface() 491 WPA_ASSERT(dl_list_empty(&group->ifaces)); in fst_group_delete()
|
/freebsd/libexec/nuageinit/ |
H A D | nuageinit | 52 -- grab ifaces 61 local ifaces = parser:get_object() 63 for _, iface in pairs(ifaces["statistics"]["interface"]) do 87 local ifaces = get_ifaces() 88 if not ifaces then 95 mylinks[v["id"]] = ifaces[s] 309 local ifaces = get_ifaces() 320 if not ifaces[v.match.macaddress] then 324 local interface = ifaces[v.match.macaddress]
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | 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:
|
H A D | wps-nfc.py | 45 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:
|
H A D | wpas-dbus-new.py | 28 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces', 30 for path in ifaces:
|
H A D | p2p-nfc.py | 52 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:
|
H A D | wpas-dbus-new-signals.py | 29 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces', 31 for path in ifaces:
|
/freebsd/sys/netgraph/netflow/ |
H A D | ng_netflow.c | 263 priv->ifaces[i].info.conf = NG_NETFLOW_CONF_INGRESS; in ng_netflow_constructor() 300 if (priv->ifaces[ifnum].hook != NULL) in ng_netflow_newhook() 303 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook() 332 if (priv->ifaces[ifnum].out != NULL) in ng_netflow_newhook() 335 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook() 408 if (priv->ifaces[*index].hook == NULL) in ng_netflow_rcvmsg() 414 memcpy((void *)i, (void *)&priv->ifaces[*index].info, in ng_netflow_rcvmsg() 415 sizeof(priv->ifaces[*index].info)); in ng_netflow_rcvmsg() 431 iface = &priv->ifaces[set->iface]; in ng_netflow_rcvmsg() 461 iface = &priv->ifaces[set->iface]; in ng_netflow_rcvmsg() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 236 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()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | 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:
|
H A D | main.c | 512 static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, in hostapd_global_run() argument 519 for (i = 0; !tnc && i < ifaces->count; i++) { in hostapd_global_run() 520 for (k = 0; k < ifaces->iface[i]->num_bss; k++) { in hostapd_global_run() 521 if (ifaces->iface[i]->bss[0]->conf->tnc) { in hostapd_global_run()
|
/freebsd/libexec/rc/rc.d/ |
H A D | nuageinit | 58 ifaces=$(ifconfig -l ether) 59 set -- $ifaces
|
/freebsd/sys/dev/usb/ |
H A D | usb_device.h | 204 struct usb_interface *ifaces; member 206 struct usb_interface ifaces[USB_IFACE_MAX]; member
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 56 struct dl_list ifaces; /* list of interfaces */ member 85 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvindex() 98 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvname() 725 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_route_overflow() 1090 dl_list_add(&drv->global->ifaces, &drv->list); in bsd_init() 1712 dl_list_add(&drv->global->ifaces, &drv->list); in wpa_driver_bsd_init() 1777 dl_list_init(&global->ifaces); in bsd_global_init()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntpd.c | 964 const char** ifaces = STACKLST_OPT( INTERFACE ); 969 is_ip_address(*ifaces, AF_UNSPEC, &addr) 972 *ifaces, -1, ACTION_LISTEN); 973 ifaces++; 948 const char** ifaces = STACKLST_OPT( INTERFACE ); global() local
|