Lines Matching refs:ssn_params
211 if (intf->ssn_params.hostname != NULL) { in ipmi_intf_session_set_hostname()
212 free(intf->ssn_params.hostname); in ipmi_intf_session_set_hostname()
213 intf->ssn_params.hostname = NULL; in ipmi_intf_session_set_hostname()
218 intf->ssn_params.hostname = strdup(hostname); in ipmi_intf_session_set_hostname()
224 memset(intf->ssn_params.username, 0, 17); in ipmi_intf_session_set_username()
229 memcpy(intf->ssn_params.username, username, __min(strlen(username), 16)); in ipmi_intf_session_set_username()
235 memset(intf->ssn_params.authcode_set, 0, IPMI_AUTHCODE_BUFFER_SIZE); in ipmi_intf_session_set_password()
238 intf->ssn_params.password = 0; in ipmi_intf_session_set_password()
242 intf->ssn_params.password = 1; in ipmi_intf_session_set_password()
243 memcpy(intf->ssn_params.authcode_set, password, in ipmi_intf_session_set_password()
250 intf->ssn_params.privlvl = level; in ipmi_intf_session_set_privlvl()
256 intf->ssn_params.lookupbit = lookupbit; in ipmi_intf_session_set_lookupbit()
262 intf->ssn_params.cipher_suite_id = cipher_suite_id; in ipmi_intf_session_set_cipher_suite_id()
268 intf->ssn_params.sol_escape_char = sol_escape_char; in ipmi_intf_session_set_sol_escape_char()
274 memset(intf->ssn_params.kg, 0, IPMI_KG_BUFFER_SIZE); in ipmi_intf_session_set_kgkey()
279 memcpy(intf->ssn_params.kg, kgkey, in ipmi_intf_session_set_kgkey()
286 intf->ssn_params.port = port; in ipmi_intf_session_set_port()
294 memset(intf->ssn_params.authcode_set, 0, IPMI_AUTHCODE_BUFFER_SIZE); in ipmi_intf_session_set_authtype()
295 intf->ssn_params.password = 0; in ipmi_intf_session_set_authtype()
298 intf->ssn_params.authtype_set = authtype; in ipmi_intf_session_set_authtype()
304 intf->ssn_params.timeout = timeout; in ipmi_intf_session_set_timeout()
310 intf->ssn_params.retry = retry; in ipmi_intf_session_set_retry()
346 params = &intf->ssn_params; in ipmi_intf_socket_connect()