Home
last modified time | relevance | path

Searched refs:res (Results 2176 – 2200 of 2450) sorted by last modified time

1...<<81828384858687888990>>...98

/freebsd/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c259 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
260 len += res; in hostapd_ctrl_iface_sta_mib()
262 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
263 len += res; in hostapd_ctrl_iface_sta_mib()
265 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
266 len += res; in hostapd_ctrl_iface_sta_mib()
269 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
270 len += res; in hostapd_ctrl_iface_sta_mib()
272 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
273 len += res; in hostapd_ctrl_iface_sta_mib()
[all …]
H A Ddfs.c361 res = i; in dfs_get_start_chan_idx()
414 res++; in dfs_check_chans_radar()
463 res++; in dfs_check_chans_unavailable()
466 res++; in dfs_check_chans_unavailable()
718 res++; in dfs_are_channels_overlapped()
804 if (res) in hostapd_handle_dfs()
811 res, res ? "yes": "no"); in hostapd_handle_dfs()
1175 int res; in hostapd_dfs_radar_detected() local
1191 if (!res) in hostapd_dfs_radar_detected()
1250 if (res) in hostapd_is_dfs_required()
[all …]
H A Dap_config.c1020 int start, end, middle, res; in hostapd_maclist_found() local
1027 res = os_memcmp(list[middle].addr, addr, ETH_ALEN); in hostapd_maclist_found()
1028 if (res == 0) { in hostapd_maclist_found()
1033 if (res < 0) in hostapd_maclist_found()
1142 bool res = false; in hostapd_sae_pk_password_without_pk() local
1149 res = true; in hostapd_sae_pk_password_without_pk()
1159 if (bss->ssid.wpa_passphrase && res && pw->pk && in hostapd_sae_pk_password_without_pk()
1161 res = false; in hostapd_sae_pk_password_without_pk()
1164 return res; in hostapd_sae_pk_password_without_pk()
H A Dap_drv_ops.c29 int res = 0; in hostapd_sta_flags_to_drv() local
31 res |= WPA_STA_AUTHORIZED; in hostapd_sta_flags_to_drv()
33 res |= WPA_STA_WMM; in hostapd_sta_flags_to_drv()
35 res |= WPA_STA_SHORT_PREAMBLE; in hostapd_sta_flags_to_drv()
37 res |= WPA_STA_MFP; in hostapd_sta_flags_to_drv()
39 res |= WPA_STA_AUTHENTICATED; in hostapd_sta_flags_to_drv()
41 res |= WPA_STA_ASSOCIATED; in hostapd_sta_flags_to_drv()
42 return res; in hostapd_sta_flags_to_drv()
819 int res; in hostapd_start_dfs_cac() local
843 if (!res) { in hostapd_start_dfs_cac()
[all …]
H A Dbeacon.c850 enum ssid_match_result res; in handle_probe_req() local
978 res = ssid_match(hapd, elems.ssid, elems.ssid_len, in handle_probe_req()
981 if (res == NO_SSID_MATCH) { in handle_probe_req()
993 if (hapd->conf->ignore_broadcast_ssid && res == WILDCARD_SSID_MATCH) { in handle_probe_req()
1089 noack = !!(res == WILDCARD_SSID_MATCH && in handle_probe_req()
1787 int res, ret = -1; in __ieee802_11_set_beacon() local
1856 res = hostapd_drv_set_ap(hapd, &params); in __ieee802_11_set_beacon()
1858 if (res) in __ieee802_11_set_beacon()
H A Daccounting.c465 int res; in accounting_interim_error_cb() local
497 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb()
499 if (res == 1) in accounting_interim_error_cb()
504 else if (res == 0) in accounting_interim_error_cb()
/freebsd/contrib/wpa/hs20/client/
H A Doma_dm_client.c394 int res; in oma_dm_exec_browser() local
412 if (res > 0) { in oma_dm_exec_browser()
429 int res; in oma_dm_exec_get_cert() local
946 char *str, *res; in oma_dm_send_recv() local
965 if (res == NULL) { in oma_dm_send_recv()
980 os_free(res); in oma_dm_send_recv()
1066 res = DM_RESP_BAD_REQUEST; in oma_dm_process()
1082 int res; in oma_dm_process() local
1095 int res; in oma_dm_process() local
1343 int res; in cmd_oma_dm_add() local
[all …]
H A Dest.c127 int res; in est_load_cacerts() local
253 int res; in add_csrattrs_oid() local
259 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_oid()
284 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_ext_req()
313 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_attr()
326 if (res < 0 || res >= (int) sizeof(txt2)) in add_csrattrs_attr()
445 int res; in generate_csr() local
458 if (!res) in generate_csr()
606 int res; in est_build_csr() local
671 return res; in est_build_csr()
[all …]
H A Dosu_client.c312 int res; in download_cert() local
347 if (res < 0) in download_cert()
1591 int res; in set_pps_cred_digital_cert() local
1630 int res; in set_pps_cred_realm() local
2164 int res; in osu_connect() local
2235 if (res < 0) { in osu_connect()
2250 if (res < 0) in osu_connect()
2272 if (res < 0) in osu_connect()
2500 int res; in cmd_signup() local
2541 if (res < 0) { in cmd_signup()
[all …]
H A Dspp_client.c479 int res; in hs20_spp_get_certificate() local
484 if (res < 0) in hs20_spp_get_certificate()
488 res == 0 ? in hs20_spp_get_certificate()
541 int res; in hs20_spp_exec() local
552 if (res > 0) { in hs20_spp_exec()
647 int res, ret; in process_spp_post_dev_data_response() local
654 if (res < 0) in process_spp_post_dev_data_response()
660 if (res == 0 && ret == 0) in process_spp_post_dev_data_response()
679 int res, ret; in process_spp_post_dev_data_response() local
709 int res; in process_spp_post_dev_data_response() local
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c266 int res; in hostapd_ctrl_iface_wps_nfc_config_token() local
286 return res; in hostapd_ctrl_iface_wps_nfc_config_token()
295 int res; in hostapd_ctrl_iface_wps_nfc_token_gen() local
308 return res; in hostapd_ctrl_iface_wps_nfc_token_gen()
341 int res; in hostapd_ctrl_iface_nfc_get_handover_sel() local
371 return res; in hostapd_ctrl_iface_nfc_get_handover_sel()
1590 int res; in hostapd_ctrl_iface_get() local
1762 int res; in hostapd_ctrl_iface_mgmt_tx() local
4038 int res; in hostapd_ctrl_iface_receive() local
4593 int res; in hostapd_ctrl_iface_dup_param() local
[all …]
H A Dhlr_auc_gw.c742 u8 res[EAP_AKA_RES_MAX_LEN]; in aka_req_auth() local
764 autn, ik, ck, res, &res_len); in aka_req_auth()
777 memset(res, '2', EAP_AKA_RES_MAX_LEN); in aka_req_auth()
805 pos += wpa_snprintf_hex(pos, end - pos, res, res_len); in aka_req_auth()
890 ssize_t res; in process() local
893 res = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *) &from, in process()
895 if (res < 0) { in process()
900 if (res == 0) in process()
903 if ((size_t) res >= sizeof(buf)) in process()
904 res = sizeof(buf) - 1; in process()
[all …]
H A Dhostapd_cli.c279 int res; in hostapd_cli_exec() local
447 int res; in hostapd_cli_cmd_wps_check_pin() local
514 int res; in hostapd_cli_cmd_wps_nfc_config_token() local
536 int res; in hostapd_cli_cmd_wps_nfc_token() local
557 int res; in hostapd_cli_cmd_nfc_get_handover_sel() local
654 int res; in hostapd_cli_cmd_disassoc_imminent() local
674 int res; in hostapd_cli_cmd_ess_disassoc() local
827 int res; in hostapd_cli_cmd_set_qos_map_set() local
847 int res; in hostapd_cli_cmd_send_qos_map_conf() local
866 int res; in hostapd_cli_cmd_hs20_wnm_notif() local
[all …]
H A Dconfig_file.c1207 u8 res = 0; in find_bit_offset() local
1212 res++; in find_bit_offset()
1215 return res; in find_bit_offset()
/freebsd/contrib/unbound/validator/
H A Dval_secalgo.h61 unsigned char* res);
69 void secalgo_hash_sha256(unsigned char* buf, size_t len, unsigned char* res);
128 unsigned char* res);
/freebsd/contrib/unbound/util/
H A Dtcp_conn_limit.c158 int res = 1; in tcl_new_connection() local
161 res = 0; in tcl_new_connection()
165 return res; in tcl_new_connection()
H A Dalloc.c377 void* res; in unbound_stat_malloc() local
381 if(!res) return NULL; in unbound_stat_malloc()
386 return res+16; in unbound_stat_malloc()
398 void* res; in unbound_stat_calloc() local
404 if(!res) return NULL; in unbound_stat_calloc()
409 return res+16; in unbound_stat_calloc()
437 void* res; in unbound_stat_realloc() local
454 if(!res) return NULL; in unbound_stat_realloc()
467 return res+16; in unbound_stat_realloc()
527 void* res; in unbound_stat_malloc_lite() local
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.h151 void libworker_enter_result(struct ub_result* res, struct sldns_buffer* buf,
/freebsd/contrib/unbound/contrib/
H A Dunbound-host.nagios.patch34 *res = strdup(buf);
35 if(!*res) {
44 if(!res) {
49 return res;
/freebsd/contrib/unbound/compat/
H A Dfake-rfc2553.c149 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
175 *res = malloc_ai(port, addr, hints); in getaddrinfo()
176 if (*res == NULL) in getaddrinfo()
182 *res = malloc_ai(port, htonl(0x7f000001), hints); in getaddrinfo()
183 if (*res == NULL) in getaddrinfo()
189 *res = malloc_ai(port, in.s_addr, hints); in getaddrinfo()
190 if (*res == NULL) in getaddrinfo()
203 cur = prev = *res = NULL; in getaddrinfo()
209 if (*res != NULL) in getaddrinfo()
210 freeaddrinfo(*res); in getaddrinfo()
[all …]
/freebsd/contrib/tnftp/
H A DChangeLog927 res->ai_socktype, because it appears that linux with glibc
1402 - remove unnecessary freeaddrinfo(res), since res0 was changed to be
/freebsd/contrib/tnftp/src/
H A Dfetch.c480 struct addrinfo hints, *res, *res0 = NULL; in fetch_url() local
717 for (res = res0; res; res = res->ai_next) { in fetch_url()
720 ai_unmapped(res); in fetch_url()
721 if (getnameinfo(res->ai_addr, res->ai_addrlen, in fetch_url()
733 s = socket(res->ai_family, SOCK_STREAM, in fetch_url()
734 res->ai_protocol); in fetch_url()
742 if (ftp_connect(s, res->ai_addr, res->ai_addrlen) < 0) { in fetch_url()
H A Dftp.c169 struct addrinfo hints, *res, *res0; in hookup() local
197 for (res = res0; res; res = res->ai_next) { in hookup()
200 ai_unmapped(res); in hookup()
201 if (getnameinfo(res->ai_addr, res->ai_addrlen, in hookup()
211 s = socket(res->ai_family, SOCK_STREAM, res->ai_protocol); in hookup()
217 if (ftp_connect(s, res->ai_addr, res->ai_addrlen) < 0) { in hookup()
232 memcpy(&hisctladdr.si_su, res->ai_addr, res->ai_addrlen); in hookup()
233 hisctladdr.su_len = res->ai_addrlen; in hookup()
235 res0 = res = NULL; in hookup()
H A Dutil.c1265 struct addrinfo hints, *res; in isipv6addr() local
1271 if (getaddrinfo(addr, "0", &hints, &res) != 0) in isipv6addr()
1275 freeaddrinfo(res); in isipv6addr()
/freebsd/contrib/tcsh/
H A Dtc.func.c181 res = xmalloc((p - buf + 2) * sizeof(*res)); in Itoa()
182 s = res; in Itoa()
189 return res; in Itoa()
1956 res = NULL;
2006 ssize_t res; local
2009 if (res < 0)
2011 host += res;
2012 left -= res;
2050 ssize_t res; local
2053 if (res == -1) {
[all …]

1...<<81828384858687888990>>...98