/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 101 struct hostapd_config *conf; in hostapd_config_defaults() local 124 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults() 126 if (conf == NULL || bss == NULL) { in hostapd_config_defaults() 129 os_free(conf); in hostapd_config_defaults() 136 os_free(conf); in hostapd_config_defaults() 143 conf->num_bss = 1; in hostapd_config_defaults() 144 conf->bss = bss; in hostapd_config_defaults() 146 conf->beacon_int = 100; in hostapd_config_defaults() 147 conf->rts_threshold = -1; /* use driver default: 2347 */ in hostapd_config_defaults() 148 conf->fragm_threshold = -1; /* user driver default: 2346 */ in hostapd_config_defaults() [all …]
|
D | authsrv.c | 91 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local 93 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv() 94 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv() 99 srv.pac_opaque_encr_key = conf->pac_opaque_encr_key; in hostapd_setup_radius_srv() 100 srv.eap_fast_a_id = conf->eap_fast_a_id; in hostapd_setup_radius_srv() 101 srv.eap_fast_a_id_len = conf->eap_fast_a_id_len; in hostapd_setup_radius_srv() 102 srv.eap_fast_a_id_info = conf->eap_fast_a_id_info; in hostapd_setup_radius_srv() 103 srv.eap_fast_prov = conf->eap_fast_prov; in hostapd_setup_radius_srv() 104 srv.pac_key_lifetime = conf->pac_key_lifetime; in hostapd_setup_radius_srv() 105 srv.pac_key_refresh_time = conf->pac_key_refresh_time; in hostapd_setup_radius_srv() [all …]
|
D | hostapd.c | 65 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss() 68 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss() 73 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss() 74 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 76 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() 78 if (hapd->conf->wpa && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 82 } else if (hapd->conf->wpa) { in hostapd_reload_bss() 94 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss() 101 if (hapd->conf->ssid.ssid_set && in hostapd_reload_bss() 102 hostapd_set_ssid(hapd, hapd->conf->ssid.ssid, in hostapd_reload_bss() [all …]
|
D | ieee802_11_shared.c | 35 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time() 36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time() 39 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time() 177 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte() 179 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte() 186 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte() 188 if (hapd->conf->interworking) in hostapd_ext_capab_byte() 192 if (hapd->conf->tdls & TDLS_PROHIBIT) in hostapd_ext_capab_byte() 194 if (hapd->conf->tdls & TDLS_PROHIBIT_CHAN_SWITCH) { in hostapd_ext_capab_byte() 202 if (hapd->conf->ssid.utf8_ssid) in hostapd_ext_capab_byte() [all …]
|
D | hw_features.c | 114 if (iface->conf->basic_rates) in hostapd_prepare_rates() 115 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates() 156 if (iface->conf->supported_rates && in hostapd_prepare_rates() 157 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates() 173 (!iface->conf->ieee80211n || !iface->conf->require_ht)) { in hostapd_prepare_rates() 192 if (!iface->conf->secondary_channel) in ieee80211n_allowed_ht40_channel_pair() 195 sec_chan = iface->conf->channel + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 198 iface->conf->channel, sec_chan); in ieee80211n_allowed_ht40_channel_pair() 227 if (iface->conf->secondary_channel > 0) in ieee80211n_allowed_ht40_channel_pair() 228 first = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair() [all …]
|
D | beacon.c | 209 if (hapd->conf->vendor_elements) in hostapd_gen_probe_resp() 210 buflen += wpabuf_len(hapd->conf->vendor_elements); in hostapd_gen_probe_resp() 233 *pos++ = hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp() 234 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp() 235 pos += hapd->conf->ssid.ssid_len; in hostapd_gen_probe_resp() 277 if (hapd->conf->wps_state && hapd->wps_probe_resp_ie) { in hostapd_gen_probe_resp() 285 if ((hapd->conf->p2p & P2P_ENABLED) && is_p2p && in hostapd_gen_probe_resp() 293 if ((hapd->conf->p2p & (P2P_MANAGE | P2P_ENABLED | P2P_GROUP_OWNER)) == in hostapd_gen_probe_resp() 302 if (hapd->conf->vendor_elements) { in hostapd_gen_probe_resp() 303 os_memcpy(pos, wpabuf_head(hapd->conf->vendor_elements), in hostapd_gen_probe_resp() [all …]
|
D | wpa_auth_glue.c | 30 static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf, in hostapd_wpa_auth_conf() argument 35 wconf->wpa = conf->wpa; in hostapd_wpa_auth_conf() 36 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf() 37 wconf->wpa_pairwise = conf->wpa_pairwise; in hostapd_wpa_auth_conf() 38 wconf->wpa_group = conf->wpa_group; in hostapd_wpa_auth_conf() 39 wconf->wpa_group_rekey = conf->wpa_group_rekey; in hostapd_wpa_auth_conf() 40 wconf->wpa_strict_rekey = conf->wpa_strict_rekey; in hostapd_wpa_auth_conf() 41 wconf->wpa_gmk_rekey = conf->wpa_gmk_rekey; in hostapd_wpa_auth_conf() 42 wconf->wpa_ptk_rekey = conf->wpa_ptk_rekey; in hostapd_wpa_auth_conf() 43 wconf->rsn_pairwise = conf->rsn_pairwise; in hostapd_wpa_auth_conf() [all …]
|
/external/openssl/crypto/conf/ |
D | conf_lib.c | 72 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument 77 default_CONF_method->init(conf); in CONF_set_nconf() 78 conf->data = hash; in CONF_set_nconf() 90 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF() 107 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF() 114 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF() 123 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF() 129 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF() 135 CONF_set_nconf(&ctmp, conf); in LHASH_OF() 143 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF() [all …]
|
D | conf_def.c | 72 static char *eat_ws(CONF *conf, char *p); 73 static char *eat_alpha_numeric(CONF *conf, char *p); 74 static void clear_comments(CONF *conf, char *p); 75 static int str_copy(CONF *conf,char *section,char **to, char *from); 76 static char *scan_quote(CONF *conf, char *p); 77 static char *scan_dquote(CONF *conf, char *p); 78 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument 81 static int def_init_default(CONF *conf); 82 static int def_init_WIN32(CONF *conf); 83 static int def_destroy(CONF *conf); [all …]
|
D | conf.h | 92 int (*init)(CONF *conf); 93 int (*destroy)(CONF *conf); 94 int (*destroy_data)(CONF *conf); 95 int (*load_bio)(CONF *conf, BIO *bp, long *eline); 96 int (*dump)(const CONF *conf, BIO *bp); 97 int (*is_number)(const CONF *conf, char c); 98 int (*to_int)(const CONF *conf, char c); 99 int (*load)(CONF *conf, const char *name, long *eline); 122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash); 123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file, [all …]
|
D | conf_api.c | 74 LHASH_OF(CONF_VALUE) *conf); 81 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in IMPLEMENT_LHASH_DOALL_ARG_FN() 85 if ((conf == NULL) || (section == NULL)) return(NULL); in IMPLEMENT_LHASH_DOALL_ARG_FN() 88 v=lh_CONF_VALUE_retrieve(conf->data,&vv); in IMPLEMENT_LHASH_DOALL_ARG_FN() 93 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF() 98 v=_CONF_get_section(conf,section); in STACK_OF() 105 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument 118 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string() 129 char *_CONF_get_string(const CONF *conf, const char *section, const char *name) in _CONF_get_string() argument 135 if (conf != NULL) in _CONF_get_string() [all …]
|
D | test.c | 66 LHASH *conf; in main() local 73 conf=CONF_load(NULL,"ssleay.cnf",&eline); in main() 74 if (conf == NULL) in main() 81 lh_stats(conf,stdout); in main() 82 lh_node_stats(conf,stdout); in main() 83 lh_node_usage_stats(conf,stdout); in main() 85 s=CONF_get_string(conf,NULL,"init2"); in main() 88 s=CONF_get_string(conf,NULL,"cipher1"); in main() 91 s=CONF_get_string(conf,"s_client","cipher1"); in main() 95 CONF_dump_fp(conf, stdout); in main()
|
/external/chromium_org/third_party/openssl/openssl/crypto/conf/ |
D | conf_lib.c | 72 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument 77 default_CONF_method->init(conf); in CONF_set_nconf() 78 conf->data = hash; in CONF_set_nconf() 90 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF() 107 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF() 114 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF() 123 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF() 129 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF() 135 CONF_set_nconf(&ctmp, conf); in LHASH_OF() 143 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF() [all …]
|
D | conf_def.c | 72 static char *eat_ws(CONF *conf, char *p); 73 static char *eat_alpha_numeric(CONF *conf, char *p); 74 static void clear_comments(CONF *conf, char *p); 75 static int str_copy(CONF *conf,char *section,char **to, char *from); 76 static char *scan_quote(CONF *conf, char *p); 77 static char *scan_dquote(CONF *conf, char *p); 78 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument 81 static int def_init_default(CONF *conf); 82 static int def_init_WIN32(CONF *conf); 83 static int def_destroy(CONF *conf); [all …]
|
D | conf_api.c | 74 LHASH_OF(CONF_VALUE) *conf); 81 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in IMPLEMENT_LHASH_DOALL_ARG_FN() 85 if ((conf == NULL) || (section == NULL)) return(NULL); in IMPLEMENT_LHASH_DOALL_ARG_FN() 88 v=lh_CONF_VALUE_retrieve(conf->data,&vv); in IMPLEMENT_LHASH_DOALL_ARG_FN() 93 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF() 98 v=_CONF_get_section(conf,section); in STACK_OF() 105 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument 118 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string() 129 char *_CONF_get_string(const CONF *conf, const char *section, const char *name) in _CONF_get_string() argument 135 if (conf != NULL) in _CONF_get_string() [all …]
|
D | conf.h | 92 int (*init)(CONF *conf); 93 int (*destroy)(CONF *conf); 94 int (*destroy_data)(CONF *conf); 95 int (*load_bio)(CONF *conf, BIO *bp, long *eline); 96 int (*dump)(const CONF *conf, BIO *bp); 97 int (*is_number)(const CONF *conf, char c); 98 int (*to_int)(const CONF *conf, char c); 99 int (*load)(CONF *conf, const char *name, long *eline); 122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash); 123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file, [all …]
|
D | test.c | 66 LHASH *conf; in main() local 73 conf=CONF_load(NULL,"ssleay.cnf",&eline); in main() 74 if (conf == NULL) in main() 81 lh_stats(conf,stdout); in main() 82 lh_node_stats(conf,stdout); in main() 83 lh_node_usage_stats(conf,stdout); in main() 85 s=CONF_get_string(conf,NULL,"init2"); in main() 88 s=CONF_get_string(conf,NULL,"cipher1"); in main() 91 s=CONF_get_string(conf,"s_client","cipher1"); in main() 95 CONF_dump_fp(conf, stdout); in main()
|
/external/kernel-headers/original/linux/ |
D | textsearch.h | 78 struct ts_config *conf, 89 void (*finish)(struct ts_config *conf, 105 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next() argument 108 unsigned int ret = conf->ops->find(conf, state); in textsearch_next() 110 if (conf->finish) in textsearch_next() 111 conf->finish(conf, state); in textsearch_next() 124 static inline unsigned int textsearch_find(struct ts_config *conf, in textsearch_find() argument 128 return textsearch_next(conf, state); in textsearch_find() 135 static inline void *textsearch_get_pattern(struct ts_config *conf) in textsearch_get_pattern() argument 137 return conf->ops->get_pattern(conf); in textsearch_get_pattern() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglconfig.c | 57 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) in _eglInitConfig() argument 59 memset(conf, 0, sizeof(*conf)); in _eglInitConfig() 61 conf->Display = dpy; in _eglInitConfig() 64 conf->ConfigID = id; in _eglInitConfig() 65 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig() 66 conf->TransparentType = EGL_NONE; in _eglInitConfig() 67 conf->NativeVisualType = EGL_NONE; in _eglInitConfig() 68 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig() 79 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument 81 _EGLDisplay *dpy = conf->Display; in _eglLinkConfig() [all …]
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
D | eglconfig.c | 57 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) in _eglInitConfig() argument 59 memset(conf, 0, sizeof(*conf)); in _eglInitConfig() 61 conf->Display = dpy; in _eglInitConfig() 64 conf->ConfigID = id; in _eglInitConfig() 65 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig() 66 conf->TransparentType = EGL_NONE; in _eglInitConfig() 67 conf->NativeVisualType = EGL_NONE; in _eglInitConfig() 68 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig() 79 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument 81 _EGLDisplay *dpy = conf->Display; in _eglLinkConfig() [all …]
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | conf.h | 92 int (*init)(CONF *conf); 93 int (*destroy)(CONF *conf); 94 int (*destroy_data)(CONF *conf); 95 int (*load_bio)(CONF *conf, BIO *bp, long *eline); 96 int (*dump)(const CONF *conf, BIO *bp); 97 int (*is_number)(const CONF *conf, char c); 98 int (*to_int)(const CONF *conf, char c); 99 int (*load)(CONF *conf, const char *name, long *eline); 122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash); 123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file, [all …]
|
/external/openssl/include/openssl/ |
D | conf.h | 92 int (*init)(CONF *conf); 93 int (*destroy)(CONF *conf); 94 int (*destroy_data)(CONF *conf); 95 int (*load_bio)(CONF *conf, BIO *bp, long *eline); 96 int (*dump)(const CONF *conf, BIO *bp); 97 int (*is_number)(const CONF *conf, char c); 98 int (*to_int)(const CONF *conf, char c); 99 int (*load)(CONF *conf, const char *name, long *eline); 122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash); 123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file, [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ap.c | 47 struct hostapd_config *conf) in wpa_supplicant_conf_ap() argument 49 struct hostapd_bss_config *bss = &conf->bss[0]; in wpa_supplicant_conf_ap() 51 conf->driver = wpa_s->driver; in wpa_supplicant_conf_ap() 55 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap() 56 &conf->channel); in wpa_supplicant_conf_ap() 57 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap() 77 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap() 85 conf->ieee80211n = 0; in wpa_supplicant_conf_ap() 86 conf->ht_capab = 0; in wpa_supplicant_conf_ap() 92 conf->ieee80211n = 1; in wpa_supplicant_conf_ap() [all …]
|
/external/dhcpcd/dhcpcd-hooks/ |
D | 20-resolv.conf | 53 if [ -f /etc/resolv.conf.head ]; then 54 cat /etc/resolv.conf.head >> "$cf" 59 if [ -f /etc/resolv.conf.tail ]; then 60 cat /etc/resolv.conf.tail >> "$cf" 64 cat "$cf" > /etc/resolv.conf 65 chmod 644 /etc/resolv.conf 71 local x= conf="$signature\n" 84 conf="${conf}domain $new_domain_name\n" 91 conf="${conf}search $new_domain_search\n" 94 conf="${conf}nameserver $x\n" [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 163 struct hostapd_radius_servers *conf; member 325 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local 333 conf->acct_server->requests++; in radius_client_retransmit() 335 conf->acct_server->timeouts++; in radius_client_retransmit() 336 conf->acct_server->retransmissions++; in radius_client_retransmit() 341 conf->auth_server->requests++; in radius_client_retransmit() 343 conf->auth_server->timeouts++; in radius_client_retransmit() 344 conf->auth_server->retransmissions++; in radius_client_retransmit() 376 struct hostapd_radius_servers *conf = radius->conf; in radius_client_timer() local 432 if (auth_failover && conf->num_auth_servers > 1) { in radius_client_timer() [all …]
|