/external/wpa_supplicant_8/wpa_supplicant/ |
preauth_test.c | 216 static void wpa_init_conf(struct wpa_supplicant *wpa_s, const char *ifname) 249 os_strlcpy(wpa_s->ifname, ifname, sizeof(wpa_s->ifname)); 250 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL); 252 l2 = l2_packet_init(wpa_s->ifname, NULL, ETH_P_RSN_PREAUTH, NULL, 289 "<ifname>\n");
|
wpa_priv.c | 28 char *ifname; member in struct:wpa_priv_interface 64 iface->drv_priv = iface->driver->init(iface, iface->ifname); 71 "'%s'", iface->driver_name, iface->ifname); 284 res = iface->driver->set_key(iface->ifname, iface->drv_priv, 372 iface->l2 = l2_packet_init(iface->ifname, NULL, proto, 479 cmd, iface->ifname); 548 os_free(iface->ifname); 595 iface->ifname = os_strdup(pos); 596 if (iface->ifname == NULL) { 601 len = os_strlen(dir) + 1 + os_strlen(iface->ifname); 764 char *ifname; local [all...] |
main.c | 36 " -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] " 44 " [-N -i<ifname> -c<conf> [-C<ctrl>] " 226 iface->ifname = optarg; 317 ifaces[i].ifname == NULL) {
|
/external/wpa_supplicant_8/src/drivers/ |
driver_wext.c | 48 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 78 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 103 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 132 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 174 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 216 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 546 if (len > sizeof(event.interface_status.ifname)) 547 len = sizeof(event.interface_status.ifname) - 1; 548 os_memcpy(event.interface_status.ifname, buf, len); 554 event.interface_status.ifname, [all...] |
driver_ndis.c | 978 static int wpa_driver_ndis_set_key(const char *ifname, void *priv, 1086 wpa_driver_ndis_set_key(drv->ifname, drv, WPA_ALG_WEP, 1124 wpa_driver_ndis_set_key(drv->ifname, drv, WPA_ALG_WEP, 2727 WCHAR ifname[MAX_NDIS_DEVICE_NAME_LEN]; local [all...] |
driver_bsd.c | 56 char ifname[IFNAMSIZ+1]; /* interface name */ member in struct:bsd_driver_data 78 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); 100 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); 144 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 167 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 182 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); 200 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 264 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 290 bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, 569 os_strlcpy(creq.i_name, drv->ifname, sizeof(creq.i_name)) [all...] |
driver_none.c | 53 static void * none_driver_init(void *ctx, const char *ifname)
|
driver_nl80211.c | 227 char ifname[IFNAMSIZ + 1]; member in struct:i802_bss 409 const char *ifname); 1083 struct wpa_driver_nl80211_data *drv, char *ifname) 1087 if (os_strcmp(drv->first_bss->ifname, ifname) == 0) { 1088 if (if_nametoindex(drv->first_bss->ifname) == 0) { 1090 drv->first_bss->ifname); 1096 drv->first_bss->ifname); 1101 os_strlcpy(event.interface_status.ifname, ifname, 1201 char ifname[IFNAMSIZ + 1]; local 1342 char ifname[IFNAMSIZ + 1]; local [all...] |
driver_privsep.c | 26 char ifname[16]; member in struct:wpa_driver_privsep_data 187 static int wpa_driver_privsep_set_key(const char *ifname, void *priv, 345 len - sizeof(int) > sizeof(data.interface_status.ifname)) 352 os_memcpy(data.interface_status.ifname, buf + sizeof(int), 506 static void * wpa_driver_privsep_init(void *ctx, const char *ifname) 516 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)); 627 "%s/%s", priv_dir, drv->ifname);
|
driver_test.c | 47 char ifname[IFNAMSIZ]; member in struct:test_driver_bss 333 dbss->ifname, freq); 722 "freq %d MHz", bss->ifname, freq); 737 bss->ifname, freq, own_freq); 944 static int test_driver_bss_add(void *priv, const char *ifname, const u8 *bssid, 951 wpa_printf(MSG_DEBUG, "%s(ifname=%s bssid=" MACSTR ")", 952 __func__, ifname, MAC2STR(bssid)); 960 os_strlcpy(bss->ifname, ifname, IFNAMSIZ); 976 static int test_driver_bss_remove(void *priv, const char *ifname) [all...] |
/system/core/libnetutils/ |
dhcpclient.c | 129 static int dhcp_configure(const char *ifname, dhcp_info *info) 132 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, 389 int dhcp_init_ifc(const char *ifname) 407 if (ifc_get_hwaddr(ifname, hwaddr)) { 410 if (ifc_get_ifindex(ifname, &if_index)) { 414 s = open_raw_socket(ifname, hwaddr, if_index); 434 printerr("no acknowledgement from DHCP server\nconfiguring %s with offered parameters\n", ifname); 435 return dhcp_configure(ifname, &info); 514 printerr("configuring %s\n", ifname); 516 return dhcp_configure(ifname, &info) [all...] |
/external/wpa_supplicant_8/src/ap/ |
ap_drv_ops.h | 31 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, 33 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname); 34 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname); 50 const char *ifname, const u8 *addr, void *bss_ctx, 54 const char *ifname); 57 int hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, 82 int hostapd_drv_set_key(const char *ifname, 134 static inline int hostapd_drv_set_sta_vlan(const char *ifname, 140 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname,
|
ap_drv_ops.c | 272 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, 277 params.ifname = ifname; 295 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) 299 return hostapd_if_add(hapd, WPA_IF_AP_VLAN, ifname, hapd->own_addr, 304 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) 306 return hostapd_if_remove(hapd, WPA_IF_AP_VLAN, ifname); 431 const char *ifname, const u8 *addr, void *bss_ctx, 437 return hapd->driver->if_add(hapd->drv_priv, type, ifname, addr, 444 const char *ifname) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
addinterface.cpp | 102 bool AddInterface::addRegistryInterface(const QString &ifname) 161 (LPBYTE) ifname.unicode(), 162 (ifname.length() + 1) * sizeof(TCHAR)); 166 (LPBYTE) ifname.toLocal8Bit(), ifname.length() + 1); 194 * INTERFACE_ADD <ifname>TAB<confname>TAB<driver>TAB<ctrl_interface>TAB
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataCallResponse.java | 46 public String ifname = ""; field in class:DataCallResponse 87 .append(" ifname=").append(ifname) 129 String propertyPrefix = "net." + ifname + "."; 133 linkProperties.setInterfaceName(ifname); 167 throw new UnknownHostException("no address for ifname=" + ifname);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 86 " cmd (%s)", bss->ifname, cmd); 91 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 94 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); 99 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 107 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ);
|
/external/dhcpcd/ |
net.c | 80 if_nametoindex(const char *ifname) 85 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 201 init_interface(const char *ifname) 207 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 212 strlcpy(iface->name, ifname, sizeof(iface->name)); 217 if (getifssid(ifname, iface->ssid) != -1) { 227 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 233 LEASEFILE, ifname); 534 do_address(const char *ifname, 548 strcmp(ifa->ifa_name, ifname) != 0 [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_linux.c | 444 char *ifname = NULL; local 458 if ((status = dhd_option(&argv, &ifname, &help)) == CMD_OPT) { 459 if (ifname) 460 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 561 char *ifname = NULL; local 582 if ((status = dhd_option(&argv, &ifname, &help)) == CMD_OPT) { 585 if (ifname) 586 strncpy(ifr->ifr_name, ifname, IFNAMSIZ);
|
/external/bluetooth/bluedroid/test/suite/support/ |
callbacks.c | 28 void pan_control_state_changed(btpan_control_state_t state, int local_role, bt_status_t error, const char *ifname);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-dbus-new-signals.py | 33 ifname = if_obj.Get(WPAS_DBUS_INTERFACES_INTERFACE, 'Ifname', 35 print ifname 38 print "InterfaceAdded(%s): Ifname=%s" % (interface, properties['Ifname']) 147 ifname = sys.argv[1] 148 path = wpas.GetInterface(ifname)
|
p2p-nfc.py | 26 ifname = None variable 65 if ifname: 66 if ifname not in ctrl: 553 parser.add_argument('--ifname', '-i', 587 if args.ifname: 588 global ifname 589 ifname = args.ifname 590 print "Selected ifname " + ifname [all...] |
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 70 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 73 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); 78 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 86 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ);
|
/external/wpa_supplicant_8/hs20/client/ |
osu_client.c | 732 if (wpa_command(ctx->ifname, cmd) < 0) 750 if (set_cred_quoted(ctx->ifname, id, "excluded_ssid", txt) < 0) 816 if (set_cred_quoted(ctx->ifname, id, "roaming_partner", val) < 0) 887 set_cred(ctx->ifname, id, "min_dl_bandwidth_home", dl) < 0) 890 set_cred(ctx->ifname, id, "min_ul_bandwidth_home", ul) < 0) 894 set_cred(ctx->ifname, id, "min_dl_bandwidth_roaming", dl) < 898 set_cred(ctx->ifname, id, "min_ul_bandwidth_roaming", ul) < 973 if (set_cred(ctx->ifname, id, "req_conn_capab", buf) < 0) 1001 if (set_cred(ctx->ifname, id, "max_bss_load", str) < 0) 1043 if (set_cred(ctx->ifname, id, "sp_priority", str) < 0 2006 const char *ifname = ctx->ifname; local 2296 const char *ifname; local [all...] |
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 165 char ifname[IFNAMSIZ]; local 212 if (!if_indextoname(ifaddr->ifa_index, ifname)) { 243 asprintf(&mParams[1], "INTERFACE=%s", ifname); 398 char ifname[IFNAMSIZ]; local 399 if (!if_indextoname(msg->nduseropt_ifindex, ifname)) { 458 asprintf(&mParams[0], "INTERFACE=%s", ifname);
|
/external/wpa_supplicant_8/src/wps/ |
wps_er_ssdp.c | 163 if (add_ssdp_network(er->ifname)) { 171 er->ifname : NULL);
|