Searched defs:dst (Results 1 - 25 of 2513) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c59 struct wpa_ctrl_dst *dst; local
61 dst = os_zalloc(sizeof(*dst));
62 if (dst == NULL)
64 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_un));
65 dst->addrlen = fromlen;
66 dst->debug_level = MSG_INFO;
67 dst->next = hapd->ctrl_dst;
68 hapd->ctrl_dst = dst;
80 struct wpa_ctrl_dst *dst, *pre local
111 struct wpa_ctrl_dst *dst; local
1752 struct wpa_ctrl_dst *dst, *prev; local
2041 struct wpa_ctrl_dst *dst, *next; local
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_drv_ops.c739 unsigned int wait, const u8 *dst, const u8 *data,
744 return hapd->driver->send_action(hapd->drv_priv, freq, wait, dst,
738 hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
H A Ddrv_callbacks.c551 static void hostapd_notify_auth_ft_finish(void *ctx, const u8 *dst, argument
559 sta = ap_get_sta(hapd, dst);
563 hostapd_logger(hapd, dst, HOSTAPD_MODULE_IEEE80211,
567 hostapd_sta_auth(hapd, dst, auth_transaction, status, ies, ies_len);
1001 hostapd_tx_status(hapd, data->tx_status.dst,
1009 hostapd_eapol_tx_status(hapd, data->eapol_tx_status.dst,
H A Dieee802_11.c261 const u8 *dst, const u8 *bssid,
277 os_memcpy(reply->da, dst, ETH_ALEN);
290 MAC2STR(dst), auth_alg, auth_transaction,
300 static void handle_auth_ft_finish(void *ctx, const u8 *dst, const u8 *bssid, argument
307 send_auth_reply(hapd, dst, bssid, WLAN_AUTH_FT, auth_transaction,
313 sta = ap_get_sta(hapd, dst);
317 hostapd_logger(hapd, dst, HOSTAPD_MODULE_IEEE80211,
2176 void hostapd_eapol_tx_status(struct hostapd_data *hapd, const u8 *dst, argument
2182 sta = ap_get_sta(hapd, dst);
2187 sta = ap_get_sta(hapd, dst);
260 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
[all...]
H A Dwpa_auth_ft.c32 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, argument
37 wpa_printf(MSG_DEBUG, "FT: RRB send to " MACSTR, MAC2STR(dst));
38 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB,
44 const u8 *dst, const u8 *data, size_t data_len)
48 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst,
949 void (*cb)(void *ctx, const u8 *dst, const u8 *bssid,
979 wpa_printf(MSG_DEBUG, "FT: FT authentication response: dst=" MACSTR
1210 static void wpa_ft_rrb_rx_request_cb(void *ctx, const u8 *dst, const u8 *bssid, argument
43 wpa_ft_action_send(struct wpa_authenticator *wpa_auth, const u8 *dst, const u8 *data, size_t data_len) argument
947 wpa_ft_process_auth(struct wpa_state_machine *sm, const u8 *bssid, u16 auth_transaction, const u8 *ies, size_t ies_len, void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, u16 auth_transaction, u16 status, const u8 *ies, size_t ies_len), void *ctx) argument
H A Dwpa_auth_glue.c364 const u8 *dst; member in struct:wpa_auth_ft_iface_iter_data
380 if (os_memcmp(hapd->own_addr, idata->dst, ETH_ALEN) == 0) {
400 static int hostapd_wpa_auth_send_ether(void *ctx, const u8 *dst, u16 proto, argument
413 idata.dst = dst;
425 return hapd->driver->send_ether(hapd->drv_priv, dst,
434 os_memcpy(buf->h_dest, dst, ETH_ALEN);
438 ret = l2_packet_send(hapd->l2, dst, proto, (u8 *) buf,
447 static int hostapd_wpa_auth_send_ft_action(void *ctx, const u8 *dst, argument
456 sta = ap_get_sta(hapd, dst);
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-ccm.c17 static void xor_aes_block(u8 *dst, const u8 *src) argument
19 u32 *d = (u32 *) dst;
H A Daes-gcm.c25 static void xor_block(u8 *dst, const u8 *src) argument
27 u32 *d = (u32 *) dst;
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver.h2182 * @dst: Destination MAC address
2189 int (*send_ether)(void *priv, const u8 *dst, const u8 *src, u16 proto,
2271 * @dst: Destination MAC address (Address 1)
2293 const u8 *dst, const u8 *src, const u8 *bssid,
2499 * @dst: Destination (peer) MAC address
2512 int (*send_tdls_mgmt)(void *priv, const u8 *dst, u8 action_code,
3847 const u8 *dst; member in struct:wpa_event_data::tx_status
4052 * @dst: Original destination
4061 const u8 *dst; member in struct:wpa_event_data::eapol_tx_status
H A Ddriver_atheros.c2032 const u8 *dst, const u8 *src,
2044 os_memcpy(act->dst_addr, dst, ETH_ALEN);
2048 wpa_printf(MSG_DEBUG, "%s: freq=%d, wait=%u, dst=" MACSTR ", src="
2030 atheros_send_action(void *priv, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
H A Ddriver_nl80211.c1895 event.tx_status.dst = hdr->addr1;
4356 event.eapol_tx_status.dst = data;
8087 event.tx_status.dst = hdr->addr1;
10614 const u8 *dst, const u8 *src,
10635 os_memcpy(hdr->addr1, dst, ETH_ALEN);
11672 static int nl80211_send_tdls_mgmt(void *priv, const u8 *dst, u8 action_code, argument
11684 if (!dst)
11693 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, dst);
11990 const u8 *dst, const u8 *src,
11996 return wpa_driver_nl80211_send_action(bss, freq, wait_time, dst, sr
10611 wpa_driver_nl80211_send_action(struct i802_bss *bss, unsigned int freq, unsigned int wait_time, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
11988 driver_nl80211_send_action(void *priv, unsigned int freq, unsigned int wait_time, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
[all...]
H A Ddriver_none.c46 static int none_driver_send_ether(void *priv, const u8 *dst, const u8 *src, argument
H A Ddriver_test.c201 static int test_driver_send_ether(void *priv, const u8 *dst, const u8 *src, argument
222 broadcast = memcmp(dst, "\xff\xff\xff\xff\xff\xff", ETH_ALEN) == 0;
223 snprintf(desttxt, sizeof(desttxt), MACSTR, MAC2STR(dst));
225 memcpy(eth.h_dest, dst, ETH_ALEN);
281 __func__, MAC2STR(dst));
460 event.tx_status.dst = hdr->addr1;
650 wpa_printf(MSG_DEBUG, "test_driver: dst=" MACSTR " src="
684 wpa_printf(MSG_DEBUG, "test_driver: RX ETHER dst=" MACSTR " src="
2150 char *dst)
2154 pos = os_strchr(dst, '
2149 wpa_driver_test_attach_udp(struct wpa_driver_test_data *drv, char *dst) argument
2241 char *dst, *epos; local
2527 wpa_driver_test_send_action(void *priv, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_fast_pac.c113 static int eap_fast_copy_buf(u8 **dst, size_t *dst_len, argument
117 *dst = os_malloc(src_len);
118 if (*dst == NULL)
120 os_memcpy(*dst, src, src_len);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server.c47 static int eap_copy_buf(struct wpabuf **dst, const struct wpabuf *src) argument
52 wpabuf_free(*dst);
53 *dst = wpabuf_dup(src);
54 return *dst ? 0 : -1;
58 static int eap_copy_data(u8 **dst, size_t *dst_len, argument
64 os_free(*dst);
65 *dst = os_malloc(src_len);
66 if (*dst) {
67 os_memcpy(*dst, src, src_len);
76 #define EAP_COPY(dst, sr
[all...]
/external/wpa_supplicant_8/hostapd/src/eapol_auth/
H A Deapol_auth_sm.c1043 static int eapol_auth_conf_clone(struct eapol_auth_config *dst, argument
1046 dst->ctx = src->ctx;
1047 dst->eap_reauth_period = src->eap_reauth_period;
1048 dst->wpa = src->wpa;
1049 dst->individual_wep_key_len = src->individual_wep_key_len;
1050 dst->eap_server = src->eap_server;
1051 dst->ssl_ctx = src->ssl_ctx;
1052 dst->msg_ctx = src->msg_ctx;
1053 dst->eap_sim_db_priv = src->eap_sim_db_priv;
1054 os_free(dst
[all...]
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c989 p2p->after_scan_tx->dst,
2060 p2p_reply_probe(struct p2p_data *p2p, const u8 *addr, const u8 *dst, argument
2089 if (dst && !is_broadcast_ether_addr(dst) &&
2090 os_memcmp(dst, p2p->cfg->dev_addr, ETH_ALEN) != 0) {
2094 MAC2STR(dst));
2215 p2p_probe_req_rx(struct p2p_data *p2p, const u8 *addr, const u8 *dst, argument
2222 res = p2p_reply_probe(p2p, addr, dst, bssid, ie, ie_len);
2596 os_memcmp(addr, p2p->after_scan_tx->dst, ETH_ALEN) == 0) {
3146 void p2p_send_action_cb(struct p2p_data *p2p, unsigned int freq, const u8 *dst, argument
4303 p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *buf, size_t len, unsigned int wait_time) argument
[all...]
H A Dp2p_i.h143 u8 dst[ETH_ALEN]; member in struct:p2p_pending_action_tx
779 int p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
H A Dp2p_sd.c185 static void p2p_send_gas_comeback_req(struct p2p_data *p2p, const u8 *dst, argument
195 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst,
406 void p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst, argument
430 os_memcpy(p2p->sd_resp_addr, dst, ETH_ALEN);
446 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr,
838 void * p2p_sd_request(struct p2p_data *p2p, const u8 *dst, argument
847 if (dst)
848 os_memcpy(q->peer, dst, ETH_ALEN);
862 if (dst
881 p2p_sd_request_wfd(struct p2p_data *p2p, const u8 *dst, const struct wpabuf *tlvs) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius.c861 int radius_msg_copy_attr(struct radius_msg *dst, struct radius_msg *src, argument
871 if (!radius_msg_add_attr(dst, type, (u8 *) (attr + 1),
1604 int radius_copy_class(struct radius_class_data *dst, argument
1612 dst->attr = os_calloc(src->count, sizeof(struct radius_attr_data));
1613 if (dst->attr == NULL)
1616 dst->count = 0;
1619 dst->attr[i].data = os_malloc(src->attr[i].len);
1620 if (dst->attr[i].data == NULL)
1622 dst->count++;
1623 os_memcpy(dst
[all...]
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpeerkey.c62 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, argument
115 wpa_eapol_key_send(sm, sm->ptk.kck, ver, dst, ETH_P_EAPOL,
H A Dpreauth.c158 * @dst: Authenticator address (BSSID) with which to preauthenticate
169 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, argument
179 "RSN: starting pre-authentication with " MACSTR, MAC2STR(dst));
239 os_memcpy(sm->preauth_bssid, dst, ETH_ALEN);
H A Dpreauth.h17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
40 static inline int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, argument
H A Dtdls.c218 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, argument
223 return wpa_sm_send_tdls_mgmt(sm, dst, action_code, dialog_token,
973 * @dst - MAC addr of Peer station
979 static int wpa_tdls_send_error(struct wpa_sm *sm, const u8 *dst, argument
985 MAC2STR(dst), tdls_action, status);
986 return wpa_tdls_tpk_send(sm, dst, tdls_action, dialog_token, status,
H A Dwpa.c266 * @dst: Destination address for the frame
275 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, argument
354 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
1026 * @dst: Destination address for the frame
1033 int wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, argument
1063 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,

Completed in 2145 milliseconds

1234567891011>>