| /netbsd-src/external/bsd/wpa/dist/src/ap/ |
| H A D | accounting.c | 31 struct sta_info *sta); 35 struct sta_info *sta, in accounting_msg() argument 59 if (sta) { in accounting_msg() 72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg() 75 if (!val && sta->identity) { in accounting_msg() 76 val = (u8 *) sta->identity; in accounting_msg() 77 len = os_strlen(sta->identity); in accounting_msg() 84 MAC2STR(sta->addr)); in accounting_msg() 96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta, in accounting_msg() 100 if (sta && add_sqlite_radius_attr(hapd, sta, msg, 1) < 0) in accounting_msg() [all …]
|
| H A D | mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) in mbo_ap_sta_free() argument 23 info = sta->non_pref_chan; in mbo_ap_sta_free() 24 sta->non_pref_chan = NULL; in mbo_ap_sta_free() 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, in mbo_ap_parse_non_pref_chan() argument 54 if (!sta->non_pref_chan) { in mbo_ap_parse_non_pref_chan() 55 sta->non_pref_chan = info; in mbo_ap_parse_non_pref_chan() 57 tmp = sta->non_pref_chan; in mbo_ap_parse_non_pref_chan() 78 MAC2STR(sta->addr), info->op_class, info->pref, in mbo_ap_parse_non_pref_chan() 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, in mbo_ap_check_sta_assoc() argument 98 sta->cell_capa = attr[2]; in mbo_ap_check_sta_assoc() [all …]
|
| H A D | tkip_countermeasures.c | 36 struct sta_info *sta; in ieee80211_tkip_countermeasures_start() local 48 while ((sta = hapd->sta_list)) { in ieee80211_tkip_countermeasures_start() 49 sta->acct_terminate_cause = in ieee80211_tkip_countermeasures_start() 51 if (sta->flags & WLAN_STA_AUTH) { in ieee80211_tkip_countermeasures_start() 53 hapd, sta, in ieee80211_tkip_countermeasures_start() 56 hostapd_drv_sta_deauth(hapd, sta->addr, in ieee80211_tkip_countermeasures_start() 58 ap_free_sta(hapd, sta); in ieee80211_tkip_countermeasures_start() 80 struct sta_info *sta = ap_get_sta(hapd, addr); in michael_mic_failure() local 81 if (sta != NULL) { in michael_mic_failure() 82 wpa_auth_sta_local_mic_failure_report(sta->wpa_sm); in michael_mic_failure()
|
| H A D | ap_mlme.h | 15 struct sta_info *sta); 18 struct sta_info *sta, u16 reason_code); 21 struct sta_info *sta); 24 struct sta_info *sta); 27 struct sta_info *sta, u16 reason_code); 32 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
|
| H A D | wpa_auth_kay.h | 15 struct sta_info *sta); 17 struct sta_info *sta); 21 struct sta_info *sta); 26 struct sta_info *sta) in ieee802_1x_alloc_kay_sm_hapd() argument 33 struct sta_info *sta) in ieee802_1x_notify_create_actor_hapd() argument 44 struct sta_info *sta) in ieee802_1x_create_preshared_mka_hapd() argument
|
| H A D | accounting.h | 14 struct sta_info *sta) in accounting_sta_get_id() argument 20 struct sta_info *sta) in accounting_sta_start() argument 25 struct sta_info *sta) in accounting_sta_stop() argument 38 int accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta); 39 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta); 40 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
|
| H A D | preauth_auth.h | 16 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 18 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 20 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta); 34 struct sta_info *sta, in rsn_preauth_finished() argument 40 struct sta_info *sta, in rsn_preauth_send() argument 46 struct sta_info *sta) in rsn_preauth_free_station() argument
|
| H A D | mbo_ap.h | 18 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, 20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen); 23 void mbo_ap_sta_free(struct sta_info *sta); 28 struct sta_info *sta, in mbo_ap_check_sta_assoc() argument 33 static inline int mbo_ap_get_info(struct sta_info *sta, char *buf, in mbo_ap_get_info() argument 45 static inline void mbo_ap_sta_free(struct sta_info *sta) in mbo_ap_sta_free() argument
|
| H A D | taxonomy.c | 240 struct sta_info *sta, char *buf, size_t buflen) in retrieve_sta_taxonomy() argument 245 if (!sta->probe_ie_taxonomy || !sta->assoc_ie_taxonomy) in retrieve_sta_taxonomy() 254 ie_to_string(pos, end - pos, sta->probe_ie_taxonomy); in retrieve_sta_taxonomy() 262 ie_to_string(pos, end - pos, sta->assoc_ie_taxonomy); in retrieve_sta_taxonomy() 269 struct sta_info *sta, in taxonomy_sta_info_probe_req() argument 272 wpabuf_free(sta->probe_ie_taxonomy); in taxonomy_sta_info_probe_req() 273 sta->probe_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len); in taxonomy_sta_info_probe_req() 287 struct sta_info *sta, in taxonomy_sta_info_assoc_req() argument 290 wpabuf_free(sta->assoc_ie_taxonomy); in taxonomy_sta_info_assoc_req() 291 sta->assoc_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len); in taxonomy_sta_info_assoc_req()
|
| H A D | taxonomy.h | 13 struct sta_info *sta, 16 struct hostapd_sta_info *sta, 19 struct sta_info *sta, 22 struct sta_info *sta, char *buf, size_t buflen);
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_kill.c | 56 int sta; in ATF_TC_BODY() local 73 (void)wait(&sta); in ATF_TC_BODY() 75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i]) in ATF_TC_BODY() 88 int rv, sta; in ATF_TC_BODY() local 111 (void)wait(&sta); in ATF_TC_BODY() 113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 115 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY() 118 if (WEXITSTATUS(sta) == ESRCH) in ATF_TC_BODY() 138 int sta; in ATF_TC_BODY() local 195 (void)waitpid(cpid, &sta, 0); in ATF_TC_BODY() [all …]
|
| H A D | t_getlogin.c | 89 int sta; in ATF_TC_BODY() local 112 (void)wait(&sta); in ATF_TC_BODY() 114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 130 int sta; in ATF_TC_BODY() local 168 (void)wait(&sta); in ATF_TC_BODY() 170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 172 if (WEXITSTATUS(sta) == EFAULT) in ATF_TC_BODY() 175 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY() 193 int sta; in ATF_TC_BODY() local 221 (void)wait(&sta); in ATF_TC_BODY() [all …]
|
| H A D | t_chroot.c | 56 int fd, sta; in ATF_TC_BODY() local 93 (void)wait(&sta); in ATF_TC_BODY() 95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 144 int sta; in ATF_TC_BODY() local 165 (void)wait(&sta); in ATF_TC_BODY() 167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 181 int fd, sta; in ATF_TC_BODY() local 216 (void)wait(&sta); in ATF_TC_BODY() 218 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 267 int fd, sta; in ATF_TC_BODY() local [all …]
|
| H A D | t_mprotect.c | 148 int sta, xp_support; in ATF_TC_BODY() local 197 (void)wait(&sta); in ATF_TC_BODY() 201 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY() 206 if (WEXITSTATUS(sta) != SIGSEGV) { in ATF_TC_BODY() 213 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 288 int sta; in ATF_TC_BODY() local 309 (void)wait(&sta); in ATF_TC_BODY() 311 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY() 312 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 330 int sta; in ATF_TC_BODY() local [all …]
|
| H A D | t_setrlimit.c | 184 int fd, sta; in ATF_TC_BODY() local 217 (void)wait(&sta); in ATF_TC_BODY() 220 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 251 int sta; in ATF_TC_BODY() local 290 (void)wait(&sta); in ATF_TC_BODY() 292 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 305 int fd, i, rv, sta; in ATF_TC_BODY() local 338 (void)wait(&sta); in ATF_TC_BODY() 340 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 354 int fd, i, rv, sta; in ATF_TC_BODY() local [all …]
|
| H A D | t_msgsnd.c | 82 int id, sta; in ATF_TC_BODY() local 108 (void)wait(&sta); in ATF_TC_BODY() 110 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0) in ATF_TC_BODY() 223 int id, rv, sta; in ATF_TC_BODY() local 246 (void)wait(&sta); in ATF_TC_BODY() 248 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY() 270 int id, sta; in ATF_TC_BODY() local 311 (void)wait(&sta); in ATF_TC_BODY() 313 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
|
| H A D | t_mmap.c | 338 int sta; in ATF_TC_BODY() local 355 (void)wait(&sta); in ATF_TC_BODY() 357 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY() 358 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 371 int fd, sta; in ATF_TC_BODY() local 405 (void)wait(&sta); in ATF_TC_BODY() 407 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY() 408 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 533 int fd, sta; in ATF_TC_BODY() local 546 sta = 0; in ATF_TC_BODY() [all …]
|
| H A D | t_mkfifo.c | 75 int sta, fd = -1; in ATF_TC_BODY() local 101 (void)wait(&sta); in ATF_TC_BODY() 103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY() 161 int fd, sta; in ATF_TC_BODY() local 193 (void)wait(&sta); in ATF_TC_BODY() 195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
|
| H A D | t_msgrcv.c | 112 int id, sta; in ATF_TC_BODY() local 137 (void)wait(&sta); in ATF_TC_BODY() 139 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY() 249 int id, sta; in ATF_TC_BODY() local 280 (void)wait(&sta); in ATF_TC_BODY() 282 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY() 285 if (WIFEXITED(sta) == 0 && WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| /netbsd-src/tests/lib/libc/stdlib/ |
| H A D | t_exit.c | 60 int sta; in ATF_TC_BODY() local 75 (void)wait(&sta); in ATF_TC_BODY() 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 93 int sta; in ATF_TC_BODY() local 103 (void)wait(&sta); in ATF_TC_BODY() 105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 118 int i, sta; in ATF_TC_BODY() local 131 (void)wait(&sta); in ATF_TC_BODY() 133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i) in ATF_TC_BODY() 146 int sta, fd = -1; in ATF_TC_BODY() local [all …]
|
| /netbsd-src/sys/arch/sparc/sparc/ |
| H A D | cache.c | 121 sta(i, ASI_CONTROL, 0); in sun4_cache_enable() 154 sta(0, ASI_ICACHECLR, 0); in ms1_cache_enable() 156 sta(0, ASI_DCACHECLR, 0); in ms1_cache_enable() 159 sta(SRMMU_PCR, ASI_SRMMU, pcr | MS1_PCR_DCE | MS1_PCR_ICE); in ms1_cache_enable() 182 sta(0x80000000, ASI_ICACHECLR, 0); /* Unlock */ in viking_cache_enable() 183 sta(0, ASI_ICACHECLR, 0); /* clear */ in viking_cache_enable() 187 sta(0x80000000, ASI_DCACHECLR, 0); in viking_cache_enable() 188 sta(0, ASI_DCACHECLR, 0); in viking_cache_enable() 192 sta(SRMMU_PCR, ASI_SRMMU, pcr | VIKING_PCR_DCE | VIKING_PCR_ICE); in viking_cache_enable() 230 sta(i, ASI_DCACHETAG, 0); in hypersparc_cache_enable() [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/arch/nova/ |
| H A D | README | 93 sta 3,@sp 95 sta 1,@sp 96 sta 0,fp 99 sta 0,sp 107 sta 0,fp 108 sta 2,sp 121 sta 0,@sp 123 sta 0,@sp 124 sta 1,fp 127 sta 1,sp [all …]
|
| /netbsd-src/tests/lib/libc/gen/ |
| H A D | t_assert.c | 75 int sta; in ATF_TC_BODY() local 97 (void)wait(&sta); in ATF_TC_BODY() 99 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0) in ATF_TC_BODY() 113 int sta; in ATF_TC_BODY() local 135 (void)wait(&sta); in ATF_TC_BODY() 137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT) in ATF_TC_BODY()
|
| /netbsd-src/external/bsd/wpa/dist/wpa_supplicant/ |
| H A D | mesh_rsn.h | 32 int mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta); 33 int mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta); 34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid); 36 struct sta_info *sta); 37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, 39 int mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta,
|
| /netbsd-src/tests/lib/libc/termios/ |
| H A D | t_tcsetpgrp.c | 50 int rv, sta; in ATF_TC_BODY() local 75 (void)wait(&sta); in ATF_TC_BODY() 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|