| /freebsd-11-stable/contrib/wpa/src/ap/ |
| HD | ap_config.c | 158 struct hostapd_config *conf; in hostapd_config_defaults() local 181 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults() 183 if (conf == NULL || bss == NULL) { in hostapd_config_defaults() 186 os_free(conf); in hostapd_config_defaults() 190 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults() 191 if (conf->bss == NULL) { in hostapd_config_defaults() 192 os_free(conf); in hostapd_config_defaults() 196 conf->bss[0] = bss; in hostapd_config_defaults() 200 os_free(conf->bss); in hostapd_config_defaults() 201 os_free(conf); in hostapd_config_defaults() [all …]
|
| HD | authsrv.c | 107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local 109 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv() 110 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv() 111 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv() 116 srv.pac_opaque_encr_key = conf->pac_opaque_encr_key; in hostapd_setup_radius_srv() 117 srv.eap_fast_a_id = conf->eap_fast_a_id; in hostapd_setup_radius_srv() 118 srv.eap_fast_a_id_len = conf->eap_fast_a_id_len; in hostapd_setup_radius_srv() 119 srv.eap_fast_a_id_info = conf->eap_fast_a_id_info; in hostapd_setup_radius_srv() 120 srv.eap_fast_prov = conf->eap_fast_prov; in hostapd_setup_radius_srv() 121 srv.pac_key_lifetime = conf->pac_key_lifetime; in hostapd_setup_radius_srv() [all …]
|
| HD | 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 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair() 233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 242 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 243 iface->conf->channel += 4; in ieee80211n_switch_pri_sec() 244 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec() [all …]
|
| HD | hostapd.c | 92 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption() 103 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss() 104 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n; in hostapd_reload_bss() 107 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss() 110 ssid = &hapd->conf->ssid; in hostapd_reload_bss() 117 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss() 119 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss() 124 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss() 125 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 127 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() [all …]
|
| HD | ieee802_11_shared.c | 37 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time() 38 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time() 41 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time() 322 if (hapd->conf->proxy_arp) in hostapd_ext_capab_byte() 324 if (hapd->conf->coloc_intf_reporting) { in hostapd_ext_capab_byte() 330 if (hapd->conf->wnm_sleep_mode) in hostapd_ext_capab_byte() 332 if (hapd->conf->bss_transition) in hostapd_ext_capab_byte() 339 if (hapd->conf->time_advertisement == 2) in hostapd_ext_capab_byte() 341 if (hapd->conf->interworking) in hostapd_ext_capab_byte() 345 if (hapd->conf->qos_map_set_len) in hostapd_ext_capab_byte() [all …]
|
| HD | 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 …]
|
| /freebsd-11-stable/contrib/amd/ |
| HD | FREEBSD-Xlist | 24 *conf/checkmount/checkmount_aix.c 25 *conf/checkmount/checkmount_default.c 26 *conf/checkmount/checkmount_osf.c 27 *conf/checkmount/checkmount_svr4.c 28 *conf/checkmount/checkmount_ultrix.c 29 *conf/fh_dref/fh_dref_aix3.h 30 *conf/fh_dref/fh_dref_aix42.h 31 *conf/fh_dref/fh_dref_bsd44.h 32 *conf/fh_dref/fh_dref_default.h 33 *conf/fh_dref/fh_dref_hpux.h [all …]
|
| /freebsd-11-stable/crypto/openssl/crypto/conf/ |
| HD | conf_def.c | 78 static char *eat_ws(CONF *conf, char *p); 79 static char *eat_alpha_numeric(CONF *conf, char *p); 80 static void clear_comments(CONF *conf, char *p); 81 static int str_copy(CONF *conf, char *section, char **to, char *from); 82 static char *scan_quote(CONF *conf, char *p); 83 static char *scan_dquote(CONF *conf, char *p); 84 #define scan_esc(conf,p) (((IS_EOF((conf),(p)[1]))?((p)+1):((p)+2))) argument 87 static int def_init_default(CONF *conf); 88 static int def_init_WIN32(CONF *conf); 89 static int def_destroy(CONF *conf); [all …]
|
| HD | conf_lib.c | 73 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument 78 default_CONF_method->init(conf); in CONF_set_nconf() 79 conf->data = hash; in CONF_set_nconf() 93 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF() 109 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF() 116 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF() 125 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF() 131 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF() 137 CONF_set_nconf(&ctmp, conf); in LHASH_OF() 145 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF() [all …]
|
| HD | conf_api.c | 75 LHASH_OF(CONF_VALUE) *conf); 82 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in IMPLEMENT_LHASH_DOALL_ARG_FN() 86 if ((conf == NULL) || (section == NULL)) in IMPLEMENT_LHASH_DOALL_ARG_FN() 90 v = lh_CONF_VALUE_retrieve(conf->data, &vv); in IMPLEMENT_LHASH_DOALL_ARG_FN() 95 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF() 100 v = _CONF_get_section(conf, section); in STACK_OF() 107 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument 119 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string() 129 char *_CONF_get_string(const CONF *conf, const char *section, in _CONF_get_string() argument 137 if (conf != NULL) { in _CONF_get_string() [all …]
|
| HD | conf.h | 90 int (*init) (CONF *conf); 91 int (*destroy) (CONF *conf); 92 int (*destroy_data) (CONF *conf); 93 int (*load_bio) (CONF *conf, BIO *bp, long *eline); 94 int (*dump) (const CONF *conf, BIO *bp); 95 int (*is_number) (const CONF *conf, char c); 96 int (*to_int) (const CONF *conf, char c); 97 int (*load) (CONF *conf, const char *name, long *eline); 120 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash); 121 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, [all …]
|
| /freebsd-11-stable/contrib/ofed/opensm/opensm/ |
| HD | osm_prtn_config.c | 128 static inline boolean_t ip_mgroup_pkey_ok(struct part_conf *conf, in ip_mgroup_pkey_ok() argument 138 || mpkey == (conf->p_prtn->pkey | cl_hton16(0x8000))) in ip_mgroup_pkey_ok() 141 OSM_LOG(conf->p_log, OSM_LOG_ERROR, in ip_mgroup_pkey_ok() 145 cl_ntoh16(mpkey), cl_ntoh16(conf->p_prtn->pkey), conf->p_prtn->name); in ip_mgroup_pkey_ok() 149 static inline boolean_t ip_mgroup_rate_ok(struct part_conf *conf, in ip_mgroup_rate_ok() argument 154 if (group->flags.rate == conf->flags.rate) in ip_mgroup_rate_ok() 157 OSM_LOG(conf->p_log, OSM_LOG_ERROR, in ip_mgroup_rate_ok() 162 group->flags.rate, cl_ntoh16(conf->p_prtn->pkey), in ip_mgroup_rate_ok() 163 conf->p_prtn->name, conf->flags.rate); in ip_mgroup_rate_ok() 167 static inline boolean_t ip_mgroup_mtu_ok(struct part_conf *conf, in ip_mgroup_mtu_ok() argument [all …]
|
| /freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
| HD | mesh.c | 74 struct mesh_conf *conf; in mesh_config_create() local 77 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create() 78 if (!conf) in mesh_config_create() 81 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create() 82 conf->meshid_len = ssid->ssid_len; in mesh_config_create() 85 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create() 88 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create() 90 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create() 91 if (conf->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { in mesh_config_create() 93 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create() [all …]
|
| HD | 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 == CHANWIDTH_USE_HT) in wpas_conf_ap_vht() 73 &conf->vht_oper_centr_freq_seg0_idx); in wpas_conf_ap_vht() 75 conf->vht_oper_centr_freq_seg0_idx); in wpas_conf_ap_vht() 80 switch (conf->vht_oper_chwidth) { in wpas_conf_ap_vht() 100 conf->vht_oper_chwidth = CHANWIDTH_160MHZ; in wpas_conf_ap_vht() [all …]
|
| /freebsd-11-stable/sys/netgraph/ |
| HD | ng_patch.c | 54 struct ng_patch_config *conf; member 73 const struct ng_patch_config *conf; in ng_patch_config_getlen() local 75 conf = (const struct ng_patch_config *)(buf - in ng_patch_config_getlen() 78 return (conf->count); in ng_patch_config_getlen() 211 struct ng_patch_config *conf, *newconf; in ng_patch_rcvmsg() local 224 if (privp->conf == NULL) in ng_patch_rcvmsg() 228 NG_PATCH_CONF_SIZE(privp->conf->count), M_WAITOK); in ng_patch_rcvmsg() 233 bcopy(privp->conf, resp->data, in ng_patch_rcvmsg() 234 NG_PATCH_CONF_SIZE(privp->conf->count)); in ng_patch_rcvmsg() 236 conf = (struct ng_patch_config *) resp->data; in ng_patch_rcvmsg() [all …]
|
| HD | ng_car.c | 66 struct ng_car_hookconf conf; /* hook configuration */ member 203 priv->upper.tc = priv->upper.conf.cbs = NG_CAR_CBS_MIN; in ng_car_constructor() 204 priv->upper.te = priv->upper.conf.ebs = NG_CAR_EBS_MIN; in ng_car_constructor() 205 priv->upper.conf.cir = NG_CAR_CIR_DFLT; in ng_car_constructor() 206 priv->upper.conf.green_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor() 207 priv->upper.conf.yellow_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor() 208 priv->upper.conf.red_action = NG_CAR_ACTION_DROP; in ng_car_constructor() 209 priv->upper.conf.mode = 0; in ng_car_constructor() 218 priv->lower.tc = priv->lower.conf.cbs = NG_CAR_CBS_MIN; in ng_car_constructor() 219 priv->lower.te = priv->lower.conf.ebs = NG_CAR_EBS_MIN; in ng_car_constructor() [all …]
|
| /freebsd-11-stable/contrib/mdocml/ |
| HD | manpath.c | 41 manconf_parse(struct manconf *conf, const char *file, in manconf_parse() argument 47 manpath_parseline(&conf->manpath, auxp, 1); in manconf_parse() 51 manpath_parseline(&conf->manpath, defp, 1); in manconf_parse() 62 manconf_file(conf, file); in manconf_parse() 68 manconf_file(conf, file); in manconf_parse() 69 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 75 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 76 manconf_file(conf, file); in manconf_parse() 84 manpath_parseline(&conf->manpath, defp, 0); in manconf_parse() 85 manconf_file(conf, file); in manconf_parse() [all …]
|
| /freebsd-11-stable/sys/contrib/alpine-hal/ |
| HD | al_hal_udma_config.c | 301 struct al_udma_m2s_pkt_len_conf *conf) in al_udma_m2s_packet_size_cfg_set() argument 308 if (conf->encode_64k_as_zero == AL_TRUE) in al_udma_m2s_packet_size_cfg_set() 311 if (conf->max_pkt_size > max_supported_size) { in al_udma_m2s_packet_size_cfg_set() 314 conf->max_pkt_size, max_supported_size); in al_udma_m2s_packet_size_cfg_set() 319 if (conf->encode_64k_as_zero == AL_TRUE) in al_udma_m2s_packet_size_cfg_set() 325 reg |= conf->max_pkt_size; in al_udma_m2s_packet_size_cfg_set() 345 struct al_udma_m2s_desc_pref_conf *conf) in al_udma_m2s_pref_set() argument 351 reg |= conf->desc_fifo_depth; in al_udma_m2s_pref_set() 356 if (conf->sch_mode == SRR) in al_udma_m2s_pref_set() 358 else if (conf->sch_mode == STRICT) in al_udma_m2s_pref_set() [all …]
|
| /freebsd-11-stable/usr.bin/iscsictl/ |
| HD | iscsictl.c | 53 struct conf * 56 struct conf *conf; in conf_new() local 58 conf = calloc(1, sizeof(*conf)); in conf_new() 59 if (conf == NULL) in conf_new() 62 TAILQ_INIT(&conf->conf_targets); in conf_new() 64 return (conf); in conf_new() 68 target_find(struct conf *conf, const char *nickname) in target_find() argument 72 TAILQ_FOREACH(targ, &conf->conf_targets, t_next) { in target_find() 82 target_new(struct conf *conf) in target_new() argument 89 targ->t_conf = conf; in target_new() [all …]
|
| /freebsd-11-stable/tools/regression/geom/ConfCmp/ |
| HD | Makefile | 24 ./${PROG} a1.conf a1.conf 25 ./${PROG} a1.conf a1a.conf 26 if ./${PROG} a1.conf a1b.conf > /dev/null 2>&1 ; then exit 1 ; fi 27 if ./${PROG} a1.conf a1c.conf > /dev/null 2>&1 ; then exit 1 ; fi 28 if ./${PROG} a1.conf a1d.conf > /dev/null 2>&1 ; then exit 1 ; fi 29 ./${PROG} a2.conf a2.conf 30 ./${PROG} a2.conf a2a.conf 31 if ./${PROG} a2.conf a2b.conf > /dev/null 2>&1 ; then exit 1 ; fi 32 if ./${PROG} a2.conf a2c.conf > /dev/null 2>&1 ; then exit 1 ; fi 33 if ./${PROG} a2.conf a2d.conf > /dev/null 2>&1 ; then exit 1 ; fi
|
| /freebsd-11-stable/contrib/ntp/ntpd/ |
| HD | Makefile.am | 86 man5_MANS= ntp.conf.5 ntp.keys.5 118 compsave.conf \ 119 compsave.conf+ \ 121 psl0save.conf \ 122 psl0save.conf+ \ 123 psl1save.conf \ 124 psl1save.conf+ \ 125 psl2save.conf \ 126 psl2save.conf+ \ 131 complete.conf.in \ [all …]
|
| /freebsd-11-stable/usr.sbin/ctld/ |
| HD | ctld.h | 88 struct conf *ag_conf; 121 struct conf *pg_conf; 139 struct conf *pp_conf; 150 struct conf *p_conf; 168 struct conf *l_conf; 185 struct conf *t_conf; 196 struct conf *i_conf; 201 struct conf { struct 303 int parse_conf(struct conf *conf, const char *path); 304 int uclparse_conf(struct conf *conf, const char *path); [all …]
|
| /freebsd-11-stable/share/man/man5/ |
| HD | Makefile | 16 devfs.conf.5 \ 35 libmap.conf.5 \ 39 mailer.conf.5 \ 40 make.conf.5 \ 46 nsmb.conf.5 \ 47 nsswitch.conf.5 \ 51 periodic.conf.5 \ 54 portsnap.conf.5 \ 58 rc.conf.5 \ 59 rctl.conf.5 \ [all …]
|
| /freebsd-11-stable/contrib/wpa/src/radius/ |
| HD | radius_client.c | 168 struct hostapd_radius_servers *conf; member 369 struct hostapd_radius_servers *conf = radius->conf; in radius_client_retransmit() local 379 num_servers = conf->num_acct_servers; in radius_client_retransmit() 382 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit() 390 conf->acct_server->requests++; in radius_client_retransmit() 392 conf->acct_server->timeouts++; in radius_client_retransmit() 393 conf->acct_server->retransmissions++; in radius_client_retransmit() 396 num_servers = conf->num_auth_servers; in radius_client_retransmit() 399 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit() 407 conf->auth_server->requests++; in radius_client_retransmit() [all …]
|
| /freebsd-11-stable/release/tools/ |
| HD | ec2.conf | 49 echo 'growfs_enable="YES"' >> ${DESTDIR}/etc/rc.conf 53 echo 'ifconfig_DEFAULT="SYNCDHCP accept_rtadv"' >> ${DESTDIR}/etc/rc.conf 57 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf 62 echo 'firstboot_pkgs_list="awscli"' >> ${DESTDIR}/etc/rc.conf 65 echo 'ipv6_activate_all_interfaces="YES"' >> ${DESTDIR}/etc/rc.conf 66 echo 'dhclient_program="/usr/local/sbin/dual-dhclient"' >> ${DESTDIR}/etc/rc.conf 71 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/boot/loader.conf 72 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/boot/loader.conf 73 echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/boot/loader.conf 76 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf [all …]
|