Searched defs:addr (Results 1 - 25 of 1909) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/
H A Dyaffs_fs.c633 void *addr = page_address(pg) + offset; local
639 unsigned saddr = (unsigned)addr;
642 (KERN_DEBUG "yaffs_commit_write addr %x pos %x nBytes %d\n", saddr,
645 nWritten = yaffs_file_write(f, addr, nBytes, &pos);
H A Dyaffs_guts.c116 static void yaffs_AddrToChunk(yaffs_Device *dev, loff_t addr, __u32 *chunk, __u32 *offset) argument
120 *chunk = (__u32)(addr >> dev->chunkShift);
121 *offset = (__u32)(addr & dev->chunkMask);
126 *offset = (__u32)(addr & dev->crumbMask);
127 addr >>= dev->crumbShift;
128 *chunk = ((__u32)addr)/dev->crumbsPerChunk;
129 *offset += ((addr - (*chunk * dev->crumbsPerChunk)) << dev->crumbShift);
H A Dyaffs_mtdif.c84 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; local
89 retval = mtd->write(mtd, addr, dev->nDataBytesPerChunk,
104 retval = mtd->write_oob(mtd, addr, &ops);
112 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
117 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
123 mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy,
127 mtd->write_oob(mtd, addr, YAFFS_BYTES_PER_SPARE,
148 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; local
153 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk,
167 retval = mtd->read_oob(mtd, addr,
211 __u32 addr = local
[all...]
H A Dyaffs_mtdif2.c131 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; local
154 retval = mtd->write_oob(mtd, addr, &ops);
165 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
169 mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy,
190 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; local
201 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk,
210 retval = mtd->read_oob(mtd, addr, &ops);
216 mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk,
221 mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk,
228 mtd->read(mtd, addr, de
[all...]
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.c116 return os_memcmp(aa->addr, bb->addr, sizeof(macaddr));
126 u8 addr[ETH_ALEN]; local
162 if (hwaddr_aton(pos, addr)) {
172 if (os_memcmp((*acl)[i].addr, addr, ETH_ALEN) ==
199 os_memcpy((*acl)[*num].addr, addr, ETH_ALEN);
539 ret = hostapd_parse_ip_addr(val, &nserv->addr);
946 if (next == NULL || hwaddr_aton(pos, r0kh->addr)) {
[all...]
H A Dctrl_iface.c44 struct sockaddr_un addr; member in struct:wpa_ctrl_dst
64 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_un));
85 os_memcmp(from->sun_path, dst->addr.sun_path,
118 os_memcmp(from->sun_path, dst->addr.sun_path,
137 u8 addr[ETH_ALEN]; local
142 if (hwaddr_aton(txtaddr, addr))
145 sta = ap_get_sta(hapd, addr);
150 "notification", MAC2STR(addr));
151 sta = ap_sta_add(hapd, addr);
165 u8 addr[ETH_ALE local
188 u8 addr_buf[ETH_ALEN], *addr = NULL; local
626 u8 addr[ETH_ALEN]; local
649 u8 addr[ETH_ALEN]; local
747 u8 addr[ETH_ALEN]; local
803 u8 addr[ETH_ALEN]; local
828 u8 addr[ETH_ALEN]; local
1609 struct sockaddr_un addr; local
1901 struct sockaddr_un addr; local
[all...]
H A Dhlr_auc_gw.c247 struct sockaddr_un addr; local
256 memset(&addr, 0, sizeof(addr));
257 addr.sun_family = AF_UNIX;
258 os_strlcpy(addr.sun_path, path, sizeof(addr.sun_path));
259 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
H A Dhostapd_cli.c62 " sta <addr> get MIB variables for one station\n"
64 " new_sta <addr> add a new station\n"
65 " deauthenticate <addr> deauthenticate a station\n"
66 " disassociate <addr> disassociate a station\n"
68 " sa_query <addr> send SA Query to a station\n"
71 " wps_pin <uuid> <pin> [timeout] [addr] add WPS Enrollee PIN\n"
593 "(STA addr and Disassociation Timer) are needed\n");
613 "addr, disassoc timer, and URL) are needed\n");
633 char *addr, size_t addr_len)
663 os_strlcpy(addr, bu
632 wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, char *cmd, char *addr, size_t addr_len) argument
671 char addr[32], cmd[64]; local
[all...]
H A Dmain.c43 static void hostapd_logger_cb(void *ctx, const u8 *addr, unsigned int module, argument
94 if (hapd && hapd->conf && addr)
96 hapd->conf->iface, MAC2STR(addr),
103 else if (addr)
105 MAC2STR(addr), module_str ? " " : "",
521 u8 addr[ETH_ALEN]; local
525 if (hwaddr_aton(txt_addr, addr) < 0)
528 uuid_gen_mac_addr(addr, uuid);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.c211 u8 addr[ETH_ALEN]; local
239 if (hwaddr_aton(buf, addr)) {
252 if (is_zero_ether_addr(addr))
255 os_memcpy(psk->addr, addr, ETH_ALEN);
578 * @addr: Address to search for
585 const u8 *addr, int *vlan_id)
594 res = os_memcmp(list[middle].addr, addr, ETH_ALEN);
650 const u8 *addr, cons
584 hostapd_maclist_found(struct mac_acl_entry *list, int num_entries, const u8 *addr, int *vlan_id) argument
649 hostapd_get_psk(const struct hostapd_bss_config *conf, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument
[all...]
H A Dap_config.h24 macaddr addr; member in struct:mac_acl_entry
110 u8 addr[ETH_ALEN]; member in struct:hostapd_wpa_psk
614 const u8 *addr, int *vlan_id);
617 const u8 *addr, const u8 *p2p_dev_addr,
H A Dap_drv_ops.c244 return hostapd_sta_set_flags(hapd, sta->addr,
250 return hostapd_sta_set_flags(hapd, sta->addr,
267 return hostapd_sta_set_flags(hapd, sta->addr, total_flags,
311 const u8 *addr, int aid, int val)
321 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val,
326 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, argument
331 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg);
335 int hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, argument
340 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr,
345 int hostapd_sta_assoc(struct hostapd_data *hapd, const u8 *addr, argument
310 hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val) argument
355 hostapd_sta_add(struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u32 flags, u8 qosinfo, u8 vht_opmode) argument
387 hostapd_add_tspec(struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
430 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
462 hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq) argument
602 hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and) argument
685 hostapd_drv_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
708 hostapd_drv_sta_deauth(struct hostapd_data *hapd, const u8 *addr, int reason) argument
718 hostapd_drv_sta_disassoc(struct hostapd_data *hapd, const u8 *addr, int reason) argument
[all...]
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 Dap_list.c58 while (s != NULL && os_memcmp(s->addr, ap, ETH_ALEN) != 0)
92 ap->hnext = iface->ap_hash[STA_HASH(ap->addr)];
93 iface->ap_hash[STA_HASH(ap->addr)] = ap;
101 s = iface->ap_hash[STA_HASH(ap->addr)];
103 if (os_memcmp(s->addr, ap->addr, ETH_ALEN) == 0) {
104 iface->ap_hash[STA_HASH(ap->addr)] = s->hnext;
109 os_memcmp(s->hnext->addr, ap->addr, ETH_ALEN) != 0)
115 MAC2STR(ap->addr));
145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument
[all...]
H A Dap_list.h21 u8 addr[6]; member in struct:ap_info
H A Dap_mlme.c50 * PeerSTAAddress = sta->addr
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg));
75 * PeerSTAAddress = sta->addr
80 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
83 MAC2STR(sta->addr), reason_code);
99 * PeerSTAAddress = sta->addr
103 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
106 MAC2STR(sta->addr));
122 * PeerSTAAddress = sta->addr
159 mlme_michaelmicfailure_indication(struct hostapd_data *hapd, const u8 *addr) argument
[all...]
H A Dctrl_iface_ap.c32 if (hostapd_drv_read_sta_data(hapd, &data, sta->addr) < 0)
94 MAC2STR(sta->addr));
135 res = hostapd_wps_get_mib_sta(hapd, sta->addr, buf + len,
160 u8 addr[ETH_ALEN]; local
165 if (hwaddr_aton(txtaddr, addr)) {
172 sta = ap_get_sta(hapd, addr);
199 u8 addr[ETH_ALEN]; local
203 if (hwaddr_aton(txtaddr, addr) ||
204 (sta = ap_get_sta(hapd, addr)) == NULL) {
220 u8 minor_reason_code, const u8 *addr)
219 p2p_manager_disconnect(struct hostapd_data *hapd, u16 stype, u8 minor_reason_code, const u8 *addr) argument
274 u8 addr[ETH_ALEN]; local
334 u8 addr[ETH_ALEN]; local
[all...]
H A Ddrv_callbacks.c37 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, argument
53 if (addr == NULL) {
65 random_add_randomness(addr, ETH_ALEN);
67 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
96 sta = ap_get_sta(hapd, addr);
107 sta = ap_sta_add(hapd, addr);
109 hostapd_drv_sta_disassoc(hapd, addr,
196 sta->addr,
256 hostapd_sta_assoc(hapd, addr, reassoc, status, buf,
314 hapd, sta->addr, HOSTAPD_MODULE_IEEE8021
386 hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr) argument
422 hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr) argument
509 hostapd_event_connect_failed_reason(struct hostapd_data *hapd, const u8 *addr, int reason_code) argument
687 hostapd_rx_from_unknown_sta(struct hostapd_data *hapd, const u8 *bssid, const u8 *addr, int wds) argument
784 hostapd_event_new_sta(struct hostapd_data *hapd, const u8 *addr) argument
[all...]
H A Dgas_serv.c30 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token) argument
36 sta = ap_get_sta(hapd, addr);
44 sta = ap_sta_add(hapd, addr);
47 " for GAS query", MAC2STR(addr));
81 "GAS_DIALOG_MAX.", MAC2STR(addr), dialog_token);
88 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr, argument
94 sta = ap_get_sta(hapd, addr);
97 MAC2STR(addr));
107 MACSTR " dialog_token %u", MAC2STR(addr), dialog_token);
H A Dhostapd.c425 u8 addr[ETH_ALEN]; local
441 os_memset(addr, 0xff, ETH_ALEN);
442 hostapd_drv_sta_deauth(hapd, addr, reason);
541 "first address in the block (i.e., addr "
542 "AND mask == addr).");
664 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr);
666 hostapd_drv_sta_deauth(hapd, sta->addr,
928 os_memcpy(acl_params->mac_acl[i].addr, mac_acl[i].addr,
2081 hostapd_drv_sta_deauth(hapd, sta->addr,
[all...]
H A Dhs20.c94 int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr, argument
136 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
146 const u8 *addr,
171 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
145 hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd, const u8 *addr, const struct wpabuf *payload) argument
H A Diapp.c90 u8 sa[ETH_ALEN]; /* STA addr */
183 struct sockaddr_in addr; local
201 os_memset(&addr, 0, sizeof(addr));
202 addr.sin_family = AF_INET;
203 addr.sin_addr.s_addr = iapp->multicast.s_addr;
204 addr.sin_port = htons(IAPP_UDP_PORT);
206 (struct sockaddr *) &addr, sizeof(addr)) < 0)
211 static void iapp_send_layer2_update(struct iapp_data *iapp, u8 *addr) argument
383 struct sockaddr_ll addr; local
[all...]
H A Dieee802_11.c209 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
241 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
248 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
337 if (sae_prepare_commit(hapd->own_addr, sta->addr,
397 static int check_sae_token(struct hostapd_data *hapd, const u8 *addr, argument
405 addr, ETH_ALEN, mac) < 0 ||
414 const u8 *addr)
437 addr, ETH_ALEN, token);
462 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
469 if (token && check_sae_token(hapd, sta->addr, toke
413 auth_build_token_req(struct hostapd_data *hapd, const u8 *addr) argument
1139 send_deauth(struct hostapd_data *hapd, const u8 *addr, u16 reason_code) argument
2146 hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, const u8 *buf, size_t len, int ack) argument
2203 hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr) 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 Dieee802_11_shared.c50 const u8 *addr, const u8 *trans_id)
56 MACSTR, MAC2STR(addr));
63 os_memcpy(mgmt.da, addr, ETH_ALEN);
158 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
49 ieee802_11_send_sa_query_req(struct hostapd_data *hapd, const u8 *addr, const u8 *trans_id) argument

Completed in 637 milliseconds

1234567891011>>