Home
last modified time | relevance | path

Searched full:conf (Results 1 – 25 of 3132) sorted by relevance

12345678910>>...126

/freebsd/crypto/openssl/crypto/conf/
H A Dconf_lib.c13 #include "internal/conf.h"
17 #include <openssl/conf.h>
24 /* Init a 'CONF' structure from an old LHASH */
26 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf() argument
31 default_CONF_method->init(conf); in CONF_set_nconf()
32 conf->data = hash; in CONF_set_nconf()
36 * The following section contains the "CONF classic" functions, rewritten in
37 * terms of the new CONF interface.
46 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF()
62 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF()
[all …]
H A Dconf_def.c10 /* Part of the code in here was originally in conf.c, which is now removed */
22 #include <openssl/conf.h>
45 static int is_keytype(const CONF *conf, char c, unsigned short type);
46 static char *eat_ws(CONF *conf, char *p);
47 static void trim_ws(CONF *conf, char *start);
48 static char *eat_alpha_numeric(CONF *conf, char *p);
49 static void clear_comments(CONF *conf, char *p);
50 static int str_copy(CONF *conf, char *section, char **to, char *from);
51 static char *scan_quote(CONF *conf, char *p);
52 static char *scan_dquote(CONF *conf, char *p);
[all …]
H A Dconf_api.c10 /* Part of the code in here was originally in conf.c, which is now removed */
16 #include <openssl/conf.h>
20 static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf);
23 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in _CONF_get_section() argument
27 if (conf == NULL || section == NULL) in _CONF_get_section()
31 return conf->data != NULL ? lh_CONF_VALUE_retrieve(conf->data, &vv) : NULL; in _CONF_get_section()
34 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF()
39 v = _CONF_get_section(conf, section); in STACK_OF()
45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument
56 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dap_config.c187 struct hostapd_config *conf; in hostapd_config_defaults() local
210 conf = os_zalloc(sizeof(*conf)); in hostapd_config_defaults()
212 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
215 os_free(conf); in hostapd_config_defaults()
219 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
220 if (conf->bss == NULL) { in hostapd_config_defaults()
221 os_free(conf); in hostapd_config_defaults()
225 conf->bss[0] = bss; in hostapd_config_defaults()
229 os_free(conf->bss); in hostapd_config_defaults()
230 os_free(conf); in hostapd_config_defaults()
[all …]
H A Dauthsrv.c108 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() local
126 srv.client_file = conf->radius_server_clients; in hostapd_setup_radius_srv()
127 srv.auth_port = conf->radius_server_auth_port; in hostapd_setup_radius_srv()
128 srv.acct_port = conf->radius_server_acct_port; in hostapd_setup_radius_srv()
130 srv.ipv6 = conf->radius_server_ipv6; in hostapd_setup_radius_srv()
132 srv.eap_req_id_text = conf->eap_req_id_text; in hostapd_setup_radius_srv()
133 srv.eap_req_id_text_len = conf->eap_req_id_text_len; in hostapd_setup_radius_srv()
134 srv.sqlite_file = conf->eap_user_sqlite; in hostapd_setup_radius_srv()
136 srv.dump_msk_file = conf->dump_msk_file; in hostapd_setup_radius_srv()
139 srv.subscr_remediation_url = conf->subscr_remediation_url; in hostapd_setup_radius_srv()
[all …]
H A Dwpa_auth_ie.c28 static int wpa_write_wpa_ie(struct wpa_auth_config *conf, u8 *buf, size_t len) in wpa_write_wpa_ie() argument
41 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, conf->wpa_group); in wpa_write_wpa_ie()
44 conf->wpa_group); in wpa_write_wpa_ie()
53 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie()
56 conf->wpa_pairwise); in wpa_write_wpa_ie()
66 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
71 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
79 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
92 static u16 wpa_own_rsn_capab(struct wpa_auth_config *conf) in wpa_own_rsn_capab() argument
96 if (conf->rsn_preauth) in wpa_own_rsn_capab()
[all …]
H A Dhostapd.c126 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption()
138 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss()
139 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n | in hostapd_reload_bss()
143 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss()
146 ssid = &hapd->conf->ssid; in hostapd_reload_bss()
153 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); in hostapd_reload_bss()
155 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss()
160 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss()
161 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss()
163 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss()
[all …]
H A Dieee802_11_shared.c46 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time()
47 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time()
50 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time()
54 if (hapd->conf->test_assoc_comeback_type != -1) in hostapd_eid_assoc_comeback_time()
55 type = hapd->conf->test_assoc_comeback_type; in hostapd_eid_assoc_comeback_time()
89 if (hapd->conf->oci_freq_override_saquery_req) { in ieee802_11_send_sa_query_req()
93 hapd->conf->oci_freq_override_saquery_req); in ieee802_11_send_sa_query_req()
95 hapd->conf->oci_freq_override_saquery_req; in ieee802_11_send_sa_query_req()
184 if (hapd->conf->oci_freq_override_saquery_resp) { in ieee802_11_send_sa_query_resp()
188 hapd->conf->oci_freq_override_saquery_resp); in ieee802_11_send_sa_query_resp()
[all …]
/freebsd/contrib/bsddialog/lib/
H A Dbsddialog.366 .Fn bsddialog_backtitle "struct bsddialog_conf *conf" "const char *backtitle"
69 .Fa "struct bsddialog_conf *conf"
79 .Fa "struct bsddialog_conf *conf"
92 .Fa "struct bsddialog_conf *conf"
104 .Fa "struct bsddialog_conf *conf"
115 .Fa "struct bsddialog_conf *conf"
128 .Fa "struct bsddialog_conf *conf"
140 .Fn bsddialog_initconf "struct bsddialog_conf *conf"
143 .Fa "struct bsddialog_conf *conf"
154 .Fa "struct bsddialog_conf *conf"
[all...]
H A Dlib_util.c65 * [static] widget_max_height(conf);
66 * [static] widget_max_width(struct bsddialog_conf *conf)
71 * [static] widget_min_height(conf, htext, hnotext, bool buttons);
72 * [static] widget_min_width(conf, wtext, minw, buttons);
83 * f1help_dialog(conf);
84 * draw_borders(conf, win, elev);
85 * update_box(conf, win, y, x, h, w, elev);
311 if (d->conf->button.left1_label != NULL) { in set_buttons()
312 d->bs.label[d->bs.nbuttons] = d->conf->button.left1_label; in set_buttons()
317 if (d->conf in set_buttons()
422 widget_max_height(struct bsddialog_conf * conf) widget_max_height() argument
452 widget_max_width(struct bsddialog_conf * conf) widget_max_width() argument
498 text_properties(struct bsddialog_conf * conf,const char * text,struct textproperties * tp) text_properties() argument
593 text_autosize(struct bsddialog_conf * conf,struct textproperties * tp,int maxrows,int mincols,bool increasecols,int * h,int * w) text_autosize() argument
678 text_size(struct bsddialog_conf * conf,int rows,int cols,const char * text,struct buttons * bs,int rowsnotext,int startwtext,int * htext,int * wtext) text_size() argument
733 widget_min_height(struct bsddialog_conf * conf,int htext,int hnotext,bool withbuttons) widget_min_height() argument
758 widget_min_width(struct bsddialog_conf * conf,int wtext,int minwidget,struct buttons * bs) widget_min_width() argument
799 set_widget_size(struct bsddialog_conf * conf,int rows,int cols,int * h,int * w) set_widget_size() argument
829 set_widget_autosize(struct bsddialog_conf * conf,int rows,int cols,int * h,int * w,const char * text,int * rowstext,struct buttons * bs,int hnotext,int minw) set_widget_autosize() argument
881 set_widget_position(struct bsddialog_conf * conf,int * y,int * x,int h,int w) set_widget_position() argument
958 f1help_dialog(struct bsddialog_conf * conf) f1help_dialog() argument
982 draw_borders(struct bsddialog_conf * conf,WINDOW * win,enum elevation elev) draw_borders() argument
1025 update_box(struct bsddialog_conf * conf,WINDOW * win,int y,int x,int h,int w,enum elevation elev) update_box() argument
1180 print_textpad(struct bsddialog_conf * conf,WINDOW * pad,const char * text) print_textpad() argument
1327 prepare_dialog(struct bsddialog_conf * conf,const char * text,int rows,int cols,struct dialog * d) prepare_dialog() argument
[all...]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_prtn_config.c128 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/contrib/wpa/wpa_supplicant/
H A Dmesh.c85 struct mesh_conf *conf; in mesh_config_create() local
88 conf = os_zalloc(sizeof(struct mesh_conf)); in mesh_config_create()
89 if (!conf) in mesh_config_create()
92 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create()
93 conf->meshid_len = ssid->ssid_len; in mesh_config_create()
96 conf->security |= MESH_CONF_SEC_AUTH | in mesh_config_create()
99 conf->security |= MESH_CONF_SEC_NONE; in mesh_config_create()
100 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create()
101 if (conf->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { in mesh_config_create()
103 conf->ieee80211w = wpa_s->conf->pmf; in mesh_config_create()
[all …]
H A Dap.c49 struct hostapd_config *conf) in is_chanwidth160_supported() argument
52 if (conf->ieee80211ax) { in is_chanwidth160_supported()
72 struct hostapd_config *conf, in wpas_conf_ap_vht() argument
77 u8 channel = conf->channel; in wpas_conf_ap_vht()
81 if (!conf->secondary_channel) in wpas_conf_ap_vht()
86 hostapd_set_oper_chwidth(conf, ssid->max_oper_chwidth); in wpas_conf_ap_vht()
87 if (hostapd_get_oper_chwidth(conf)) in wpas_conf_ap_vht()
89 hostapd_get_oper_chwidth(conf), in wpas_conf_ap_vht()
90 &conf->op_class, in wpas_conf_ap_vht()
91 &conf->channel); in wpas_conf_ap_vht()
[all …]
/freebsd/sys/netgraph/
H A Dng_patch.c53 struct ng_patch_config *conf; member
71 const struct ng_patch_config *conf; in ng_patch_config_getlen() local
73 conf = (const struct ng_patch_config *)(buf - in ng_patch_config_getlen()
76 return (conf->count); in ng_patch_config_getlen()
209 struct ng_patch_config *conf, *newconf; in ng_patch_rcvmsg() local
222 if (privp->conf == NULL) in ng_patch_rcvmsg()
226 NG_PATCH_CONF_SIZE(privp->conf->count), M_WAITOK); in ng_patch_rcvmsg()
231 bcopy(privp->conf, resp->data, in ng_patch_rcvmsg()
232 NG_PATCH_CONF_SIZE(privp->conf->count)); in ng_patch_rcvmsg()
234 conf = (struct ng_patch_config *) resp->data; in ng_patch_rcvmsg()
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dconf.h.in63 typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
74 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
75 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
78 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
81 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
83 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
85 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
87 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
89 void CONF_free(LHASH_OF(CONF_VALUE) *conf);
91 int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
[all …]
H A Dconf.h3 * Generated by Makefile from include/openssl/conf.h.in
100 typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
111 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
112 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
115 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
118 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
120 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
122 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
124 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
126 void CONF_free(LHASH_OF(CONF_VALUE) *conf);
[all …]
/freebsd/contrib/ntp/ntpd/
H A DMakefile.am86 man5_MANS= ntp.conf.5 ntp.keys.5
112 compsave.conf \
113 compsave.conf+ \
115 psl0save.conf \
116 psl0save.conf+ \
117 psl1save.conf \
118 psl1save.conf+ \
119 psl2save.conf \
120 psl2save.conf+ \
129 complete.conf.in \
[all …]
/freebsd/contrib/mandoc/
H A Dmanpath.c40 manconf_parse(struct manconf *conf, const char *file, char *pend, char *pbeg) in manconf_parse() argument
45 manpath_parseline(&conf->manpath, pbeg, 'm'); in manconf_parse()
49 manpath_parseline(&conf->manpath, pend, 'M'); in manconf_parse()
53 /* No MANPATH; use man.conf(5) only. */ in manconf_parse()
56 /* Prepend man.conf(5) to MANPATH. */ in manconf_parse()
60 /* Insert man.conf(5) into MANPATH. */ in manconf_parse()
64 /* Append man.conf(5) to MANPATH. */ in manconf_parse()
67 /* MANPATH overrides man.conf(5) completely. */ in manconf_parse()
72 manpath_parseline(&conf->manpath, pbeg, '\0'); in manconf_parse()
76 manconf_file(conf, file, use_path_from_file); in manconf_parse()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DNCONF_new_ex.pod11 #include <openssl/conf.h>
19 CONF *NCONF_new_ex(OSSL_LIB_CTX *libctx, CONF_METHOD *meth);
20 CONF *NCONF_new(CONF_METHOD *meth);
21 void NCONF_free(CONF *conf);
23 int NCONF_load(CONF *conf, const char *file, long *eline);
24 OSSL_LIB_CTX *NCONF_get0_libctx(const CONF *conf);
26 STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *name);
27 STACK_OF(OPENSSL_CSTRING) *NCONF_get_section_names(const CONF *conf);
31 NCONF_new_ex() creates a new CONF object in heap memory and assigns to
37 NCONF_free() frees the data associated with I<conf> and then frees the I<conf>
[all …]
/freebsd/tools/regression/geom/ConfCmp/
H A DMakefile22 ./${PROG} a1.conf a1.conf
23 ./${PROG} a1.conf a1a.conf
24 if ./${PROG} a1.conf a1b.conf > /dev/null 2>&1 ; then exit 1 ; fi
25 if ./${PROG} a1.conf a1c.conf > /dev/null 2>&1 ; then exit 1 ; fi
26 if ./${PROG} a1.conf a1d.conf > /dev/null 2>&1 ; then exit 1 ; fi
27 ./${PROG} a2.conf a2.conf
28 ./${PROG} a2.conf a2a.conf
29 if ./${PROG} a2.conf a2b.conf > /dev/null 2>&1 ; then exit 1 ; fi
30 if ./${PROG} a2.conf a2c.conf > /dev/null 2>&1 ; then exit 1 ; fi
31 if ./${PROG} a2.conf a2d.conf > /dev/null 2>&1 ; then exit 1 ; fi
/freebsd/crypto/openssl/crypto/ts/
H A Dts_conf.c123 const char *TS_CONF_get_tsa_section(CONF *conf, const char *section) in TS_CONF_get_tsa_section() argument
126 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA); in TS_CONF_get_tsa_section()
133 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb, in TS_CONF_set_serial() argument
137 char *serial = NCONF_get_string(conf, section, ENV_SERIAL); in TS_CONF_set_serial()
151 int TS_CONF_set_crypto_device(CONF *conf, const char *section, in TS_CONF_set_crypto_device() argument
157 device = NCONF_get_string(conf, section, ENV_CRYPTO_DEVICE); in TS_CONF_set_crypto_device()
194 int TS_CONF_set_signer_cert(CONF *conf, const char *section, in TS_CONF_set_signer_cert() argument
201 cert = NCONF_get_string(conf, section, ENV_SIGNER_CERT); in TS_CONF_set_signer_cert()
218 int TS_CONF_set_certs(CONF *conf, const char *section, const char *certs, in TS_CONF_set_certs() argument
226 if ((certs = NCONF_get_string(conf, section, ENV_CERTS)) == NULL) in TS_CONF_set_certs()
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_config.c301 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/share/examples/jails/
H A DREADME5 $ cp VIMAGE /usr/src/sys/amd64/conf/
20 Sample 1: jail.conf(5)
23 $ cat jail.xxx.conf >> /etc/jail.conf
24 $ vi /etc/jail.conf
27 # NB: Assumes jail_list="" (meaning ``all jails in jail.conf'')
28 # NB: Assumes rc_conf_files="" (``below rc.conf(5) samples not used'')
31 Sample 2: rc.conf(5)
34 $ cp rc.conf.jails /etc/
35 $ vi /etc/rc.conf.jails
37 $ sysrc rc_conf_files+=/etc/rc.conf.jails
[all …]
/freebsd/usr.sbin/ctld/
H A Dctld.h44 #define DEFAULT_CONFIG_PATH "/etc/ctl.conf"
83 struct conf *ag_conf;
114 struct conf *pg_conf;
146 struct conf *p_conf;
161 struct conf *l_conf;
178 struct conf *t_conf;
191 struct conf *i_conf;
196 struct conf { struct
252 struct conf *conf_new(void);
253 struct conf *conf_new_from_kernel(struct kports *kports);
[all …]
/freebsd/share/man/man5/
H A DMakefile9 devfs.conf.5 \
26 libmap.conf.5 \
28 mailer.conf.5 \
29 make.conf.5 \
32 mount.conf.5 \
34 nsmb.conf.5 \
35 nsswitch.conf.5 \
39 periodic.conf.5 \
44 rc.conf.5 \
45 rctl.conf.5 \
[all …]

12345678910>>...126