Searched defs:addr (Results 876 - 900 of 1909) sorted by relevance

<<31323334353637383940>>

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er.h17 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/src/ap/
H A Dap_drv_ops.h36 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 Dieee802_11_auth.c33 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 Dwmm.c127 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 Dwnm_ap.c25 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/src/common/
H A Dprivsep_commands.h47 u8 addr[ETH_ALEN]; member in struct:privsep_cmd_set_key
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_gnutls.c15 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 Dcrypto_nss.c25 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/src/eap_common/
H A Deap_gpsk_common.c45 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 Deap_sake_common.c217 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/src/eap_peer/
H A Deap_leap.c334 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/src/l2_packet/
H A Dl2_packet_freebsd.c48 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 Dl2_packet_ndis.c84 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 Dl2_packet_pcap.c43 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 Dl2_packet_privsep.c55 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 Dl2_packet_winpcap.c65 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/src/radius/
H A Dradius_das.c316 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/src/utils/
H A Dtrace.c300 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/src/wps/
H A Dhttp_client.c196 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 Dhttp_server.c201 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 Dwps.c308 * @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 Dwps_attr_build.c161 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 Dwps_er.h17 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 Dctrl_iface_udp.c34 struct sockaddr_in6 addr; member in struct:wpa_ctrl_dst
36 struct sockaddr_in addr; member in struct:wpa_ctrl_dst
67 char addr[INET6_ADDRSTRLEN]; local
73 os_memcpy(&dst->addr, from, sizeof(*from));
80 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)),
100 char addr[INET6_ADDRSTRLEN]; local
106 if (from->sin6_port == dst->addr.sin6_port &&
107 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr,
110 inet_ntop(AF_INET6, &from->sin6_addr, addr,
114 if (from->sin_addr.s_addr == dst->addr
145 char addr[INET6_ADDRSTRLEN]; local
207 char addr[INET6_ADDRSTRLEN]; local
340 struct sockaddr_in6 addr; local
343 struct sockaddr_in addr; local
451 char addr[INET6_ADDRSTRLEN]; local
620 struct sockaddr_in addr; local
[all...]
H A Dp2p_supplicant.h87 int wpas_p2p_reject(struct wpa_supplicant *wpa_s, const u8 *addr);
107 int wpas_p2p_unauthorize(struct wpa_supplicant *wpa_s, const char *addr);
110 const u8 *addr, const u8 *ssid,
113 const u8 *addr);
143 int wpas_p2p_probe_req_rx(struct wpa_supplicant *wpa_s, const u8 *addr,
196 const u8 *addr,
195 wpas_p2p_probe_req_rx(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *dst, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal) argument

Completed in 338 milliseconds

<<31323334353637383940>>