/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 133 struct hostapd_config *conf; in hostapd_config_defaults() local 156 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults() 158 if (conf == NULL || bss == NULL) { in hostapd_config_defaults() 161 os_free(conf); in hostapd_config_defaults() 165 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults() 166 if (conf->bss == NULL) { in hostapd_config_defaults() 167 os_free(conf); in hostapd_config_defaults() 171 conf->bss[0] = bss; in hostapd_config_defaults() 175 os_free(conf->bss); in hostapd_config_defaults() 176 os_free(conf); in hostapd_config_defaults() [all …]
|
D | authsrv.c | 99 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local 101 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv() 102 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv() 103 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv() 108 srv.pac_opaque_encr_key = conf->pac_opaque_encr_key; in hostapd_setup_radius_srv() 109 srv.eap_fast_a_id = conf->eap_fast_a_id; in hostapd_setup_radius_srv() 110 srv.eap_fast_a_id_len = conf->eap_fast_a_id_len; in hostapd_setup_radius_srv() 111 srv.eap_fast_a_id_info = conf->eap_fast_a_id_info; in hostapd_setup_radius_srv() 112 srv.eap_fast_prov = conf->eap_fast_prov; in hostapd_setup_radius_srv() 113 srv.pac_key_lifetime = conf->pac_key_lifetime; in hostapd_setup_radius_srv() [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() 179 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte() 183 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte() 185 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte() 192 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte() 194 if (hapd->conf->interworking) in hostapd_ext_capab_byte() 198 if (hapd->conf->qos_map_set_len) in hostapd_ext_capab_byte() 200 if (hapd->conf->tdls & TDLS_PROHIBIT) in hostapd_ext_capab_byte() [all …]
|
D | hostapd.c | 86 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss() 89 ssid = &hapd->conf->ssid; in hostapd_reload_bss() 96 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss() 98 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss() 103 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss() 104 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 106 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() 108 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 112 } else if (hapd->conf->wpa) { in hostapd_reload_bss() 124 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reload_bss() [all …]
|
D | hw_features.c | 157 if (iface->conf->basic_rates) in hostapd_prepare_rates() 158 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates() 199 if (iface->conf->supported_rates && in hostapd_prepare_rates() 200 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates() 216 (!iface->conf->ieee80211n || !iface->conf->require_ht)) { in hostapd_prepare_rates() 232 if (!iface->conf->secondary_channel) in ieee80211n_allowed_ht40_channel_pair() 235 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair() 236 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 245 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 246 iface->conf->channel += 4; in ieee80211n_switch_pri_sec() [all …]
|
D | beacon.c | 43 if (hapd->conf->radio_measurements[i]) in hostapd_eid_rm_enabled_capab() 52 os_memcpy(eid, hapd->conf->radio_measurements, RRM_CAPABILITIES_IE_LEN); in hostapd_eid_rm_enabled_capab() 64 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load() 67 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load() 72 if (hapd->conf->bss_load_update_period) { in hostapd_eid_bss_load() 369 return hapd->conf->owe_transition_ssid_len > 0 && in hostapd_eid_owe_trans_enabled() 370 !is_zero_ether_addr(hapd->conf->owe_transition_bssid); in hostapd_eid_owe_trans_enabled() 380 return 6 + ETH_ALEN + 1 + hapd->conf->owe_transition_ssid_len; in hostapd_eid_owe_trans_len() 394 if (hapd->conf->owe_transition_ifname[0] && in hostapd_eid_owe_trans() 413 os_memcpy(pos, hapd->conf->owe_transition_bssid, ETH_ALEN); in hostapd_eid_owe_trans() [all …]
|
D | wpa_auth_ie.c | 27 static int wpa_write_wpa_ie(struct wpa_auth_config *conf, u8 *buf, size_t len) in wpa_write_wpa_ie() argument 40 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, conf->wpa_group); in wpa_write_wpa_ie() 43 conf->wpa_group); in wpa_write_wpa_ie() 52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie() 55 conf->wpa_pairwise); in wpa_write_wpa_ie() 65 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie() 70 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie() 78 conf->wpa_key_mgmt); in wpa_write_wpa_ie() 91 int wpa_write_rsn_ie(struct wpa_auth_config *conf, u8 *buf, size_t len, in wpa_write_rsn_ie() argument 105 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, conf->wpa_group); in wpa_write_rsn_ie() [all …]
|
D | dfs.c | 28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans() 31 if (iface->conf->ieee80211ac) { in dfs_get_used_n_chans() 32 switch (iface->conf->vht_oper_chwidth) { in dfs_get_used_n_chans() 168 if (!iface->conf->acs_ch_list.num) in is_in_chanlist() 171 return freq_range_list_includes(&iface->conf->acs_ch_list, chan->chan); in is_in_chanlist() 198 if (iface->conf->ieee80211n && in dfs_find_channel() 199 iface->conf->secondary_channel && in dfs_find_channel() 228 if (!iface->conf->ieee80211ac) in dfs_adjust_vht_center_freq() 236 switch (iface->conf->vht_oper_chwidth) { in dfs_adjust_vht_center_freq() 268 int channel_no = iface->conf->channel; in dfs_get_start_chan_idx() [all …]
|
D | wpa_auth_glue.c | 35 static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf, in hostapd_wpa_auth_conf() argument 40 wconf->wpa = conf->wpa; in hostapd_wpa_auth_conf() 41 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf() 42 wconf->wpa_pairwise = conf->wpa_pairwise; in hostapd_wpa_auth_conf() 43 wconf->wpa_group = conf->wpa_group; in hostapd_wpa_auth_conf() 44 wconf->wpa_group_rekey = conf->wpa_group_rekey; in hostapd_wpa_auth_conf() 45 wconf->wpa_strict_rekey = conf->wpa_strict_rekey; in hostapd_wpa_auth_conf() 46 wconf->wpa_gmk_rekey = conf->wpa_gmk_rekey; in hostapd_wpa_auth_conf() 47 wconf->wpa_ptk_rekey = conf->wpa_ptk_rekey; in hostapd_wpa_auth_conf() 48 wconf->wpa_group_update_count = conf->wpa_group_update_count; in hostapd_wpa_auth_conf() [all …]
|
D | wps_hostapd.c | 65 (hapd->conf->wps_independent || in wps_for_each() 66 data->calling_hapd->conf->wps_independent)) in wps_for_each() 101 struct hostapd_ssid *ssid = &hapd->conf->ssid; in hostapd_wps_new_psk_cb() 191 if (hapd->conf->wps_pin_requests) { in hostapd_wps_pin_needed_cb() 194 f = fopen(hapd->conf->wps_pin_requests, "a"); in hostapd_wps_pin_needed_cb() 316 struct hostapd_bss_config *bss = hapd->conf; in hapd_wps_reconfig_in_memory() 422 if ((hapd->conf->wps_cred_processing == 1 || in hapd_wps_cred_cb() 423 hapd->conf->wps_cred_processing == 2) && cred->cred_attr) { in hapd_wps_cred_cb() 425 } else if (hapd->conf->wps_cred_processing == 1 || in hapd_wps_cred_cb() 426 hapd->conf->wps_cred_processing == 2) { in hapd_wps_cred_cb() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_urb.c | 59 struct urb_configuration *conf) in urb_alloc_gen7_pcb() argument 78 conf->vs_pcb_alloc_kb = increment_kb * 4; in urb_alloc_gen7_pcb() 79 conf->hs_pcb_alloc_kb = increment_kb * 3; in urb_alloc_gen7_pcb() 80 conf->ds_pcb_alloc_kb = increment_kb * 3; in urb_alloc_gen7_pcb() 81 conf->gs_pcb_alloc_kb = increment_kb * 3; in urb_alloc_gen7_pcb() 82 conf->ps_pcb_alloc_kb = increment_kb * 3; in urb_alloc_gen7_pcb() 84 conf->vs_pcb_alloc_kb = increment_kb * 6; in urb_alloc_gen7_pcb() 85 conf->gs_pcb_alloc_kb = increment_kb * 5; in urb_alloc_gen7_pcb() 86 conf->ps_pcb_alloc_kb = increment_kb * 5; in urb_alloc_gen7_pcb() 88 conf->vs_pcb_alloc_kb = increment_kb * 8; in urb_alloc_gen7_pcb() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 72 struct mesh_conf *conf; in mesh_config_create() local 75 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create() 76 if (!conf) in mesh_config_create() 79 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create() 80 conf->meshid_len = ssid->ssid_len; in mesh_config_create() 83 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create() 86 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create() 88 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create() 89 if (conf->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { in mesh_config_create() 91 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create() [all …]
|
D | ap.c | 50 struct hostapd_config *conf, in wpas_conf_ap_vht() argument 55 u8 channel = conf->channel; in wpas_conf_ap_vht() 58 if (!conf->secondary_channel) in wpas_conf_ap_vht() 63 conf->vht_oper_chwidth = ssid->max_oper_chwidth; in wpas_conf_ap_vht() 66 &conf->vht_oper_centr_freq_seg1_idx); in wpas_conf_ap_vht() 70 conf->vht_oper_chwidth == VHT_CHANWIDTH_USE_HT) in wpas_conf_ap_vht() 73 &conf->vht_oper_centr_freq_seg0_idx); in wpas_conf_ap_vht() 78 switch (conf->vht_oper_chwidth) { in wpas_conf_ap_vht() 92 conf->vht_oper_chwidth = VHT_CHANWIDTH_160MHZ; in wpas_conf_ap_vht() 95 conf->vht_oper_chwidth = VHT_CHANWIDTH_80MHZ; in wpas_conf_ap_vht() [all …]
|
/external/boringssl/src/crypto/conf/ |
D | conf.c | 100 CONF *conf; in NCONF_new() local 106 conf = OPENSSL_malloc(sizeof(CONF)); in NCONF_new() 107 if (conf == NULL) { in NCONF_new() 111 conf->data = lh_CONF_VALUE_new(conf_value_hash, conf_value_cmp); in NCONF_new() 112 if (conf->data == NULL) { in NCONF_new() 113 OPENSSL_free(conf); in NCONF_new() 117 return conf; in NCONF_new() 151 void NCONF_free(CONF *conf) { in NCONF_free() argument 152 if (conf == NULL || conf->data == NULL) { in NCONF_free() 156 lh_CONF_VALUE_doall(conf->data, value_free); in NCONF_free() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglconfig.c | 59 _eglInitConfig(_EGLConfig *conf, _EGLDisplay *dpy, EGLint id) in _eglInitConfig() argument 61 memset(conf, 0, sizeof(*conf)); in _eglInitConfig() 63 conf->Display = dpy; in _eglInitConfig() 66 conf->ConfigID = id; in _eglInitConfig() 67 conf->ConfigCaveat = EGL_NONE; in _eglInitConfig() 68 conf->TransparentType = EGL_NONE; in _eglInitConfig() 69 conf->NativeVisualType = EGL_NONE; in _eglInitConfig() 70 conf->ColorBufferType = EGL_RGB_BUFFER; in _eglInitConfig() 81 _eglLinkConfig(_EGLConfig *conf) in _eglLinkConfig() argument 83 _EGLDisplay *dpy = conf->Display; in _eglLinkConfig() [all …]
|
/external/mesa3d/src/egl/drivers/haiku/ |
D | egl_haiku.cpp | 84 _EGLConfig *conf, void *native_window, const EGLint *attrib_list) in haiku_create_window_surface() argument 96 conf, attrib_list)) { in haiku_create_window_surface() 121 _EGLConfig *conf, void *native_pixmap, const EGLint *attrib_list) in haiku_create_pixmap_surface() argument 129 _EGLConfig *conf, const EGLint *attrib_list) in haiku_create_pbuffer_surface() argument 151 struct haiku_egl_config* conf; in haiku_add_configs_for_visuals() local 152 conf = (struct haiku_egl_config*) calloc(1, sizeof (*conf)); in haiku_add_configs_for_visuals() 153 if (!conf) { in haiku_add_configs_for_visuals() 158 _eglInitConfig(&conf->base, dpy, 1); in haiku_add_configs_for_visuals() 161 _eglSetConfigKey(&conf->base, EGL_RED_SIZE, 8); in haiku_add_configs_for_visuals() 162 _eglSetConfigKey(&conf->base, EGL_BLUE_SIZE, 8); in haiku_add_configs_for_visuals() [all …]
|
/external/selinux/libsemanage/src/ |
D | conf-parse.y | 338 static int semanage_conf_init(semanage_conf_t * conf) 340 conf->store_type = SEMANAGE_CON_DIRECT; 341 conf->store_path = strdup(basename(selinux_policy_root())); 342 conf->ignoredirs = NULL; 343 conf->store_root_path = strdup("/var/lib/selinux"); 344 conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll"); 345 conf->policyvers = sepol_policy_kern_vers_max(); 346 conf->target_platform = SEPOL_TARGET_SELINUX; 347 conf->expand_check = 1; 348 conf->handle_unknown = -1; [all …]
|
D | Makefile | 25 DEFAULT_SEMANAGE_CONF_LOCATION=$(DESTDIR)/etc/selinux/semanage.conf 54 GENERATED=$(SWIGCOUT) $(SWIGRUBYCOUT) semanageswig_python_exception.i $(sort $(wildcard conf-*.[ch]… 57 OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o 58 LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo 103 conf-scan.c: conf-scan.l conf-parse.h 106 conf-parse.c: conf-parse.y 109 conf-parse.h: conf-parse.c 117 conf-parse.o: conf-parse.c 120 conf-parse.lo: conf-parse.c 123 conf-scan.o: conf-scan.c [all …]
|
/external/autotest/client/common_lib/ |
D | global_config_unittest.py | 76 conf = global_config.global_config variable in global_config_test 85 self.conf.set_config_files(self.global_temp.name, self.shadow_temp.name, 94 self.conf.set_config_files(global_config.DEFAULT_CONFIG_FILE, 101 val = self.conf.get_config_value("SECTION_A", "value_1", float) 108 val = self.conf.get_config_value("SECTION_B", "value_1", int) 111 val = self.conf.get_config_value("SECTION_B", "value_3", int) 113 val = self.conf.get_config_value("SECTION_B", "value_4", int) 119 val = self.conf.get_config_value("SECTION_A", "value_2") 138 self.conf.reset_config_values() 141 val = self.conf.get_config_value("SECTION_C", "value_1") [all …]
|
/external/scapy/scapy/arch/ |
D | pcapdnet.py | 17 from scapy.config import conf 26 if conf.use_winpcapy: 55 conf.use_npcap = True 60 conf.use_winpcapy = False 61 if conf.interactive: 73 if conf.cache_ipaddrs: 74 return conf.cache_ipaddrs.get(iff.pcap_name, None) 90 conf.cache_ipaddrs[plain_str(p.contents.name)] = if_raw_addr 93 return conf.cache_ipaddrs.get(iff.pcap_name, None) 96 if conf.use_winpcapy: [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 163 struct hostapd_radius_servers *conf; member 364 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local 375 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit() 383 conf->acct_server->requests++; in radius_client_retransmit() 385 conf->acct_server->timeouts++; in radius_client_retransmit() 386 conf->acct_server->retransmissions++; in radius_client_retransmit() 391 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit() 399 conf->auth_server->requests++; in radius_client_retransmit() 401 conf->auth_server->timeouts++; in radius_client_retransmit() 402 conf->auth_server->retransmissions++; in radius_client_retransmit() [all …]
|
/external/selinux/mcstrans/share/util/ |
D | try-all | 15 …rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setran… 18 if [ -e $d/setrans.conf ]; then 19 mv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.conf.bak 23 if [ -e /etc/selinux/mls/secolor.conf ]; then 24 mv /etc/selinux/mls/secolor.conf /etc/selinux/mls/secolor.conf.bak 31 if [ -e $d/setrans.conf ]; then 32 cp -L $d/setrans.conf /etc/selinux/mls/setrans.conf 34 if [ -e $d/secolor.conf ]; then 35 cp -L $d/secolor.conf /etc/selinux/mls 49 if [ -e /etc/selinux/mls/setrans.conf.bak ]; then [all …]
|
/external/lisa/libs/utils/ |
D | env.py | 36 from conf import JsonConf 196 self.conf = {} 240 self.conf = target_conf 243 self.conf = self.loadTargetConfig(target_conf) 246 self.conf = self.loadTargetConfig() 247 self._log.debug('Target configuration %s', self.conf) 259 self._log.debug('Test configuration %s', self.conf) 262 if 'workdir' in self.conf: 263 self.workdir = self.conf['workdir'] 267 target_conf_tools = self.conf.get('tools', []) [all …]
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 153 conf.lib.clang_disposeString(self) 158 return conf.lib.clang_getCString(res) 170 conf.lib.clang_getInstantiationLocation(self, byref(f), byref(l), 185 return conf.lib.clang_getLocation(tu, file, line, column) 195 return conf.lib.clang_getLocationForOffset(tu, file, offset) 218 return conf.lib.clang_equalLocations(self, other) 245 return conf.lib.clang_getRange(start, end) 253 return conf.lib.clang_getRangeStart(self) 261 return conf.lib.clang_getRangeEnd(self) 264 return conf.lib.clang_equalRanges(self, other) [all …]
|
/external/iptables/extensions/ |
D | libxt_connlabel.t | 2 # Backup the connlabel.conf, then add some label maps for test 3 @[ -f /etc/xtables/connlabel.conf ] && mv /etc/xtables/connlabel.conf /tmp/connlabel.conf.bak 5 @echo "40 bit40" > /etc/xtables/connlabel.conf 6 @echo "41 bit41" >> /etc/xtables/connlabel.conf 7 @echo "128 bit128" >> /etc/xtables/connlabel.conf 13 @echo > /etc/xtables/connlabel.conf 15 @rm -f /etc/xtables/connlabel.conf 17 # Restore the original connlabel.conf 18 @[ -f /tmp/connlabel.conf.bak ] && mv /tmp/connlabel.conf.bak /etc/xtables/connlabel.conf
|