/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_supplicant.c | 3429 const char *ifname, *driver, *rn; local [all...] |
main_winsvc.c | 100 iface.ifname = (char *) adapter; 125 "initialization failure", iface.ifname);
|
p2p_supplicant.h | 31 int wpas_p2p_group_remove(struct wpa_supplicant *wpa_s, const char *ifname); 90 int wpas_p2p_invite_group(struct wpa_supplicant *wpa_s, const char *ifname,
|
wpa_cli.c | 106 printf("wpa_cli [-p<path to ctrl sockets>] [-i<ifname>] [-hvB] " 303 static int wpa_cli_open_connection(const char *ifname, int attach) 306 ctrl_conn = wpa_ctrl_open(ifname); 311 mon_conn = wpa_ctrl_open(ifname); 318 if (ifname == NULL) 323 cfile = os_strdup(ifname); 330 flen = os_strlen(ctrl_iface_dir) + os_strlen(ifname) + 2; 335 ifname); 410 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s", 489 return wpa_ctrl_command(ctrl, "IFNAME"); 3681 char *ifname = NULL; local [all...] |
ctrl_iface_named_pipe.c | 160 priv->wpa_s->ifname); 163 priv->wpa_s->ifname); 527 priv->wpa_s->ifname);
|
wpa_supplicant_i.h | 107 * ifname - Interface name 109 const char *ifname; member in struct:wpa_interface 114 * If the driver interface (ifname) is included in a Linux bridge 394 char ifname[100]; member in struct:wpa_supplicant 937 const char *ifname);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.c | 353 char ifname[IFNAMSIZ]; local 355 os_snprintf(ifname, IFNAMSIZ, "%sap", drv->iface); 356 if (linux_set_iface_flags(drv->ioctl_sock, ifname, dev_up) < 0) 361 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 394 static int wpa_driver_hostap_set_key(const char *ifname, void *priv, 453 static int hostap_get_seqnum(const char *ifname, void *priv, const u8 *addr, 974 memcpy(drv->iface, params->ifname, sizeof(drv->iface));
|
/external/wpa_supplicant_8/src/wps/ |
wps_er.c | 1250 wps_er_init(struct wps_context *wps, const char *ifname, const char *filter) 1265 os_strlcpy(er->ifname, ifname, sizeof(er->ifname)); 1275 if (filter && os_strncmp(filter, "ifname=", 7) == 0) { 1281 os_strlcpy(er->ifname, pos, len < sizeof(er->ifname) ? 1282 len + 1 : sizeof(er->ifname)); 1285 os_strlcpy(er->ifname, pos, sizeof(er->ifname)); [all...] |
/external/iputils/ |
rarpd.c | 42 char *ifname; variable 608 ifname = argv[optind]; 614 if (ifname) { 617 strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
|
arping.c | 503 char *ifname; member in struct:sysfs_devattr_values 650 free(v->ifname); 791 sysfs_devattr_values.ifname = strdup(dev->name); 792 if (!sysfs_devattr_values.ifname) { 811 device.name = device.sysfs->ifname;
|
/external/ppp/pppd/plugins/pppoatm/ |
pppoatm.c | 184 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
|
/external/qemu/ |
tap-win32.c | 668 const char *name, const char *ifname) 675 if (tap_win32_open(&s->handle, ifname) < 0) { 676 printf("tap: Could not open '%s'\n", ifname); 684 "tap: ifname=%s", ifname);
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_glue.c | 273 const char *ifname = hapd->conf->iface; local 276 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); 277 if (ifname == NULL) 281 return hostapd_drv_set_key(ifname, hapd, alg, addr, idx, 1, NULL, 0,
|
hostapd.c | 199 char *ifname) 204 if (hostapd_drv_set_key(ifname, hapd, WPA_ALG_NONE, NULL, i, 207 "encryption keys (ifname=%s keyidx=%d)", 208 ifname, i); 214 if (hostapd_drv_set_key(ifname, hapd, WPA_ALG_NONE, 219 "(ifname=%s keyidx=%d)", ifname, i); 1522 const char *ifname; local [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
driver_nl80211.h | 97 char ifname[IFNAMSIZ + 1]; member in struct:i802_bss
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
halutil.cpp | 70 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) 75 printMsg("setting interface %s flags (%s)\n", ifname, dev_up ? "UP" : "DOWN"); 83 strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 89 printMsg("Could not read interface %s flags: %d\n", ifname, errno); 97 printMsg("interface %s is already up\n", ifname); 103 printMsg("interface %s is already down\n", ifname); 110 printMsg("Could not set interface %s flags \n", ifname); 113 printMsg("set interface %s flags (%s)\n", ifname, dev_up ? "UP" : "DOWN"); [all...] |
/external/ppp/pppd/plugins/radius/ |
radius.c | 64 { "map-to-ifname", o_bool, &portnummap, 90 static int get_client_port(char *ifname); 274 rstate.client_port = get_client_port(portnummap ? devnam : ifname); 374 rstate.client_port = get_client_port (portnummap ? devnam : ifname); [all...] |
/external/dhcpcd/ |
dhcpcd.c | 250 find_interface(const char *ifname) 255 if (strcmp(ifp->name, ifname) == 0) 902 handle_carrier(int action, int flags, const char *ifname) 910 if (strcmp(iface->name, ifname) == 0) 914 handle_interface(1, ifname); 927 syslog(LOG_ERR, "%s: carrier_status: %m", ifname); [all...] |
configure.c | 441 const char *ifname = rt->iface->name; local 445 syslog(LOG_DEBUG, "%s: %s route to %s/%d", ifname, cmd, 449 syslog(LOG_DEBUG, "%s: %s host route to %s", ifname, cmd, 452 syslog(LOG_DEBUG, "%s: %s default route via %s", ifname, cmd, 455 syslog(LOG_DEBUG, "%s: %s route to %s/%d via %s", ifname, cmd,
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers.c | 557 char *ifname = NULL; local 575 } else if (!os_strcmp(entry.key, "Ifname") && 577 os_free(ifname); 578 ifname = os_strdup(entry.str_value); 580 if (ifname == NULL) 602 if (ifname == NULL) 603 goto error; /* Required Ifname argument missing */ 609 if (wpa_supplicant_get_iface(global, ifname) != NULL) { 619 iface.ifname = ifname; 695 const char *ifname; local 3051 const char *ifname = wpa_s->ifname; local [all...] |
/external/ppp/pppd/ |
main.c | 128 char ifname[32]; /* Interface name */ variable 782 slprintf(ifname, sizeof(ifname), "%s%d", PPP_DRV_NAME, ifunit); 783 script_setenv("IFNAME", ifname, iskey); 858 _PATH_VARRUN, ifname); 883 if (ifname[0]) 884 fprintf(pidfile, "%s\n", ifname); [all...] |
/external/libpcap/ |
pcap-dlpi.c | [all...] |
/external/wpa_supplicant_8/src/utils/ |
wpa_debug.c | 616 const char *ifname = wpa_msg_ifname_cb(ctx); local 617 if (ifname) { 619 ifname);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 375 private void onControlStateChanged(int local_role, int state, int error, String ifname) { 377 log("onControlStateChanged: " + state + ", error: " + error + ", ifname: " + ifname); 379 mPanIfName = ifname;
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa.h | 114 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, 195 static inline void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname,
|