| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| main_none.c | 16 struct wpa_interface iface; local 28 memset(&iface, 0, sizeof(iface)); 31 if (wpa_supplicant_add_iface(global, &iface, NULL) == NULL)
|
| main_winmain.c | 25 struct wpa_interface *ifaces, *iface; local 38 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 43 iface->confname = "default"; 44 iface->driver = "ndis"; 45 iface->ifname = "";
|
| main.c | 185 struct wpa_interface *ifaces, *iface; local 196 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 210 iface->bridge_ifname = optarg; 216 iface->confname = optarg; 219 iface->ctrl_interface = optarg; 222 iface->driver = optarg; 253 iface->ifname = optarg; 256 iface->confanother = optarg; 277 iface->driver_param = optarg; 314 iface = os_realloc_array(params.match_ifaces [all...] |
| offchannel.c | 24 struct wpa_supplicant *iface; local 53 iface = wpa_s->global->ifaces; 54 while (iface) { 55 if (ether_addr_equal(src, iface->own_addr)) 57 iface = iface->next; 59 if (iface) { 62 iface->ifname, wpa_s->ifname); 63 return iface; 73 struct wpa_supplicant *iface; local 308 struct wpa_supplicant *iface; local [all...] |
| /src/sys/dev/pci/ |
| com_puc.c | 96 unsigned int iface; local 100 iface = PCI_INTERFACE(pci_conf_read(aa->pc, aa->tag, PCI_CLASS_REG)); 102 if (iface < __arraycount(serialtype)) 103 aprint_normal(" (%s-compatible)", serialtype[iface]);
|
| /src/external/bsd/wpa/dist/src/ap/ |
| bss_load.c | 47 struct hostapd_iface *iface = hapd->iface; local 52 err = hostapd_drv_get_survey(hapd, hapd->iface->freq); 64 iface->chan_util_samples_sum += iface->channel_utilization; 65 iface->chan_util_num_sample_periods += 67 if (iface->chan_util_num_sample_periods >= 69 iface->chan_util_average = 70 iface->chan_util_samples_sum / 71 (iface->chan_util_num_sample_periods [all...] |
| eth_p_oui.c | 33 struct eth_p_oui_iface *iface; member in struct:eth_p_oui_ctx 53 struct eth_p_oui_iface *iface = ctx; local 73 dl_list_for_each(receiver, &iface->receiver, 91 struct eth_p_oui_iface *iface; local 104 interfaces = hapd->iface->interfaces; 106 dl_list_for_each(iface, &interfaces->eth_p_oui, struct eth_p_oui_iface, 108 if (os_strcmp(iface->ifname, ifname) != 0) 115 iface = os_zalloc(sizeof(*iface)); 116 if (!iface) 143 struct eth_p_oui_iface *iface; local 164 struct eth_p_oui_iface *iface = ctx->iface; local [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/binder/ |
| supplicant.cpp | 34 * Try to get the wpa_supplicant record for this iface, return 46 struct wpa_interface iface; local 48 os_memset(&iface, 0, sizeof(iface)); 49 iface.driver = os_strdup(android::String8(driver).string()); 50 iface.ifname = os_strdup(android::String8(ifname).string()); 51 iface.confname = os_strdup(android::String8(confname).string()); 52 iface.bridge_ifname = 55 wpa_s = wpa_supplicant_add_iface(wpa_global_, &iface, NULL); 77 os_free((void *)iface.driver) [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| dbus-listen-preq.py | 58 iface = dbus.Interface(if_obj, WPAS_DBUS_INTERFACES_INTERFACE) variable 64 iface.SubscribeProbeReq()
|
| /src/usr.sbin/altq/libaltq/ |
| qop_fifoq.c | 171 struct fifoq_interface iface; local 183 memset(&iface, 0, sizeof(iface)); 184 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 186 if (ioctl(fifoq_fd, FIFOQ_IF_ATTACH, &iface) < 0) 193 strncpy(conf.iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 199 LOG(LOG_INFO, 0, "fifoq attached to %s", iface.fifoq_ifname); 207 struct fifoq_interface iface; local 209 memset(&iface, 0, sizeof(iface)); 225 struct fifoq_interface iface; local 238 struct fifoq_interface iface; local [all...] |
| qop_blue.c | 200 struct blue_interface iface; local 212 memset(&iface, 0, sizeof(iface)); 213 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); 215 if (ioctl(blue_fd, BLUE_IF_ATTACH, &iface) < 0) 221 strncpy(conf.iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); 231 LOG(LOG_INFO, 0, "blue attached to %s", iface.blue_ifname); 239 struct blue_interface iface; local 241 memset(&iface, 0, sizeof(iface)); 257 struct blue_interface iface; local 270 struct blue_interface iface; local [all...] |
| qop_wfq.c | 204 struct wfq_interface iface; local 216 memset(&iface, 0, sizeof(iface)); 217 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); 219 if (ioctl(wfq_fd, WFQ_IF_ATTACH, &iface) < 0) 227 strncpy(conf.iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); 237 LOG(LOG_INFO, 0, "wfq attached to %s", iface.wfq_ifacename); 245 struct wfq_interface iface; local 247 memset(&iface, 0, sizeof(iface)); 263 struct wfq_interface iface; local 276 struct wfq_interface iface; local [all...] |
| qop_priq.c | 349 struct priq_interface iface; local 351 memset(&iface, 0, sizeof(iface)); 352 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); 362 memset(&iface, 0, sizeof(iface)); 363 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); 364 iface.arg = ifinfo->bandwidth; 366 if (ioctl(priq_fd, PRIQ_IF_ATTACH, &iface) < 0) 374 struct priq_interface iface; local 392 struct priq_interface iface; local 405 struct priq_interface iface; local 418 struct priq_interface iface; local [all...] |
| qop_red.c | 229 struct red_interface iface; local 241 memset(&iface, 0, sizeof(iface)); 242 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); 244 if (ioctl(red_fd, RED_IF_ATTACH, &iface) < 0) 250 strncpy(conf.iface.red_ifname, ifinfo->ifname, IFNAMSIZ); 261 LOG(LOG_INFO, 0, "red attached to %s", iface.red_ifname); 269 struct red_interface iface; local 271 memset(&iface, 0, sizeof(iface)); 287 struct red_interface iface; local 300 struct red_interface iface; local [all...] |
| /src/external/mpl/dhcp/dist/tests/DHCPv6/ |
| dhcp_client.pm | 173 sub iface { subroutine 185 foreach my $iface (iface()) { 186 if (`ifconfig $iface 2>/dev/null` =~ /\sinet (\S+)\s/) {
|
| /src/sys/altq/ |
| altq_fifoq.h | 57 struct fifoq_interface iface; member in struct:fifoq_getstats 66 struct fifoq_interface iface; member in struct:fifoq_conf
|
| /src/sys/dev/usb/ |
| umodeswitch.c | 68 struct usbd_interface *iface; local 82 err = usbd_device2interface_handle(dev, 0, &iface); 88 id = usbd_get_interface_descriptor(iface); 91 ed = usbd_interface2endpoint_descriptor(iface, i); 103 err = usbd_open_pipe(iface, ed->bEndpointAddress, 235 * One iface means umass mode, more than 1 (4 usually) means 3G mode.
|
| aubtfwl.c | 112 struct usbd_interface *iface; local 139 error = usbd_device2interface_handle(sc->sc_udev, 0, &iface); 146 error = usbd_open_pipe(iface, UE_DIR_OUT|2, USBD_EXCLUSIVE_USE, &pipe);
|
| /src/usr.bin/rump_dhcpclient/ |
| net.h | 85 const struct interface *iface; member in struct:rt 100 #define get_mtu(iface) do_mtu(iface, 0) 101 #define set_mtu(iface, mtu) do_mtu(iface, mtu) 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) [all...] |
| /src/usr.sbin/ipwctl/ |
| ipwctl.c | 63 const char *iface; local 69 iface = optarg; 72 iface = argv[1]; 75 iface = "ipw0"; 85 get_radio_state(iface); 93 get_statistics(iface); 101 (void)fprintf(stderr, "Usage: %s -i iface\n" 102 "\t%s -i iface -r\n", getprogname(), getprogname()); 108 do_req(const char *iface, unsigned long req, void *data) 118 strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)) [all...] |
| /src/usr.sbin/iwictl/ |
| iwictl.c | 62 char *iface = NULL; local 67 iface = argv[1]; 77 iface = optarg; 89 if (iface == NULL) 93 get_radio_state(iface); 96 get_statistics(iface); 104 (void)fprintf(stderr, "Usage: %s [-i] iface\n" 105 "\t%s [-i] iface -r\n", getprogname(), getprogname()); 111 do_req(const char *iface, unsigned long req, void *data) 121 (void)strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)) [all...] |
| /src/usr.sbin/npf/npfd/ |
| npfd.c | 180 const char *iface = "npflog0"; local 200 iface = optarg; 218 npfd_log_t *log = npfd_log_create(filename, iface, filter, snaplen);
|
| /src/external/bsd/wpa/dist/src/fst/ |
| fst.c | 22 static void fst_ctrl_iface_notify_peer_state_change(struct fst_iface *iface, 29 os_strlcpy(extra.peer_state.ifname, fst_iface_get_name(iface), 34 iface, NULL, &extra); 44 struct fst_iface *iface = NULL; local 68 iface = fst_iface_create(group, ifname, own_addr, iface_obj, cfg); 69 if (!iface) { 70 fst_printf_group(group, MSG_ERROR, "cannot create iface for %s", 77 fst_group_attach_iface(group, iface); 80 foreach_fst_ctrl_call(on_iface_added, iface); 82 fst_printf_iface(iface, MSG_DEBUG [all...] |
| /src/external/mpl/dhcp/dist/common/ |
| tr.c | 61 unsigned char iface[5]; member in struct:routing_entry 293 memcpy(rover->iface, interface->name, 5);
|
| /src/external/bsd/elftoolchain/dist/libdwarf/ |
| libdwarf_elf_init.c | 207 Dwarf_Obj_Access_Interface *iface; local 218 if ((iface = calloc(1, sizeof(*iface))) == NULL) { 224 free(iface); 237 iface->object = e; 238 iface->methods = &e->eo_methods; 240 dbg->dbg_iface = iface; 371 Dwarf_Obj_Access_Interface *iface; local 375 iface = dbg->dbg_iface; 376 assert(iface != NULL) [all...] |