/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");
|
mesh.c | 176 os_strlcpy(bss->conf->iface, wpa_s->ifname, sizeof(bss->conf->iface)); 544 static int wpas_mesh_get_ifname(struct wpa_supplicant *wpa_s, char *ifname, 547 char *ifname_ptr = wpa_s->ifname; 550 res = os_snprintf(ifname, len, "mesh-%s-%d", ifname_ptr, 553 (os_strlen(ifname) >= IFNAMSIZ && 554 os_strlen(wpa_s->ifname) < IFNAMSIZ)) { 556 res = os_snprintf(ifname, len, "mesh-%d", wpa_s->mesh_if_idx); 565 int wpas_mesh_add_interface(struct wpa_supplicant *wpa_s, char *ifname, 572 if (ifname[0] == '\0' && wpas_mesh_get_ifname(wpa_s, ifname, len) < 0 [all...] |
wpa_priv.c | 28 char *ifname; member in struct:wpa_priv_interface 84 iface->drv_priv = iface->driver->init2(iface, iface->ifname, 87 iface->drv_priv = iface->driver->init(iface, iface->ifname); 97 "'%s'", iface->driver_name, iface->ifname); 368 res = iface->driver->set_key(iface->ifname, iface->drv_priv, 461 iface->l2 = l2_packet_init(iface->ifname, NULL, proto, 568 cmd, iface->ifname); 640 os_free(iface->ifname); 688 iface->ifname = os_strdup(pos); 689 if (iface->ifname == NULL) 889 char *ifname; local [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_linux.c | 24 char ifname[IFNAMSIZ + 1]; member in struct:l2_packet_data 160 l2->ifname); 246 const char *ifname, const u8 *own_addr, unsigned short protocol, 258 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); 275 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); 313 const char *br_ifname, const char *ifname, const u8 *own_addr, 368 ll.sll_ifindex = if_nametoindex(ifname); 432 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)) [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/drivers/ |
driver_ndis.c | 966 static int wpa_driver_ndis_set_key(const char *ifname, void *priv, 1074 wpa_driver_ndis_set_key(drv->ifname, drv, WPA_ALG_WEP, 1112 wpa_driver_ndis_set_key(drv->ifname, drv, WPA_ALG_WEP, 2715 WCHAR ifname[MAX_NDIS_DEVICE_NAME_LEN]; local [all...] |
driver_bsd.c | 65 char ifname[IFNAMSIZ+1]; /* interface name */ member in struct:bsd_driver_data 95 bsd_get_drvname(void *priv, const char *ifname) 101 if (os_strcmp(drv->ifname, ifname) == 0) 118 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); 140 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); 184 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 207 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); 222 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); 240 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)) [all...] |
driver_nl80211.c | 799 int ifindex, const char *ifname) 803 if (drv && os_strcmp(drv->first_bss->ifname, ifname) == 0) { 804 if (if_nametoindex(drv->first_bss->ifname) == 0) { 806 drv->first_bss->ifname); 812 drv->first_bss->ifname); 818 os_strlcpy(event.interface_status.ifname, ifname, 819 sizeof(event.interface_status.ifname)); 831 int ifindex, const char *ifname) 929 char ifname[IFNAMSIZ + 1]; local 1111 char ifname[IFNAMSIZ + 1]; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
ap_drv_ops.h | 32 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, 34 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname); 35 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname); 51 const char *ifname, const u8 *addr, void *bss_ctx, 55 const char *ifname); 58 int hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, 83 int hostapd_drv_set_key(const char *ifname, 135 static inline int hostapd_drv_set_sta_vlan(const char *ifname, 141 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname,
|
/external/wpa_supplicant_8/src/fst/ |
fst_ctrl_iface.c | 119 is->ifname, is->group_id); 131 ps->ifname, MAC2STR(ps->addr)); 510 const char *ifname; local 525 ifname = os_strchr(group_id, ' '); 526 if (!ifname) 528 ifname++; 533 if (os_strncmp(ifname, in, os_strlen(in)) == 0) { 560 char ifname[FST_MAX_INTERFACE_SIZE]; local 566 if (fst_read_next_text_param(params, ifname, sizeof(ifname), &endp) | [all...] |
fst_group.h | 49 const char *ifname);
|
/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); 173 throw new UnknownHostException("no address for ifname=" + ifname);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 91 " cmd (%s)", bss->ifname, cmd); 96 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 99 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); 104 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 112 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ);
|
/external/autotest/client/virt/ |
virt_utils.py | 72 def __init__(self, ifname): 73 NetError.__init__(self, ifname) 74 self.ifname = ifname 77 return "Interface %s does not exist" % self.ifname 81 def __init__(self, ifname, details=None): 82 NetError.__init__(self, ifname, details) 83 self.ifname = ifname 87 e_msg = "Cannot create TAP device %s" % self.ifname [all...] |
/external/webrtc/webrtc/base/ |
macifaddrs_converter.cc | 181 bool GetIPAttributes(const char* ifname, 208 bool IPv6AttributesGetter::GetIPAttributes(const char* ifname, 216 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name) - 1);
|
/system/connectivity/shill/shims/ |
ppp.cc | 110 void PPP::OnConnect(const string& ifname) { 111 LOG(INFO) << __func__ << "(" << ifname << ")"; local 117 dict[kPPPInterfaceName] = ifname;
|
/external/autotest/client/site_tests/network_UdevRename/ |
network_UdevRename.py | 12 def FindDriver(ifname): 15 @param ifname Interface name 19 driver_file = '/sys/class/net/%s/device/driver/module' % ifname
|
/external/dhcpcd-6.8.2/dhcpcd-hooks/ |
50-yp.conf | 12 local cf=/etc/yp.conf."$ifname" prefix= x= pid=
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataCallResponseTest.java | 45 mDcResponse.ifname = "rmnet_data7"; 65 assertEquals(mDcResponse.ifname, linkProperties.getInterfaceName());
|
/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);
|
/system/netd/server/binder/android/net/ |
INetd.aidl | 162 * @param ifName the interface name 169 void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, 171 void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, 179 * @param ifname The interface name portion of the path; may also be "all" or "default". 188 void setProcSysNet(int family, int which, in @utf8InCpp String ifname,
|
/external/ppp/pppd/ |
session.c | 226 (pam_set_item(pamh, PAM_RHOST, ifname) == PAM_SUCCESS); 374 logwtmp(ttyName, user, ifname); /* Add wtmp login entry */ 394 (void)strncpy(ll.ll_host, ifname, sizeof(ll.ll_host)); 400 info("user %s logged in on tty %s intf %s", user, ttyName, 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)
|
/packages/apps/Test/connectivity/sl4n/facades/wifi/ |
wifi_facade.cpp | 160 int WifiFacade::BringInterfaceUpDown(const char *ifname, int dev_up) { 170 strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 174 LOG(ERROR) << "Could not read interface " << ifname << " flags: " << errno; 194 LOG(ERROR) << "Could not set interface " << ifname << " flags: " << errno;
|