Searched refs:sta (Results 51 - 75 of 134) sorted by relevance

123456

/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getpid.c62 int i, sta; local
88 wpid = wait(&sta);
93 ATF_REQUIRE(WIFEXITED(sta) != 0);
95 if (WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_issetugid.c49 int sta; local
75 (void)wait(&sta);
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_msgsnd.c82 int id, sta; local
112 (void)wait(&sta);
114 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0)
243 int id, rv, sta; local
270 (void)wait(&sta);
272 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0)
294 int id, sta; local
339 (void)wait(&sta);
[all...]
H A Dt_setrlimit.c189 int fd, sta; local
222 (void)wait(&sta);
225 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
264 int sta; local
308 (void)wait(&sta);
310 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
331 int fd, i, rv, sta; local
364 (void)wait(&sta);
380 int fd, i, rv, sta; local
440 int sta; local
[all...]
H A Dt_mmap.c336 int sta; local
353 (void)wait(&sta);
355 ATF_REQUIRE(WIFEXITED(sta) != 0);
356 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
369 int fd, sta; local
408 (void)wait(&sta);
410 ATF_REQUIRE(WIFEXITED(sta) != 0);
411 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
480 int fd, sta; local
493 sta
[all...]
H A Dt_msgrcv.c112 int id, sta; local
137 (void)wait(&sta);
139 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0)
249 int id, sta; local
280 (void)wait(&sta);
282 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL)
285 if (WIFEXITED(sta) == 0 && WEXITSTATUS(sta) !
[all...]
H A Dt_getgroups.c104 int i, n, rv, sta; local
129 (void)wait(&sta);
131 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_mkdir.c115 int sta; local
140 (void)wait(&sta);
142 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_umask.c70 int sta; local
91 (void)wait(&sta);
93 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_mprotect.c177 int sta, xp_support; local
231 (void)wait(&sta);
235 ATF_REQUIRE(WIFEXITED(sta) != 0);
240 if (WEXITSTATUS(sta) != SIGSEGV) {
247 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
326 int sta; local
347 (void)wait(&sta);
349 ATF_REQUIRE(WIFEXITED(sta) != 0);
350 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
H A Dt_msgctl.c118 int sta; local
165 (void)wait(&sta);
167 if (WIFEXITED(sta) == 0) {
169 if (WEXITSTATUS(sta) == EX_OSERR)
172 if (WEXITSTATUS(sta) == EXIT_FAILURE)
195 int id, sta; local
216 (void)wait(&sta);
236 (void)wait(&sta);
H A Dt_nanosleep.c145 int sta; local
182 (void)wait(&sta);
184 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
200 int sta; local
251 } while (waitpid(pid, &sta, WNOHANG) == 0);
253 ATF_REQUIRE(WIFEXITED(sta) == 1);
255 if (WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-12-stable/contrib/wpa/src/ap/
H A Dx_snoop.c96 struct sta_info *sta, u8 *buf,
108 MAC2STR(dst_addr), MAC2STR(sta->addr), (unsigned int) len);
113 os_memcpy(buf, sta->addr, ETH_ALEN);
118 MACSTR, MAC2STR(sta->addr));
95 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
H A Dp2p_hostapd.c23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, argument
26 if (sta->p2p_ie == NULL)
29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen);
H A Dwnm_ap.c62 struct sta_info *sta; local
66 sta = ap_get_sta(hapd, addr);
67 if (sta == NULL) {
96 wpa_auth_uses_ocv(sta->wpa_sm)) {
144 if (!wpa_auth_uses_mfp(sta->wpa_sm) ||
149 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
154 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
199 sta->flags |= WLAN_STA_WNM_SLEEP_MODE;
202 wpa_set_wnmsleep(sta->wpa_sm, 1);
213 sta
246 struct sta_info *sta; local
427 struct sta_info *sta = timeout_ctx; local
444 struct sta_info *sta; local
620 wnm_send_disassoc_imminent(struct hostapd_data *hapd, struct sta_info *sta, int disassoc_timer) argument
656 set_disassoc_timer(struct hostapd_data *hapd, struct sta_info *sta, int disassoc_timer) argument
684 wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd, struct sta_info *sta, const char *url, int disassoc_timer) argument
734 wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta, u8 req_mode, int disassoc_timer, u8 valid_int, const u8 *bss_term_dur, const char *url, const u8 *nei_rep, size_t nei_rep_len, const u8 *mbo_attrs, size_t mbo_len) argument
812 wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta, unsigned int auto_report, unsigned int timeout) argument
[all...]
H A Dtaxonomy.c240 struct sta_info *sta, char *buf, size_t buflen)
245 if (!sta->probe_ie_taxonomy || !sta->assoc_ie_taxonomy)
254 ie_to_string(pos, end - pos, sta->probe_ie_taxonomy);
262 ie_to_string(pos, end - pos, sta->assoc_ie_taxonomy);
269 struct sta_info *sta,
272 wpabuf_free(sta->probe_ie_taxonomy);
273 sta->probe_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len);
287 struct sta_info *sta,
290 wpabuf_free(sta
239 retrieve_sta_taxonomy(const struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
268 taxonomy_sta_info_probe_req(const struct hostapd_data *hapd, struct sta_info *sta, const u8 *ie, size_t ie_len) argument
286 taxonomy_sta_info_assoc_req(const struct hostapd_data *hapd, struct sta_info *sta, const u8 *ie, size_t ie_len) argument
[all...]
H A Dhs20.h23 void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta,
H A Dieee802_11_shared.c25 struct sta_info *sta, u8 *eid)
35 os_reltime_sub(&now, &sta->sa_query_start, &passed);
55 struct sta_info *sta; local
68 sta = ap_get_sta(hapd, addr);
69 if (sta && wpa_auth_uses_ocv(sta->wpa_sm)) {
128 struct sta_info *sta; local
139 sta = ap_get_sta(hapd, sa);
140 if (sta == NULL || !(sta
24 hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd, struct sta_info *sta, u8 *eid) argument
210 struct sta_info *sta; local
857 ap_copy_sta_supp_op_classes(struct sta_info *sta, const u8 *supp_op_classes, size_t supp_op_classes_len) argument
938 get_tx_parameters(struct sta_info *sta, int ap_max_chanwidth, int ap_seg1_idx, int *bandwidth, int *seg1_idx) argument
[all...]
H A Dwpa_auth_kay.c277 struct sta_info *sta)
355 struct sta_info *sta, u8 *sid,
361 session_id = ieee802_1x_get_session_id(sta->eapol_sm, &id_len);
382 struct sta_info *sta, u8 *msk, size_t *len)
387 if (!sta->eapol_sm)
390 key = ieee802_1x_get_key(sta->eapol_sm, &keylen);
410 struct sta_info *sta)
424 MACSTR, MAC2STR(sta->addr));
434 if (ieee802_1x_auth_get_msk(hapd, sta, msk->key, &msk->len)) {
439 if (ieee802_1x_auth_get_session_id(hapd, sta, si
276 ieee802_1x_alloc_kay_sm_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
354 ieee802_1x_auth_get_session_id(struct hostapd_data *hapd, struct sta_info *sta, u8 *sid, size_t *len) argument
381 ieee802_1x_auth_get_msk(struct hostapd_data *hapd, struct sta_info *sta, u8 *msk, size_t *len) argument
409 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
480 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A Dieee802_11_he.c322 u16 copy_sta_he_capab(struct hostapd_data *hapd, struct sta_info *sta, argument
329 sta->flags &= ~WLAN_STA_HE;
330 os_free(sta->he_capab);
331 sta->he_capab = NULL;
335 if (!sta->he_capab) {
336 sta->he_capab =
338 if (!sta->he_capab)
342 sta->flags |= WLAN_STA_HE;
343 os_memset(sta->he_capab, 0, sizeof(struct ieee80211_he_capabilities));
344 os_memcpy(sta
[all...]
H A Dhs20.c235 void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, argument
241 MACSTR, MAC2STR(sta->addr));
242 sta->hs20_t_c_filtering = 1;
245 MAC2STR(sta->addr));
249 MACSTR, MAC2STR(sta->addr));
250 sta->hs20_t_c_filtering = 0;
253 HS20_T_C_FILTERING_REMOVE MACSTR, MAC2STR(sta->addr));
/freebsd-12-stable/usr.sbin/pciconf/
H A Derr.c145 uint16_t sta, aer; local
149 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2);
150 print_bits("PCI errors", pci_status, sta & PCI_ERRORS);
158 sta = read_config(fd, &p->pc_sel, pcie + PCIER_DEVICE_STA, 2);
159 print_bits("PCI-e errors", pcie_device_status, sta & PCIE_ERRORS);
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_closefrom.c141 int sta; local
155 (void)wait(&sta);
160 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != 0)
H A Dt_nice.c102 int sta; local
145 (void)wait(&sta);
147 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-12-stable/contrib/wpa/hostapd/
H A Dctrl_iface.c111 struct sta_info *sta; local
118 sta = ap_get_sta(hapd, addr);
119 if (sta)
124 sta = ap_sta_add(hapd, addr);
125 if (sta == NULL)
128 hostapd_new_assoc_sta(hapd, sta, 0);
721 struct sta_info *sta; local
735 sta = ap_get_sta(hapd, addr);
736 if (sta == NULL) {
743 if (!sta
778 struct sta_info *sta; local
804 struct sta_info *sta; local
840 struct sta_info *sta; local
1000 struct sta_info *sta; local
1299 struct sta_info *sta; local
1319 struct sta_info *sta; local
1492 hostapd_ctrl_iface_kick_mismatch_psk_sta_iter(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
2103 struct sta_info *sta; local
2236 struct sta_info *sta = ctx2; local
2251 struct sta_info *sta; local
2281 struct sta_info *sta; local
2311 struct sta_info *sta; local
2449 struct sta_info *sta; local
2466 struct sta_info *sta; local
[all...]

Completed in 273 milliseconds

123456