/external/wpa_supplicant_8/src/drivers/ |
rfkill.h | 16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
|
driver_openbsd.c | 21 char ifname[IFNAMSIZ + 1]; member in struct:openbsd_driver_data 36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name)); 71 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, 82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name)); 94 wpa_driver_openbsd_init(void *ctx, const char *ifname) 107 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname));
|
driver_ndis.h | 15 const char *ifname, 28 char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */ member in struct:wpa_driver_ndis_data
|
driver_wext.h | 19 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_wext_data 61 int wpa_driver_wext_set_key(const char *ifname, void *priv, enum wpa_alg alg, 71 const char *ifname); 73 void * wpa_driver_wext_init(void *ctx, const char *ifname);
|
driver_roboswitch.c | 58 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_roboswitch_data 211 sep = drv->ifname + os_strlen(drv->ifname); 213 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, 218 __func__, drv->ifname); 234 return drv->ifname; 347 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) 358 /* copy ifname and take a pointer to the second to last character */ 359 sep = drv->ifname + 360 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2 [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_none.c | 19 char ifname[17]; member in struct:l2_packet_data 68 const char *ifname, const u8 *own_addr, unsigned short protocol, 78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
|
l2_packet_linux.c | 21 char ifname[IFNAMSIZ + 1]; member in struct:l2_packet_data 92 const char *ifname, const u8 *own_addr, unsigned short protocol, 104 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); 118 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); 183 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name));
|
l2_packet_freebsd.c | 38 char ifname[100]; member in struct:l2_packet_data 109 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); 110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); 113 fprintf(stderr, "ifname='%s'\n", l2->ifname); 151 __func__, l2->ifname, strerror(errno)); 228 const char *ifname, const u8 *own_addr, unsigned short protocol, 238 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); [all...] |
l2_packet_ndis.c | 68 char ifname[100]; member in struct:l2_packet_data 349 const char *ifname, const u8 *own_addr, unsigned short protocol, 374 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
|
l2_packet_pcap.c | 33 char ifname[100]; member in struct:l2_packet_data 55 l2->eth = eth_open(l2->ifname); 57 printf("Failed to open interface '%s'.\n", l2->ifname); 64 l2->ifname); 204 char ifname[128]; local 205 os_snprintf(ifname, sizeof(ifname), "\\Device\\NPF_%s", l2->ifname); 206 pcap_lookupnet(ifname, &pcap_netp, &pcap_maskp, pcap_err); 207 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err) [all...] |
l2_packet_winpcap.c | 50 char ifname[100]; member in struct:l2_packet_data 168 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); 169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); 172 fprintf(stderr, "ifname='%s'\n", l2->ifname); 199 const char *ifname, const u8 *own_addr, unsigned short protocol, 210 if (os_strncmp(ifname, "\\Device\\NPF_", 12) == 0) 211 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); [all...] |
/external/wpa_supplicant_8/src/ap/ |
preauth_auth.c | 36 char *ifname; member in struct:rsn_preauth_interface 51 "from interface '%s'", piface->ifname); 97 static int rsn_preauth_iface_add(struct hostapd_data *hapd, const char *ifname) 101 wpa_printf(MSG_DEBUG, "RSN pre-auth interface '%s'", ifname); 108 piface->ifname = os_strdup(ifname); 109 if (piface->ifname == NULL) { 113 piface->l2 = l2_packet_init(piface->ifname, NULL, ETH_P_PREAUTH, 126 os_free(piface->ifname); 143 os_free(prev->ifname); [all...] |
vlan_init.c | 483 static void vlan_newlink(char *ifname, struct hostapd_data *hapd) 491 wpa_printf(MSG_DEBUG, "VLAN: vlan_newlink(%s)", ifname); 494 if (os_strcmp(ifname, vlan->ifname) == 0) { 527 if (!br_addif(br_name, ifname)) 530 ifconfig_up(ifname); 539 static void vlan_dellink(char *ifname, struct hostapd_data *hapd) 547 wpa_printf(MSG_DEBUG, "VLAN: vlan_dellink(%s)", ifname); 552 if (os_strcmp(ifname, vlan->ifname) == 0) 622 char ifname[IFNAMSIZ + 1]; local 862 char *ifname, *pos; local [all...] |
wpa_auth_glue.c | 248 const char *ifname = hapd->conf->iface; local 251 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); 252 if (ifname == NULL) 256 return hostapd_drv_set_key(ifname, hapd, alg, addr, idx, 1, NULL, 0,
|
/libcore/luni/src/main/java/java/net/ |
Inet6Address.java | 52 private String ifname; field in class:Inet6Address 126 // then set the scope_id and ifname. 137 address.ifname = nif.getName(); 239 return (scope_ifname_set && ifname != null) ? NetworkInterface.getByName(ifname) : null; 250 new ObjectStreamField("ifname", String.class), 264 fields.put("ifname", ifname); 273 ifname = (String) fields.get("ifname", null) [all...] |
/external/dhcpcd/ |
if-bsd.c | 115 getifssid(const char *ifname, char *ssid) 128 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 138 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name)); 315 char ifname[IF_NAMESIZE]; local 366 memset(ifname, 0, sizeof(ifname)); 367 if (!(if_indextoname(ifm->ifm_index, ifname))) 387 handle_carrier(len, ifm->ifm_flags, ifname); 413 if (!if_indextoname(ifam->ifam_index, ifname)) 429 handle_hwaddr(ifname, hwaddr [all...] |
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 89 char ifname[9], lastname[IFNAMSIZ]; local 112 &index, &plen, &scope, &flags, ifname) != EOF) { 115 if (strncmp(lastname, ifname, IFNAMSIZ) == 0) { 120 strncpy(lastname, ifname, IFNAMSIZ); 167 strncpy(ifi->ifi_name, ifname, IFI_NAME); 173 strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
|
/external/wpa_supplicant_8/src/utils/ |
wpa_debug.c | 611 const char *ifname = wpa_msg_ifname_cb(ctx); local 612 if (ifname) { 614 ifname);
|
/external/wpa_supplicant_8/src/wps/ |
wps_er.h | 78 char ifname[17]; member in struct:wps_er
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_unix.c | 170 char *ifname, *ifend; local 172 ifname = os_strstr(buf, "interface="); 173 if (ifname != NULL) { 174 ifend = os_strchr(ifname + 10, ' '); 178 *(ifname - 1) = '\0'; 179 wpa_printf(MSG_DEBUG, "Found %s", ifname); 181 if (os_strcmp(wpa_s->ifname, ifname + 10) == 0) 185 wpa_printf(MSG_ERROR, "P2P: %s does not exist", ifname); 189 os_memmove(ifname, ifend, strlen(ifend) + 1) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataCallResponse.java | 45 public String ifname = ""; field in class:DataCallResponse 84 .append("' ifname='").append(ifname); 119 String propertyPrefix = "net." + ifname + "."; 123 linkProperties.setInterfaceName(ifname); 157 throw new UnknownHostException("no address for ifname=" + ifname);
|
/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);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
atmbr2684.h | 46 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 60 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon26287
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
atmbr2684.h | 46 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 60 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon27877
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
atmbr2684.h | 46 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 60 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon29392
|