/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_drv_ops.h | 36 const u8 *addr, int aid, int val); 38 const u8 *addr, u16 aid, u16 capability, 50 const char *ifname, const u8 *addr, void *bss_ctx, 58 const u8 *addr, int idx, u8 *seq); 66 int hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, 84 enum wpa_alg alg, const u8 *addr, 91 const u8 *addr, int reason); 93 const u8 *addr, int reason); 97 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, 99 int hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, 134 hostapd_drv_set_sta_vlan(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int vlan_id) argument 144 hostapd_drv_get_inact_sec(struct hostapd_data *hapd, const u8 *addr) argument 152 hostapd_drv_sta_remove(struct hostapd_data *hapd, const u8 *addr) argument 160 hostapd_drv_hapd_send_eapol(struct hostapd_data *hapd, const u8 *addr, const u8 *data, size_t data_len, int encrypt, u32 flags) argument 172 hostapd_drv_read_sta_data( struct hostapd_data *hapd, struct hostap_sta_driver_data *data, const u8 *addr) argument 181 hostapd_drv_sta_clear_stats(struct hostapd_data *hapd, const u8 *addr) argument 232 hostapd_drv_poll_client(struct hostapd_data *hapd, const u8 *own_addr, const u8 *addr, int qos) argument [all...] |
H A D | ieee802_11_auth.c | 33 macaddr addr; member in struct:hostapd_cached_radius_acl 48 macaddr addr; member in struct:hostapd_acl_query_data 100 static int hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, argument 112 if (os_memcmp(entry->addr, addr, ETH_ALEN) != 0) 157 static int hostapd_radius_acl_query(struct hostapd_data *hapd, const u8 *addr, argument 168 radius_msg_make_authenticator(msg, addr, ETH_ALEN); 170 os_snprintf(buf, sizeof(buf), RADIUS_ADDR_FORMAT, MAC2STR(addr)); 190 MAC2STR(addr)); 204 if (radius_client_send(hapd->radius, msg, RADIUS_AUTH, addr) < 232 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument [all...] |
H A D | wmm.c | 127 static void wmm_send_action(struct hostapd_data *hapd, const u8 *addr, argument 137 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, 143 os_memcpy(m->da, addr, ETH_ALEN);
|
H A D | wnm_ap.c | 25 static int ieee80211_11_get_tfs_ie(struct hostapd_data *hapd, const u8 *addr, argument 30 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len); 35 static int ieee80211_11_set_tfs_ie(struct hostapd_data *hapd, const u8 *addr, argument 40 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len); 46 const u8 *addr, u8 dialog_token, 63 sta = ap_get_sta(hapd, addr); 82 if (ieee80211_11_get_tfs_ie(hapd, addr, wnmtfs_ie, &wnmtfs_ie_len, 98 os_memcpy(mgmt->da, addr, ETH_ALEN); 160 addr, NULL, NULL); 175 addr, NUL 45 ieee802_11_send_wnmsleep_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, u8 action_type, u16 intval) argument 190 ieee802_11_rx_wnmsleep_req(struct hostapd_data *hapd, const u8 *addr, const u8 *frm, int len) argument 249 ieee802_11_send_bss_trans_mgmt_request(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, const char *url) argument 301 ieee802_11_rx_bss_trans_mgmt_query(struct hostapd_data *hapd, const u8 *addr, const u8 *frm, size_t len) argument 330 ieee802_11_rx_bss_trans_mgmt_resp(struct hostapd_data *hapd, const u8 *addr, const u8 *frm, size_t len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | privsep_commands.h | 47 u8 addr[ETH_ALEN]; member in struct:privsep_cmd_set_key
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_gnutls.c | 15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument 24 gcry_md_write(hd, addr[i], len[i]); 55 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument 64 gcry_md_write(hd, addr[i], len[i]); 73 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument 82 gcry_md_write(hd, addr[i], len[i]);
|
H A D | crypto_nss.c | 25 size_t num_elem, const u8 *addr[], const size_t *len, 38 HASH_Update(ctx, addr[i], len[i]); 119 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument 121 return nss_hash(HASH_AlgMD5, 16, num_elem, addr, len, mac); 125 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument 127 return nss_hash(HASH_AlgSHA1, 20, num_elem, addr, len, mac); 131 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, argument 134 return nss_hash(HASH_AlgSHA256, 32, num_elem, addr, len, mac); 24 nss_hash(HASH_HashType type, unsigned int max_res_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_gpsk_common.c | 45 const u8 *addr[2]; local 50 addr[0] = ibuf; 52 addr[1] = data; 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) 80 const u8 *addr[2]; local 85 addr[0] = ibuf; 87 addr[1] = data; 95 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash);
|
H A D | eap_sake_common.c | 217 const unsigned char *addr[4]; local 220 addr[0] = (u8 *) label; /* Label | Y */ 222 addr[1] = data; /* Msg[start] */ 224 addr[2] = data2; /* Msg[end] */ 226 addr[3] = &counter; /* Length */ 233 hmac_sha1_vector(key, key_len, 4, addr, len, 237 hmac_sha1_vector(key, key_len, 4, addr, len,
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_leap.c | 334 const u8 *addr[5], *password; local 372 addr[0] = pw_hash_hash; 374 addr[1] = data->ap_challenge; 376 addr[2] = data->ap_response; 378 addr[3] = data->peer_challenge; 380 addr[4] = data->peer_response; 382 md5_vector(5, addr, elen, key);
|
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 48 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument 50 os_memcpy(addr, l2->own_addr, ETH_ALEN); 275 struct pcap_addr *addr; local 289 addr = dev->addresses; 290 while (addr) { 291 saddr = (struct sockaddr_in *) addr->addr; 298 addr = addr->next;
|
H A D | l2_packet_ndis.c | 84 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument 86 os_memcpy(addr, l2->own_addr, ETH_ALEN);
|
H A D | l2_packet_pcap.c | 43 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument 45 os_memcpy(addr, l2->own_addr, ETH_ALEN); 335 struct pcap_addr *addr; local 349 addr = dev->addresses; 350 while (addr) { 351 saddr = (struct sockaddr_in *) addr->addr; 358 addr = addr->next;
|
H A D | l2_packet_privsep.c | 55 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument 57 os_memcpy(addr, l2->own_addr, ETH_ALEN); 137 struct sockaddr_un addr; local 172 os_memset(&addr, 0, sizeof(addr)); 173 addr.sun_family = AF_UNIX; 174 os_strlcpy(addr.sun_path, l2->own_socket_path, sizeof(addr.sun_path)); 175 if (bind(l2->fd, (struct sockaddr *) &addr, sizeof(addr)) < [all...] |
H A D | l2_packet_winpcap.c | 65 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument 67 os_memcpy(addr, l2->own_addr, ETH_ALEN); 298 struct pcap_addr *addr; local 312 addr = dev->addresses; 313 while (addr) { 314 saddr = (struct sockaddr_in *) addr->addr; 321 addr = addr->next;
|
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_das.c | 316 struct sockaddr_in addr; local 324 os_memset(&addr, 0, sizeof(addr)); 325 addr.sin_family = AF_INET; 326 addr.sin_port = htons(port); 327 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | trace.c | 300 void wpa_trace_add_ref_func(struct wpa_trace_ref *ref, const void *addr) argument 302 if (addr == NULL) 304 ref->addr = addr; 310 void wpa_trace_check_ref(const void *addr) argument 314 if (addr != ref->addr)
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | http_client.c | 196 char *u, *addr, *port, *path; local 204 addr = u + 7; 205 path = os_strchr(addr, '/'); 206 port = os_strchr(addr, ':'); 217 if (inet_aton(addr, &dst->sin_addr) == 0) { 220 "(addr='%s' port='%s')", 221 url, addr, port);
|
H A D | http_server.c | 201 struct sockaddr_in addr; local 202 socklen_t addr_len = sizeof(addr); 207 conn = accept(srv->fd, (struct sockaddr *) &addr, &addr_len); 214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); 216 req = http_request_init(srv, conn, &addr); 228 struct http_server * http_server_init(struct in_addr *addr, int port, argument 264 sin.sin_addr.s_addr = addr->s_addr; 289 inet_ntoa(*addr), srv->port);
|
H A D | wps.c | 308 * @addr: MAC address to search for 313 int wps_is_addr_authorized(const struct wpabuf *msg, const u8 *addr, argument 337 if (os_memcmp(pos, addr, ETH_ALEN) == 0)
|
H A D | wps_attr_build.c | 161 const u8 *addr[2]; local 173 addr[0] = wpabuf_head(wps->last_msg); 175 addr[1] = wpabuf_head(msg); 177 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); 391 const u8 *addr[1]; local 396 addr[0] = wpabuf_head(pubkey); 398 sha256_vector(1, addr, &hash_len, pubkey_hash); 457 int wps_build_mac_addr(struct wpabuf *msg, const u8 *addr) argument 460 MAC2STR(addr)); 463 wpabuf_put_data(msg, addr, ETH_ALE [all...] |
H A D | wps_er.h | 17 u8 addr[ETH_ALEN]; member in struct:wps_er_sta 37 struct in_addr addr; member in struct:wps_er_ap 80 u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */ 102 void wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, 104 void wps_er_ap_remove(struct wps_er *er, struct in_addr *addr); 105 int wps_er_ap_cache_settings(struct wps_er *er, struct in_addr *addr);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpas_kay.c | 112 return wpa_drv_create_receive_sc(wpa_s, channel, sci->addr, sci->port, 153 return wpa_drv_create_transmit_sc(wpa_s, channel, sci->addr, sci->port, 250 const u8 *addr, u8 *sid, size_t *len) 275 static int ieee802_1x_auth_get_msk(struct wpa_supplicant *wpa_s, const u8 *addr, argument 249 ieee802_1x_auth_get_session_id(struct wpa_supplicant *wpa_s, const u8 *addr, u8 *sid, size_t *len) argument
|
/external/bluetooth/bluedroid/stack/sdp/ |
H A D | sdp_api.c | 246 void SDP_SetIdleTimeout (BD_ADDR addr, UINT16 timeout) argument 248 UNUSED(addr);
|
/external/chromium_org/media/midi/ |
H A D | midi_manager_alsa.cc | 40 int AddrToInt(const snd_seq_addr_t* addr) { argument 41 return (addr->client << 8) | addr->port; 227 const snd_seq_addr_t* addr = snd_seq_port_info_get_addr(port_info); local 230 addr->client, 231 addr->port, 413 event->data.addr.client == out_client_id_) {
|