Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dap_config.c181 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
186 os_free(conf); in hostapd_config_defaults()
192 os_free(conf); in hostapd_config_defaults()
201 os_free(conf); in hostapd_config_defaults()
241 conf->acs = 0; in hostapd_config_defaults()
266 return conf; in hostapd_config_defaults()
655 while (conf) { in hostapd_dpp_controller_conf_free()
656 prev = conf; in hostapd_dpp_controller_conf_free()
657 conf = conf->next; in hostapd_dpp_controller_conf_free()
867 os_free(conf); in hostapd_config_free_bss()
[all …]
H A Dauthsrv.c107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local
127 srv.tnc = conf->tnc; in hostapd_setup_radius_srv()
134 srv.server_id = conf->server_id ? conf->server_id : "hostapd"; in hostapd_setup_radius_srv()
200 (hapd->conf->ca_cert || hapd->conf->server_cert || in authsrv_init()
201 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
202 hapd->conf->server_cert2 || hapd->conf->private_key2)) { in authsrv_init()
203 struct tls_config conf; in authsrv_init() local
206 os_memset(&conf, 0, sizeof(conf)); in authsrv_init()
207 conf.tls_session_lifetime = hapd->conf->tls_session_lifetime; in authsrv_init()
218 conf.tls_flags = hapd->conf->tls_flags; in authsrv_init()
[all …]
H A Dhw_features.c216 (!iface->conf->ieee80211n || !iface->conf->require_ht)) { in hostapd_prepare_rates()
243 iface->conf->channel += 4; in ieee80211n_switch_pri_sec()
246 iface->conf->channel -= 4; in ieee80211n_switch_pri_sec()
316 iface->conf->channel, in ieee80211n_check_scan()
480 if (!iface->conf->secondary_channel || iface->conf->no_pri_sec_switch) in ieee80211n_check_40mhz()
520 u16 conf = iface->conf->ht_capab; in ieee80211n_supported_ht_capab() local
533 if (!iface->conf->acs && (conf & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET) && in ieee80211n_supported_ht_capab()
631 u32 conf = iface->conf->vht_capab; in ieee80211ac_supported_vht_capab() local
634 hw, conf); in ieee80211ac_supported_vht_capab()
834 iface->conf->channel); in hostapd_acs_completed()
[all …]
H A Dhostapd.c124 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
458 hapd->conf ? hapd->conf->iface : "N/A"); in hostapd_cleanup()
1770 hapd->conf->iface, bss->conf->iface, in hostapd_owe_iface_iter()
2357 hapd_iface->conf = conf; in hostapd_init()
2481 bss = iface->conf->bss[iface->conf->num_bss] = conf->bss[0]; in hostapd_interface_init_bss()
2742 bss = conf->last_bss = conf->bss[0]; in hostapd_config_alloc()
2786 hapd_iface->conf = conf; in hostapd_data_alloc()
2900 if (conf && conf->bss) in hostapd_add_iface()
2911 if (conf == NULL || conf->bss == NULL) { in hostapd_add_iface()
3079 if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen) { in hostapd_new_assoc_sta()
[all …]
H A Dieee802_11_shared.c322 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte()
356 if (hapd->conf->hs20) in hostapd_ext_capab_byte()
360 if (hapd->conf->mbo_enabled) in hostapd_ext_capab_byte()
385 if (hapd->conf->wpa && in hostapd_ext_capab_byte()
418 (hapd->conf->ftm_initiator || hapd->conf->ftm_responder)) in hostapd_eid_ext_capab()
500 if (hapd->conf->internet) in hostapd_eid_interworking()
502 if (hapd->conf->asra) in hostapd_eid_interworking()
504 if (hapd->conf->esr) in hostapd_eid_interworking()
506 if (hapd->conf->uesa) in hostapd_eid_interworking()
617 if (hapd->conf->time_advertisement != 2 || !hapd->conf->time_zone) in hostapd_eid_time_zone()
[all …]
H A Dwpa_auth_ie.c43 conf->wpa_group); in wpa_write_wpa_ie()
55 conf->wpa_pairwise); in wpa_write_wpa_ie()
78 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
108 conf->wpa_group); in wpa_write_rsn_ie()
140 conf->rsn_pairwise); in wpa_write_rsn_ie()
283 if (conf->rsn_preauth) in wpa_write_rsn_ie()
285 if (conf->wmm_enabled) { in wpa_write_rsn_ie()
297 if (conf->ocv) in wpa_write_rsn_ie()
422 if (conf->ocv) in wpa_write_osen()
1158 conf = &sm->wpa_auth->conf; in wpa_auth_write_assoc_resp_owe()
[all …]
H A Dbeacon.c66 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load()
390 if (hapd->conf->vendor_elements) in hostapd_gen_probe_resp()
392 if (hapd->conf->vendor_vht) { in hostapd_gen_probe_resp()
432 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); in hostapd_gen_probe_resp()
521 if (hapd->conf->vendor_vht) in hostapd_gen_probe_resp()
1083 if (hapd->conf->vendor_vht) { in ieee802_11_build_ap_params()
1238 if (hapd->conf->vendor_vht) in ieee802_11_build_ap_params()
1309 hapd->conf->rsn_pairwise; in ieee802_11_build_ap_params()
1318 params->privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa || in ieee802_11_build_ap_params()
1319 (hapd->conf->ieee802_1x && in ieee802_11_build_ap_params()
[all …]
H A Ddfs.c28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
31 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { in dfs_get_used_n_chans()
241 if (!iface->conf->ieee80211ac && !iface->conf->ieee80211ax) in dfs_adjust_center_freq()
288 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx()
292 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { in dfs_get_start_chan_idx()
298 iface->conf) - 6; in dfs_get_start_chan_idx()
306 iface->conf) - 6; in dfs_get_start_chan_idx()
308 iface->conf) - 6; in dfs_get_start_chan_idx()
738 iface->conf->channel, iface->conf->secondary_channel, in hostapd_handle_dfs()
745 iface, iface->conf->hw_mode, iface->freq, iface->conf->channel, in hostapd_handle_dfs()
[all …]
H A Dwps_hostapd.c1090 if (conf->wps_rf_bands) { in hostapd_init_wps()
1151 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps()
1160 if (conf->ssid.wpa_psk) { in hostapd_init_wps()
1213 conf->skip_cred_build; in hostapd_init_wps()
1323 if (hapd->conf->wps_state) in hostapd_update_wps()
1588 if (hapd->conf->ap_pin) in hostapd_wps_upnp_init()
1648 hapd->conf->ap_pin = NULL; in wps_ap_pin_disable()
1697 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_random()
1703 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_get()
2058 hapd->conf->wps_nfc_dev_pw_id, hapd->conf->iface, wps); in hostapd_wps_nfc_token_enable()
[all …]
/dragonfly/crypto/libressl/crypto/conf/
H A Dconf_def.c81 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument
149 if (conf == NULL) in def_init_default()
154 conf->data = NULL; in def_init_default()
162 if (conf == NULL) in def_init_WIN32()
167 conf->data = NULL; in def_init_WIN32()
173 def_destroy(CONF *conf) in def_destroy() argument
176 free(conf); in def_destroy()
185 if (conf == NULL) in def_destroy_data()
405 if ((h != conf->data) && (conf->data != NULL)) { in def_load_bio()
407 conf->data = NULL; in def_load_bio()
[all …]
H A Dconf_lib.c76 conf->data = hash; in CONF_set_nconf()
139 if (conf == NULL) { in STACK_OF()
242 if (conf == NULL) in NCONF_free()
244 conf->meth->destroy(conf); in NCONF_free()
250 if (conf == NULL) in NCONF_free_data()
252 conf->meth->destroy_data(conf); in NCONF_free_data()
263 return conf->meth->load(conf, file, eline); in NCONF_load()
289 return conf->meth->load_bio(conf, bp, eline); in NCONF_load_bio()
344 for (*result = 0; conf->meth->is_number(conf, *str); ) { in NCONF_get_number_e()
345 *result = (*result) * 10 + conf->meth->to_int(conf, *str); in NCONF_get_number_e()
[all …]
H A Dconf_api.c73 LHASH_OF(CONF_VALUE) *conf);
99 v = _CONF_get_section(conf, section); in STACK_OF()
136 if (conf != NULL) { in _CONF_get_string()
185 _CONF_new_data(CONF *conf) in IMPLEMENT_LHASH_COMP_FN()
187 if (conf == NULL) { in IMPLEMENT_LHASH_COMP_FN()
190 if (conf->data == NULL) in IMPLEMENT_LHASH_COMP_FN()
198 _CONF_free_data(CONF *conf) in _CONF_free_data() argument
200 if (conf == NULL || conf->data == NULL) in _CONF_free_data()
206 lh_CONF_VALUE_doall_arg(conf->data, in _CONF_free_data()
214 lh_CONF_VALUE_free(conf->data); in _CONF_free_data()
[all …]
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dmesh.c78 if (!conf) in mesh_config_create()
93 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create()
105 os_free(conf); in mesh_config_create()
114 os_free(conf); in mesh_config_create()
133 return conf; in mesh_config_create()
150 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups()
294 if (!conf) in wpa_supplicant_mesh_init()
297 bss->conf = *conf->bss; in wpa_supplicant_mesh_init()
306 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_mesh_init()
307 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_mesh_init()
[all …]
H A Dap.c128 conf->channel); in wpas_conf_ap_vht()
130 conf->channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()
301 conf->channel = 0; in wpa_supplicant_conf_ap()
310 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_conf_ap()
311 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_conf_ap()
440 conf->beacon_int = wpa_s->conf->beacon_int; in wpa_supplicant_conf_ap()
445 if (wpa_s->conf->p2p_go_ctwindow > conf->beacon_int) { in wpa_supplicant_conf_ap()
452 conf->p2p_go_ctwindow = wpa_s->conf->p2p_go_ctwindow; in wpa_supplicant_conf_ap()
805 wpa_s->ap_iface->conf = conf = hostapd_config_defaults(); in wpa_supplicant_create_ap()
1316 conf = wpa_s->ap_iface->bss[0]->conf; in ap_ctrl_iface_wpa_get_status()
[all …]
/dragonfly/contrib/mdocml/
H A Dmanpath.c61 manconf_file(conf, file); in manconf_parse()
67 manconf_file(conf, file); in manconf_parse()
75 manconf_file(conf, file); in manconf_parse()
84 manconf_file(conf, file); in manconf_parse()
158 free(conf->output.man); in manconf_free()
292 if (conf->indent) { in manconf_output()
303 if (conf->width) { in manconf_output()
339 conf->fragment = 1; in manconf_output()
342 conf->mdoc = 1; in manconf_output()
345 conf->noval = 1; in manconf_output()
[all …]
/dragonfly/crypto/libressl/include/openssl/
H A Dconf.h91 int (*init)(CONF *conf);
92 int (*destroy)(CONF *conf);
93 int (*destroy_data)(CONF *conf);
95 int (*dump)(const CONF *conf, BIO *bp);
96 int (*is_number)(const CONF *conf, char c);
97 int (*to_int)(const CONF *conf, char c);
133 void CONF_free(LHASH_OF(CONF_VALUE) *conf);
152 void NCONF_free(CONF *conf);
153 void NCONF_free_data(CONF *conf);
162 int NCONF_dump_fp(const CONF *conf, FILE *out);
[all …]
/dragonfly/sbin/hammer2/
H A Dcmd_service.c332 free(conf); in hammer2_usrmsg_handler()
342 conf = malloc(sizeof(*conf) * HAMMER2_COPYID_COUNT); in hammer2_usrmsg_handler()
343 bzero(conf, sizeof(*conf) * HAMMER2_COPYID_COUNT); in hammer2_usrmsg_handler()
395 if (bcmp(&conf->copy_run, &conf->copy_pend, in hammer2_volconf_thread()
407 conf->copy_run = conf->copy_pend; in hammer2_volconf_thread()
417 hammer2_volconf_start(conf, (char*)conf->copy_run.path + 5); in hammer2_volconf_thread()
436 switch(conf->state) { in hammer2_volconf_start()
440 if (conf->fd < 0) { in hammer2_volconf_start()
444 close(conf->fd); in hammer2_volconf_start()
451 info->fd = conf->fd; in hammer2_volconf_start()
[all …]
/dragonfly/tools/tools/netrate/pktgenctl/
H A Dpktgenctl.c95 struct pktgen_conf conf; in main() local
107 memset(&conf, 0, sizeof(conf)); in main()
109 conf.pc_duration = 10; in main()
110 conf.pc_datalen = 18; in main()
112 sa = &conf.pc_dst_lladdr; in main()
116 src_sin = &conf.pc_src; in main()
121 if (conf.pc_dst == NULL) in main()
124 conf.pc_ndst = 0; in main()
129 void *old = conf.pc_dst; in main()
141 dst_sin = &conf.pc_dst[conf.pc_ndst++]; in main()
[all …]
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_client.c369 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local
579 struct hostapd_radius_servers *conf = radius->conf; in radius_client_auth_failover() local
608 struct hostapd_radius_servers *conf = radius->conf; in radius_client_acct_failover() local
750 struct hostapd_radius_servers *conf = radius->conf; in radius_client_send() local
1247 conf->auth_server != conf->auth_servers) { in radius_retry_primary_timer()
1249 conf->auth_server = conf->auth_servers; in radius_retry_primary_timer()
1261 conf->acct_server != conf->acct_servers) { in radius_retry_primary_timer()
1263 conf->acct_server = conf->acct_servers; in radius_retry_primary_timer()
1467 radius->conf = conf; in radius_client_init()
1669 conf = radius->conf; in radius_client_get_mib()
[all …]
/dragonfly/share/man/man5/
H A DMakefile7 compilers.conf.5 \
30 libmap.conf.5 \
33 loader.conf.5 \
34 mailer.conf.5 \
35 make.conf.5 \
40 nsmb.conf.5 \
45 pf.conf.5 \
50 rc.conf.5 \
58 sysctl.conf.5 \
63 wg.conf.5
[all …]
/dragonfly/nrelease/root/etc/rc.d/
H A Dpfi17 [ -r /etc/pfi.conf ] && return 0
19 if [ -r $1/pfi.conf ]; then
21 tr -d "\r" < $1/pfi.conf > /etc/pfi.conf
28 . /etc/defaults/pfi.conf
30 . /etc/pfi.conf
118 echo '' >/etc/pfi.conf
124 cp /etc/rc.conf /etc/rc.conf.orig
125 cat /etc/pfi.conf >>/etc/rc.conf
130 . /etc/defaults/pfi.conf
132 . /etc/pfi.conf
[all …]
/dragonfly/sys/dev/drm/i915/
H A Ddvo_ns2501.c206 uint8_t conf; /* configuration register 8 */ member
381 const struct ns2501_configuration *conf; member
552 const struct ns2501_configuration *conf; in ns2501_mode_set() local
609 conf = ns2501_modes + mode_idx; in ns2501_mode_set()
610 ns->conf = conf; in ns2501_mode_set()
612 ns2501_writeb(dvo, NS2501_REG8, conf->conf); in ns2501_mode_set()
613 ns2501_writeb(dvo, NS2501_REG1B, conf->pll_a); in ns2501_mode_set()
640 ns2501_writeb(dvo, NS2501_REGC0, conf->sync); in ns2501_mode_set()
670 ns->conf->conf | NS2501_8_BPAS); in ns2501_dpms()
671 if (!(ns->conf->conf & NS2501_8_BPAS)) in ns2501_dpms()
[all …]
/dragonfly/sys/netgraph7/
H A Dng_car.c209 priv->upper.conf.mode = 0; in ng_car_constructor()
224 priv->lower.conf.mode = 0; in ng_car_constructor()
337 hinfo->conf.ebs) { in ng_car_rcvdata()
496 sizeof(priv->upper.conf)); in ng_car_rcvmsg()
507 sizeof(priv->lower.conf)); in ng_car_rcvmsg()
616 delta = h->tc - h->conf.cbs; in ng_car_refillhook()
618 h->tc = h->conf.cbs; in ng_car_refillhook()
623 h->te = h->conf.ebs; in ng_car_refillhook()
630 h->tc = h->conf.cbs; in ng_car_refillhook()
635 h->te = h->conf.ebs; in ng_car_refillhook()
[all …]
/dragonfly/sys/netgraph7/l2tp/
H A Dng_l2tp.c471 conf->enabled = !!conf->enabled; in ng_l2tp_rcvmsg()
472 conf->match_id = !!conf->match_id; in ng_l2tp_rcvmsg()
492 priv->conf = *conf; in ng_l2tp_rcvmsg()
505 *conf = priv->conf; in ng_l2tp_rcvmsg()
536 hpriv->conf = *conf; in ng_l2tp_rcvmsg()
567 *conf = hpriv->conf; in ng_l2tp_rcvmsg()
638 conf->ns = htons(conf->ns); in ng_l2tp_rcvmsg()
639 conf->nr = htons(conf->nr); in ng_l2tp_rcvmsg()
640 conf->rack = htons(conf->rack); in ng_l2tp_rcvmsg()
641 conf->xack = htons(conf->xack); in ng_l2tp_rcvmsg()
[all …]
/dragonfly/sys/netgraph/l2tp/
H A Dng_l2tp.c418 conf->enabled = !!conf->enabled; in ng_l2tp_rcvmsg()
419 conf->match_id = !!conf->match_id; in ng_l2tp_rcvmsg()
420 conf->tunnel_id = htons(conf->tunnel_id); in ng_l2tp_rcvmsg()
421 conf->peer_id = htons(conf->peer_id); in ng_l2tp_rcvmsg()
447 priv->conf = *conf; in ng_l2tp_rcvmsg()
460 *conf = priv->conf; in ng_l2tp_rcvmsg()
464 conf->peer_id = ntohs(conf->peer_id); in ng_l2tp_rcvmsg()
482 conf->peer_id = htons(conf->peer_id); in ng_l2tp_rcvmsg()
497 hpriv->conf = *conf; in ng_l2tp_rcvmsg()
534 *conf = hpriv->conf; in ng_l2tp_rcvmsg()
[all …]

12345678910>>...18