/external/wpa_supplicant_8/src/ap/ |
sta_info.c | 147 hapd->iface->num_sta_non_erp--; 148 if (hapd->iface->num_sta_non_erp == 0) 154 hapd->iface->num_sta_no_short_slot_time--; 155 if (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G 156 && hapd->iface->num_sta_no_short_slot_time == 0) 162 hapd->iface->num_sta_no_short_preamble--; 163 if (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G 164 && hapd->iface->num_sta_no_short_preamble == 0) 170 hapd->iface->num_sta_ht_no_gf--; 175 hapd->iface->num_sta_no_ht-- 542 struct hostapd_iface *iface = hapd->iface; local 661 const char *iface; local [all...] |
hostapd.c | 38 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd); 46 int (*cb)(struct hostapd_iface *iface, 53 ret = cb(interfaces->iface[i], ctx); 74 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); 76 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); 94 hostapd_setup_encryption(hapd->conf->iface, hapd); 107 wpa_printf(MSG_DEBUG, "Reconfigured interface %s", hapd->conf->iface); 111 static void hostapd_clear_old(struct hostapd_iface *iface) 119 for (j = 0; j < iface->num_bss; j++) { 120 hostapd_flush_old_stations(iface->bss[j] 1181 struct hostapd_iface **iface, *hapd_iface; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.c | 373 struct wpas_dbus_priv *iface = wpa_s->global->dbus; local 377 if (iface == NULL) 388 dbus_connection_send(iface->con, _signal, NULL); 406 struct wpas_dbus_priv *iface; local 416 iface = wpa_s->global->dbus; 417 if (iface == NULL) 455 dbus_connection_send(iface->con, _signal, NULL); 471 struct wpas_dbus_priv *iface = wpa_s->global->dbus; local 476 if (iface == NULL) 491 dbus_connection_send(iface->con, _signal, NULL) 504 struct wpas_dbus_priv *iface; local 552 struct wpas_dbus_priv *iface; local [all...] |
dbus_old_handlers.c | 150 * Try to get the wpa_supplicant record for this iface, return 160 struct wpa_interface iface; local 161 os_memset(&iface, 0, sizeof(iface)); 162 iface.ifname = ifname; 163 iface.driver = driver; 164 iface.driver_param = driver_param; 165 iface.confname = confname; 166 iface.bridge_ifname = bridge_ifname; 168 if ((wpa_s = wpa_supplicant_add_iface(global, &iface))) { 827 char *iface = NULL, *net_id = NULL; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
main_winsvc.c | 69 struct wpa_interface iface; local 78 os_memset(&iface, 0, sizeof(iface)); 79 iface.driver = "ndis"; 89 iface.ctrl_interface = (char *) ctrl_interface; 100 iface.ifname = (char *) adapter; 111 iface.confname = (char *) config; 122 if (wpa_supplicant_add_iface(global, &iface) == NULL) { 125 "initialization failure", iface.ifname);
|
ap.c | 52 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); 982 struct hostapd_iface *iface = wpa_s->ap_iface; local 993 iface->conf->bss[0].p2p = P2P_ENABLED | P2P_GROUP_OWNER; 995 iface->conf->bss[0].p2p = P2P_ENABLED | P2P_GROUP_OWNER | 999 hapd = iface->bss[0]; 1002 ieee802_11_set_beacons(iface);
|
wpa_priv.c | 43 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, 46 if (iface->drv_priv) { 48 if (iface->driver->deinit) 49 iface->driver->deinit(iface->drv_priv); 50 iface->drv_priv = NULL; 51 iface->wpas_registered = 0; 54 if (iface->l2) { 57 l2_packet_deinit(iface->l2); 58 iface->l2 = NULL 320 struct wpa_priv_interface *iface = ctx; local 457 struct wpa_priv_interface *iface = eloop_ctx; local 560 struct wpa_priv_interface *iface; local 825 struct wpa_priv_interface *iface = ctx; local 888 struct wpa_priv_interface *iface = ctx; local 960 struct wpa_priv_interface *interfaces = NULL, *iface; local [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsTest.java | 185 final NetworkStats iface = new NetworkStats(TEST_START, 2) local 188 assertEquals(384L, iface.getTotalBytes()); 313 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, 316 assertValues(entry, iface, uid, set, tag); 321 NetworkStats.Entry entry, String iface, int uid, int set, int tag) { 322 assertEquals(iface, entry.iface);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Nat464Xlat.java | 105 String iface = lp.getInterfaceName(); local 106 Slog.i(TAG, "Starting clatd on " + iface + ", lp=" + lp); 108 mNMService.startClatd(iface); 144 public void interfaceAdded(String iface) { 145 if (iface.equals(CLAT_INTERFACE_NAME)) { 154 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); 156 mLP.setInterfaceName(iface); 158 iface); 178 public void interfaceRemoved(String iface) { 179 if (iface == CLAT_INTERFACE_NAME) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
control.h | 40 snd_ctl_elem_iface_t iface; /* interface identifier */ member in struct:snd_kcontrol_new
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
control.h | 40 snd_ctl_elem_iface_t iface; /* interface identifier */ member in struct:snd_kcontrol_new
|
/system/netd/ |
DnsProxyListener.cpp | 52 char* iface, 58 mIface(iface), 192 char* iface = argv[7]; local 193 if (strcmp(iface, "^") == 0) { 194 iface = NULL; 196 iface = strdup(iface); 219 iface ? iface : "[nulliface]", 225 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints, iface, pid) 255 char* iface = argv[1]; local 316 char iface[IF_NAMESIZE + 1]; local 374 char* iface = argv[4]; local [all...] |
CommandListener.cpp | 258 // interface route add/remove iface default/secondary dest prefix gateway 356 // arglist: iface [addr prefixLength] flags 361 ALOGD("Setting iface cfg"); 427 // arglist: iface 779 if (!strcmp(argv[1], "setdefaultif")) { // "resolver setdefaultif <iface>" 788 // "resolver setifdns <iface> <domains> <dns1> <dns2> ..." 814 } else if (!strcmp(argv[1], "flushif")) { // "resolver flushif <iface>" 822 } else if (!strcmp(argv[1], "setifaceforpid")) { // resolver setifaceforpid <iface> <pid> 1257 const char* iface = argv[2]; local [all...] |
/external/dhcpcd/ |
net.c | 204 struct interface *iface = NULL; local 211 iface = xzalloc(sizeof(*iface)); 212 strlcpy(iface->name, ifname, sizeof(iface->name)); 213 iface->flags = ifr.ifr_flags; 216 iface->metric = 200 + if_nametoindex(iface->name); 217 if (getifssid(ifname, iface->ssid) != -1) { 218 iface->wireless = 1 [all...] |
/external/dnsmasq/src/ |
network.c | 67 if (strncmp(name, alias->iface, IF_NAMESIZE) == 0) 71 if (!(newindex = if_nametoindex(bridge->iface))) 79 strncpy(name, bridge->iface, IF_NAMESIZE); 121 struct irec *iface; local 129 for (iface = *irecp; iface; iface = iface->next) 130 if (sockaddr_isequal(&iface->addr, addr)) 191 if ((iface = whine_malloc(sizeof(struct irec))) 534 struct irec *iface; local 816 struct irec *iface; local [all...] |
dnsmasq.c | 1134 struct irec *iface = NULL; local 1143 iface = listener->iface; 1157 for (iface = daemon->interfaces; iface; iface = iface->next) 1158 if (sockaddr_isequal(&iface->addr, &tcp_addr)) 1162 if (!iface) 1208 dst_addr_4 = iface->addr.in.sin_addr [all...] |
/external/libppp/src/ |
bundle.h | 73 struct iface; 86 struct iface *iface; /* Interface information */ member in struct:bundle
|
iface.c | 26 * $FreeBSD: src/usr.sbin/ppp/iface.c,v 1.38.24.1 2010/12/21 17:10:29 kensmith Exp $ 84 #include "iface.h" 91 struct iface * 101 struct iface *iface; local 139 iface = NULL; 142 while (ptr < end && iface == NULL) { 148 iface = (struct iface *)malloc(sizeof *iface); 653 struct iface *iface = arg->bundle->iface, *current; local [all...] |
/external/libusb/libusb/ |
core.c | 679 const struct libusb_interface *iface = &config->interface[iface_idx]; local 682 for (altsetting_idx = 0; altsetting_idx < iface->num_altsetting; 685 = &iface->altsetting[altsetting_idx]; [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_ssdp.c | 129 struct upnp_wps_device_interface *iface; local 132 iface = dl_list_first(&sm->interfaces, 134 uuid_bin2str(iface->wps->uuid, uuid_string, sizeof(uuid_string)); 582 struct upnp_wps_device_interface *iface; local 583 iface = dl_list_first( 588 uuid_bin2str(iface->wps->uuid, uuid_string,
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 43 /** {@link #iface} value when interface details unavailable. */ 64 private String[] iface; field in class:NetworkStats 75 public String iface; field in class:NetworkStats.Entry 94 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, 96 this.iface = iface; 127 builder.append("iface=").append(iface); 146 && iface.equals(e.iface); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
LockdownVpnTracker.java | 159 final String iface = vpnConfig.interfaze; local 162 if (TextUtils.equals(iface, mAcceptedIface) 167 Slog.d(TAG, "VPN connected using iface=" + iface + ", sourceAddr=" + sourceAddr); 174 mNetService.setFirewallInterfaceRule(iface, true); 178 mAcceptedIface = iface;
|
/system/core/adb/ |
usb_osx.c | 56 static usb_handle* CheckInterface(IOUSBInterfaceInterface **iface, 124 IOUSBInterfaceInterface220 **iface = NULL; local 151 &iface); 154 if (result || !iface) { 163 kr = (*iface)->GetDevice(iface, &usbDevice); 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, 262 (*iface)->Release(iface);
|
/bionic/libc/netbsd/ |
gethnamaddr.c | 518 android_gethostbynameforiface(const char *name, int af, const char *iface) 525 hp = gethostbyname_internal(name, af, res, iface); 744 gethostbyname_internal(const char *name, int af, res_state res, const char *iface) 751 res_setiface(res, iface); 761 iface == NULL ? "^" : iface, 783 socklen_t len, int af, const char* iface) 795 addrStr, len, af, iface == NULL ? "^" : iface) < 0) { 813 socklen_t len, int af, const char* iface) 1317 const char* iface; local [all...] |
/external/iproute2/misc/ |
arpd.c | 51 __u32 iface; member in struct:dbkey 336 key.iface = ndm->ndm_ifindex; 372 respond_to_kernel(key.iface, key.addr, dbdat.data, dbdat.size); 510 key.iface = sll.sll_ifindex; 701 if (sscanf(buf, "%u%s%s", &k.iface, ipbuf, macbuf) != 3) { 732 if (handle_if(key->iface)) { 736 key->iface, 741 key->iface,
|