Lines Matching refs:conf
1685 * @conf: Configuration for the RADIUS server
1693 radius_server_init(struct radius_server_conf *conf)
1698 if (conf->ipv6) {
1710 data->conf_ctx = conf->conf_ctx;
1711 data->eap_sim_db_priv = conf->eap_sim_db_priv;
1712 data->ssl_ctx = conf->ssl_ctx;
1713 data->msg_ctx = conf->msg_ctx;
1714 data->ipv6 = conf->ipv6;
1715 if (conf->pac_opaque_encr_key) {
1719 conf->pac_opaque_encr_key, 16);
1722 if (conf->eap_fast_a_id) {
1723 data->eap_fast_a_id = os_malloc(conf->eap_fast_a_id_len);
1725 os_memcpy(data->eap_fast_a_id, conf->eap_fast_a_id,
1726 conf->eap_fast_a_id_len);
1727 data->eap_fast_a_id_len = conf->eap_fast_a_id_len;
1730 if (conf->eap_fast_a_id_info)
1731 data->eap_fast_a_id_info = os_strdup(conf->eap_fast_a_id_info);
1732 data->eap_fast_prov = conf->eap_fast_prov;
1733 data->pac_key_lifetime = conf->pac_key_lifetime;
1734 data->pac_key_refresh_time = conf->pac_key_refresh_time;
1735 data->get_eap_user = conf->get_eap_user;
1736 data->eap_sim_aka_result_ind = conf->eap_sim_aka_result_ind;
1737 data->tnc = conf->tnc;
1738 data->wps = conf->wps;
1739 data->pwd_group = conf->pwd_group;
1740 data->server_id = conf->server_id;
1741 if (conf->eap_req_id_text) {
1742 data->eap_req_id_text = os_malloc(conf->eap_req_id_text_len);
1744 os_memcpy(data->eap_req_id_text, conf->eap_req_id_text,
1745 conf->eap_req_id_text_len);
1746 data->eap_req_id_text_len = conf->eap_req_id_text_len;
1749 data->erp = conf->erp;
1750 data->erp_domain = conf->erp_domain;
1751 data->tls_session_lifetime = conf->tls_session_lifetime;
1753 if (conf->subscr_remediation_url) {
1755 os_strdup(conf->subscr_remediation_url);
1757 data->subscr_remediation_method = conf->subscr_remediation_method;
1760 if (conf->sqlite_file) {
1761 if (sqlite3_open(conf->sqlite_file, &data->db)) {
1763 conf->sqlite_file);
1771 if (conf->dump_msk_file)
1772 data->dump_msk_file = os_strdup(conf->dump_msk_file);
1775 data->clients = radius_server_read_clients(conf->client_file,
1776 conf->ipv6);
1784 if (conf->ipv6)
1785 data->auth_sock = radius_server_open_socket6(conf->auth_port);
1788 data->auth_sock = radius_server_open_socket(conf->auth_port);
1801 if (conf->acct_port) {
1803 if (conf->ipv6)
1805 conf->acct_port);
1808 data->acct_sock = radius_server_open_socket(conf->acct_port);