Searched refs:ssn_params (Results 1 – 13 of 13) sorted by relevance
/openbmc/ipmitool/src/plugins/ |
H A D | ipmi_intf.c | 212 free(intf->ssn_params.hostname); in ipmi_intf_session_set_hostname() 213 intf->ssn_params.hostname = NULL; in ipmi_intf_session_set_hostname() 238 intf->ssn_params.password = 0; in ipmi_intf_session_set_password() 242 intf->ssn_params.password = 1; in ipmi_intf_session_set_password() 250 intf->ssn_params.privlvl = level; in ipmi_intf_session_set_privlvl() 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() 295 intf->ssn_params.password = 0; 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() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_tsol.c | 188 intf->ssn_params.sol_escape_char, in print_escape_seq() 189 intf->ssn_params.sol_escape_char, in print_escape_seq() 190 intf->ssn_params.sol_escape_char, in print_escape_seq() 191 intf->ssn_params.sol_escape_char, in print_escape_seq() 192 intf->ssn_params.sol_escape_char, in print_escape_seq() 193 intf->ssn_params.sol_escape_char); in print_escape_seq() 284 intf->ssn_params.sol_escape_char); in do_inbuf_actions() 288 intf->ssn_params.sol_escape_char); in do_inbuf_actions() 435 intf->ssn_params.hostname); in ipmi_tsol_main() 441 intf->ssn_params.hostname, in ipmi_tsol_main() [all …]
|
H A D | ipmi_sol.c | 1238 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1239 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1240 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1241 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1242 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1243 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1244 intf->ssn_params.sol_escape_char, in printSolEscapeSequences() 1245 intf->ssn_params.sol_escape_char); in printSolEscapeSequences() 1411 intf->ssn_params.sol_escape_char; in processSolUserInput() 1444 while (try < intf->ssn_params.retry) { in processSolUserInput() [all …]
|
H A D | ipmi_main.c | 275 ipmi_main_intf->ssn_params.retry = 1; in ipmi_catch_sigint()
|
H A D | ipmi_dcmi.c | 762 p = &intf->ssn_params; in ipmi_dcmi_prnt_oobDiscover()
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus_crypt.c | 98 strlen((const char *)intf->ssn_params.username); /* optional */ in lanplus_rakp2_hmac_matches() 166 buffer[57] = strlen((const char *)intf->ssn_params.username); in lanplus_rakp2_hmac_matches() 170 buffer[58 + i] = intf->ssn_params.username[i]; in lanplus_rakp2_hmac_matches() 378 strlen((const char *)intf->ssn_params.username); in lanplus_generate_rakp3_authcode() 409 input_buffer[20] = intf->ssn_params.privlvl; in lanplus_generate_rakp3_authcode() 414 input_buffer[21] = strlen((const char *)intf->ssn_params.username); in lanplus_generate_rakp3_authcode() 418 input_buffer[22 + i] = intf->ssn_params.username[i]; in lanplus_generate_rakp3_authcode() 494 strlen((const char *)intf->ssn_params.username); in lanplus_generate_sik() 543 input_buffer[34 + i] = intf->ssn_params.username[i]; in lanplus_generate_sik() 545 if (intf->ssn_params.kg[0]) in lanplus_generate_sik() [all …]
|
H A D | lanplus.c | 2121 while (try < intf->ssn_params.retry) { in ipmi_lanplus_send_payload() 2259 try = intf->ssn_params.retry; in ipmi_lanplus_send_payload() 2264 try = intf->ssn_params.retry; in ipmi_lanplus_send_payload() 2268 try = intf->ssn_params.retry; in ipmi_lanplus_send_payload() 2673 msg_data[1] = intf->ssn_params.privlvl; in ipmi_get_auth_capabilities_cmd() 2807 msg[1] = intf->ssn_params.privlvl; in ipmi_lanplus_open_session() 2827 intf->ssn_params.cipher_suite_id); in ipmi_lanplus_open_session() 3027 msg[24] = intf->ssn_params.privlvl | intf->ssn_params.lookupbit; in ipmi_lanplus_rakp1() 3313 uint8_t privlvl = intf->ssn_params.privlvl; in ipmi_set_session_privlvl_cmd() 3372 params = &intf->ssn_params; in ipmi_lanplus_open() [all …]
|
/openbmc/ipmitool/src/ |
H A D | ipmishell.c | 304 intf->ssn_params.hostname); in ipmi_set_main() 314 intf->ssn_params.username); in ipmi_set_main() 339 val2str(intf->ssn_params.authtype_set, in ipmi_set_main() 357 val2str(intf->ssn_params.privlvl, in ipmi_set_main() 372 printf("Set session port to %d\n", intf->ssn_params.port); in ipmi_set_main()
|
H A D | ipmievd.c | 836 strlen((const char *)intf->ssn_params.hostname) + 3, in ipmievd_sel_main() 837 "%s: ", intf->ssn_params.hostname); in ipmievd_sel_main()
|
/openbmc/ipmitool/src/plugins/serial/ |
H A D | serial_terminal.c | 230 if (intf->ssn_params.timeout == 0) in ipmi_serial_term_open() 231 intf->ssn_params.timeout = IPMI_SERIAL_TIMEOUT; in ipmi_serial_term_open() 232 if (intf->ssn_params.retry == 0) in ipmi_serial_term_open() 233 intf->ssn_params.retry = IPMI_SERIAL_RETRY; in ipmi_serial_term_open() 264 n = poll(&pfd, 1, intf->ssn_params.timeout*1000); in serial_wait_for_data() 774 } while (tm < intf->ssn_params.timeout); in serial_term_get_message() 792 for (retry = 0; retry < intf->ssn_params.retry; retry++) { in ipmi_serial_term_send_cmd()
|
H A D | serial_basic.c | 284 if (intf->ssn_params.timeout == 0) in serial_bm_open() 285 intf->ssn_params.timeout = SERIAL_BM_TIMEOUT; in serial_bm_open() 286 if (intf->ssn_params.retry == 0) in serial_bm_open() 287 intf->ssn_params.retry = SERIAL_BM_RETRY_COUNT; in serial_bm_open() 458 n = poll(&pfd, 1, intf->ssn_params.timeout * 1000); in serial_bm_wait_for_data() 886 } while (tm < intf->ssn_params.timeout); in serial_bm_get_message() 909 for (retry = 0; retry < intf->ssn_params.retry; retry++) { in serial_bm_send_request()
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | lan.c | 266 tmout.tv_sec = intf->ssn_params.timeout; in ipmi_lan_recv_packet() 292 tmout.tv_sec = intf->ssn_params.timeout; in ipmi_lan_recv_packet() 959 if (++try >= intf->ssn_params.retry) { in ipmi_lan_send_cmd() 1309 if (++try >= intf->ssn_params.retry) { in ipmi_lan_send_sol_payload() 1584 struct ipmi_session_params *p = &intf->ssn_params; in ipmi_get_auth_capabilities_cmd() 1703 memcpy(msg_data+1, intf->ssn_params.username, 16); in ipmi_get_session_challenge_cmd() 1760 msg_data[1] = intf->ssn_params.privlvl; in ipmi_activate_session_cmd() 1862 uint8_t privlvl = intf->ssn_params.privlvl; in ipmi_set_session_privlvl_cmd() 2035 p = &intf->ssn_params; in ipmi_lan_open()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_intf.h | 180 struct ipmi_session_params ssn_params; member
|