#include <errno.h>Go to the source code of this file.
|
|
Definition at line 121 of file ipmi_err.h. |
|
|
Definition at line 118 of file ipmi_err.h. |
|
|
Definition at line 113 of file ipmi_err.h. Referenced by fru_data_handler(), and handle_sdr_data(). |
|
|
Definition at line 116 of file ipmi_err.h. |
|
|
Definition at line 105 of file ipmi_err.h. |
|
|
Definition at line 117 of file ipmi_err.h. |
|
|
|
Definition at line 120 of file ipmi_err.h. |
|
|
Definition at line 76 of file ipmi_err.h. Referenced by ipmi_get_error_string(), ipmi_get_error_string_len(), leave_err(), and report_error(). |
|
|
Definition at line 73 of file ipmi_err.h. Referenced by ipmi_get_error_string(), ipmi_get_error_string_len(), leave_err(), and report_error(). |
|
|
Definition at line 79 of file ipmi_err.h. Referenced by ipmi_get_error_string(), and ipmi_get_error_string_len(). |
|
|
Definition at line 82 of file ipmi_err.h. Referenced by ipmi_get_error_string(), ipmi_get_error_string_len(), and transmit_complete(). |
|
|
Definition at line 123 of file ipmi_err.h. Referenced by handle_close_session(), and handle_normal_session(). |
|
|
|
|
|
Definition at line 69 of file ipmi_err.h. |
|
|
|
Definition at line 75 of file ipmi_err.h. Referenced by ipmi_get_error_string(), and ipmi_get_error_string_len(). |
|
|
Definition at line 72 of file ipmi_err.h. Referenced by ipmi_get_error_string(), ipmi_get_error_string_len(), leave_err(), and report_error(). |
|
|
Definition at line 78 of file ipmi_err.h. Referenced by ipmi_get_error_string(), and ipmi_get_error_string_len(). |
|
|
Definition at line 81 of file ipmi_err.h. Referenced by ipmi_get_error_string(), ipmi_get_error_string_len(), and transmit_complete(). |
|
|
Definition at line 103 of file ipmi_err.h. |
|
|
Definition at line 114 of file ipmi_err.h. Referenced by handle_delete_sdr(), handle_delete_sel_entry(), handle_get_channel_info(), handle_get_device_sdr(), handle_get_sdr(), handle_get_sel_entry(), handle_sdr_data(), handle_sel_check(), and handle_sel_delete(). |
|
|
Definition at line 124 of file ipmi_err.h. Referenced by handle_add_sdr(), handle_no_session(), handle_normal_session(), and handle_partial_add_sdr(). |
|
|
Definition at line 68 of file ipmi_err.h. |
|
|
Definition at line 74 of file ipmi_err.h. |
|
|
Definition at line 107 of file ipmi_err.h. Referenced by handle_add_sdr(), and handle_add_sel_entry(). |
|
|
Definition at line 112 of file ipmi_err.h. Referenced by handle_get_device_sdr(), handle_get_sdr(), handle_ipmi_get_pef_config_parms(), handle_ipmi_set_pef_config_parms(), handle_read_fru_data(), and handle_write_fru_data(). |
|
|
Definition at line 119 of file ipmi_err.h. |
|
|
|
Definition at line 109 of file ipmi_err.h. Referenced by handle_msg_ipmi_dev(). |
|
|
Definition at line 111 of file ipmi_err.h. Referenced by fru_data_handler(), handle_get_device_sdr(), handle_get_sdr(), handle_read_fru_data(), handle_smi_msg(), and handle_write_fru_data(). |
|
|
Definition at line 70 of file ipmi_err.h. |
|
|
Definition at line 80 of file ipmi_err.h. Referenced by check_rakp_rsp(), handle_get_channel_payload_support_response(), and handle_get_payload_activation_status_response(). |
|
|
Definition at line 145 of file ipmi_err.h. Referenced by handle_open_session_payload(), handle_rakp1_payload(), and handle_rakp2(). |
|
|
Definition at line 135 of file ipmi_err.h. |
|
|
Definition at line 138 of file ipmi_err.h. |
|
|
Definition at line 128 of file ipmi_err.h. Referenced by handle_open_session_payload(), handle_rakp1_payload(), and handle_rakp2(). |
|
|
Definition at line 131 of file ipmi_err.h. Referenced by handle_open_session_payload(). |
|
|
Definition at line 143 of file ipmi_err.h. Referenced by handle_open_session_payload(). |
|
|
Definition at line 132 of file ipmi_err.h. Referenced by handle_open_session_payload(). |
|
|
Definition at line 142 of file ipmi_err.h. Referenced by handle_rakp2(). |
|
|
Definition at line 139 of file ipmi_err.h. |
|
|
Definition at line 130 of file ipmi_err.h. Referenced by handle_get_channel_payload_support_response(), and handle_get_payload_activation_status_response(). |
|
|
Definition at line 136 of file ipmi_err.h. |
|
|
Definition at line 129 of file ipmi_err.h. Referenced by handle_open_session_payload(), and handle_rakp2(). |
|
|
Definition at line 144 of file ipmi_err.h. Referenced by handle_open_session_payload(). |
|
|
Definition at line 133 of file ipmi_err.h. |
|
|
Definition at line 134 of file ipmi_err.h. |
|
|
Definition at line 141 of file ipmi_err.h. |
|
|
Definition at line 140 of file ipmi_err.h. |
|
|
Definition at line 137 of file ipmi_err.h. |
|
|
The request was NACKed because Char Trans was Unavail The managed system deactivated SoL SoL is not available due to managed system configuration. The connection has been forcibly disconnected. The operation has been attempted, but no confirmation is possible. The packet containing the request was flushed before transmission. Serial-over-LAN error codes Definition at line 150 of file ipmi_err.h. Referenced by process_packet(). |
|
|
Referenced by process_packet(). |
|
|
Referenced by handle_deactivate_payload_response(), ipmi_sol_force_close(), and sol_ACK_timer_expired(). |
|
|
Definition at line 71 of file ipmi_err.h. |
|
|
|
Referenced by ipmi_sol_flush(). |
|
|
|
Referenced by transmit_complete(), and transmitter_prod_nolock(). |
|
|
Definition at line 106 of file ipmi_err.h. Referenced by devid_bc_rsp_handler(), fru_data_handler(), handle_msg_ipmi_dev(), handle_msg_ipmi_sock(), and rsp_timeout_handler(). |
|
|
Definition at line 125 of file ipmi_err.h. Referenced by check_command_queue(), cleanup_domain(), fru_data_handler(), handle_add_sel_entry(), handle_get_session_challenge(), handle_normal_session(), handle_partial_add_sdr(), handle_sdr_data(), handle_smi_msg(), handle_temp_session(), lan_cleanup(), reroute_cmds(), and rsp_timeout_handler(). |
|
||||||||||||||||
|
Definition at line 1185 of file strings.c. References ipmi_ccodes. Referenced by ipmi_get_error_string(), ipmi_handle_recv(), and ipmi_handle_recv_async(). 01188 { 01189 char *cc_fs; 01190 01191 if ( cc == 0x00 ) 01192 cc_fs = ipmi_ccodes[0]; 01193 else if ( (cc > 0xbf) && (cc < 0xd6) ) 01194 cc_fs = ipmi_ccodes[cc - 0xc0 + 1]; 01195 else if ( cc == 0xff ) 01196 cc_fs = ipmi_ccodes[23]; 01197 else 01198 cc_fs = "Unknown:%02x"; 01199 01200 snprintf(buffer, buf_len, cc_fs, cc); 01201 01202 return buffer; 01203 }
|
|
|
Definition at line 1206 of file strings.c. References ipmi_ccodes. Referenced by ipmi_get_error_string_len(). 01207 { 01208 char *cc_fs; 01209 char dummy[1]; 01210 01211 if ( cc == 0x00 ) 01212 cc_fs = ipmi_ccodes[0]; 01213 else if ( (cc > 0xbf) && (cc < 0xd6) ) 01214 cc_fs = ipmi_ccodes[cc - 0xc0 + 1]; 01215 else if ( cc == 0xff ) 01216 cc_fs = ipmi_ccodes[23]; 01217 else 01218 cc_fs = "Unknown:%02x"; 01219 01220 return snprintf(dummy, 1, cc_fs, cc); 01221 }
|
|
||||||||||||||||
|
Definition at line 1259 of file strings.c. References ipmi_get_cc_string(), IPMI_GET_IPMI_ERR, IPMI_GET_OS_ERR, IPMI_GET_RMCPP_ERR, IPMI_GET_SOL_ERR, IPMI_IS_IPMI_ERR, IPMI_IS_OS_ERR, IPMI_IS_RMCPP_ERR, IPMI_IS_SOL_ERR, rmcpp_error_codes, and sol_error_codes. Referenced by cmd_done(), conn_changed(), connection_state(), domain_con_change(), sol_ACK_timer_expired(), sol_do_flush(), sol_send(), sol_send_break(), transmit_complete(), transmit_outstanding_packet(), and transmitter_prod_nolock(). 01262 { 01263 int len; 01264 char *err_type; 01265 01266 if (err == 0) { 01267 strncpy(buffer, "Success (No error)", buf_len); 01268 return buffer; 01269 } 01270 01271 if (IPMI_IS_OS_ERR(err)) { 01272 snprintf(buffer+4, buf_len-4, "%s", strerror(IPMI_GET_OS_ERR(err))); 01273 err_type = "OS: "; 01274 } else if (IPMI_IS_IPMI_ERR(err)) { 01275 ipmi_get_cc_string(IPMI_GET_IPMI_ERR(err), buffer+6, buf_len-6); 01276 err_type = "IPMI: "; 01277 } else if (IPMI_IS_RMCPP_ERR(err)) { 01278 int rmcpp_err = IPMI_GET_RMCPP_ERR(err); 01279 if ((rmcpp_err <= 0) && (rmcpp_err > 0x12)) 01280 rmcpp_err = 0x13; 01281 snprintf(buffer+7, buf_len-7, "%s (0x%02x)", 01282 rmcpp_error_codes[rmcpp_err - 1], 01283 IPMI_GET_RMCPP_ERR(err)); 01284 err_type = "RMCP+: "; 01285 } else if (IPMI_IS_SOL_ERR(err)) { 01286 int sol_err = IPMI_GET_SOL_ERR(err); 01287 if ((sol_err < 1) || (sol_err > 7)) 01288 sol_err = 7; 01289 strncpy(buffer+5, sol_error_codes[sol_err - 1], buf_len-5); 01290 err_type = "SoL: "; 01291 } else { 01292 strncpy(buffer+9, "Unknown", buf_len-9); 01293 err_type = "Unknown: "; 01294 } 01295 01296 len = strlen(err_type); 01297 if (len > buf_len-1) { 01298 len = buf_len-1; 01299 buffer[buf_len-1] = '\0'; 01300 } 01301 memcpy(buffer, err_type, len); 01302 01303 return buffer; 01304 }
|
|
|
Definition at line 1306 of file strings.c. References ipmi_get_cc_string_len(), IPMI_GET_IPMI_ERR, IPMI_GET_OS_ERR, IPMI_GET_RMCPP_ERR, IPMI_GET_SOL_ERR, IPMI_IS_IPMI_ERR, IPMI_IS_OS_ERR, IPMI_IS_RMCPP_ERR, IPMI_IS_SOL_ERR, rmcpp_error_codes, and sol_error_codes. 01307 { 01308 if (err == 0) 01309 return(strlen("Success (No error)")); 01310 01311 if (IPMI_IS_OS_ERR(err)) 01312 return strlen(strerror(IPMI_GET_OS_ERR(err))) + 5; 01313 else if (IPMI_IS_IPMI_ERR(err)) { 01314 return ipmi_get_cc_string_len(IPMI_GET_IPMI_ERR(err)) + 7; 01315 } else if (IPMI_IS_RMCPP_ERR(err)) { 01316 int rmcpp_err = IPMI_GET_RMCPP_ERR(err); 01317 if ((rmcpp_err <= 0) && (rmcpp_err > 0x12)) 01318 rmcpp_err = 0x13; 01319 return strlen(rmcpp_error_codes[rmcpp_err - 1]) + 15; 01320 } else if (IPMI_IS_SOL_ERR(err)) { 01321 int sol_err = IPMI_GET_SOL_ERR(err); 01322 if ((sol_err < 1) || (sol_err > 7)) 01323 sol_err = 7; 01324 return strlen(sol_error_codes[sol_err - 1]) + 6; 01325 } else { 01326 return strlen("Unknown") + 10; 01327 } 01328 }
|