Main Page | Class List | Directories | File List | Class Members | File Members

ipmi.h File Reference

#include <linux/ipmi_msgdefs.h>

Go to the source code of this file.

Classes

struct  ipmi_addr
struct  ipmi_system_interface_addr
struct  ipmi_ipmb_addr
struct  ipmi_msg
struct  ipmi_req
struct  ipmi_req_settime
struct  ipmi_recv
struct  ipmi_cmdspec
struct  ipmi_channel_lun_address_set
struct  ipmi_timing_parms

Defines

#define IPMI_MAX_ADDR_SIZE   32
#define IPMI_SYSTEM_INTERFACE_ADDR_TYPE   0x0c
#define IPMI_IPMB_ADDR_TYPE   0x01
#define IPMI_IPMB_BROADCAST_ADDR_TYPE   0x41
#define IPMI_BMC_CHANNEL   0xf
#define IPMI_NUM_CHANNELS   0x10
#define IPMI_INVALID_CMD_COMPLETION_CODE   0xC1
#define IPMI_TIMEOUT_COMPLETION_CODE   0xC3
#define IPMI_UNKNOWN_ERR_COMPLETION_CODE   0xff
#define IPMI_RESPONSE_RECV_TYPE   1
#define IPMI_ASYNC_EVENT_RECV_TYPE   2
#define IPMI_CMD_RECV_TYPE   3
#define IPMI_IOC_MAGIC   'i'
#define IPMICTL_SEND_COMMAND
#define IPMICTL_SEND_COMMAND_SETTIME
#define IPMICTL_RECEIVE_MSG
#define IPMICTL_RECEIVE_MSG_TRUNC
#define IPMICTL_REGISTER_FOR_CMD
#define IPMICTL_UNREGISTER_FOR_CMD
#define IPMICTL_SET_GETS_EVENTS_CMD   _IOR(IPMI_IOC_MAGIC, 16, int)
#define IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 24, struct ipmi_channel_lun_address_set)
#define IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 25, struct ipmi_channel_lun_address_set)
#define IPMICTL_SET_MY_CHANNEL_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 26, struct ipmi_channel_lun_address_set)
#define IPMICTL_GET_MY_CHANNEL_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 27, struct ipmi_channel_lun_address_set)
#define IPMICTL_SET_MY_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 17, unsigned int)
#define IPMICTL_GET_MY_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 18, unsigned int)
#define IPMICTL_SET_MY_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 19, unsigned int)
#define IPMICTL_GET_MY_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 20, unsigned int)
#define IPMICTL_SET_TIMING_PARMS_CMD
#define IPMICTL_GET_TIMING_PARMS_CMD


Define Documentation

#define IPMI_ASYNC_EVENT_RECV_TYPE   2
 

Definition at line 150 of file ipmi.h.

#define IPMI_BMC_CHANNEL   0xf
 

Definition at line 118 of file ipmi.h.

Referenced by _ipmi_find_mc_by_addr(), _ipmi_find_or_create_mc_by_slave_addr(), check_event_rcvr(), handle_msg_send(), ipmi_mc_get_channel(), ipmi_pet_create(), ipmi_send_command_addr(), ipmi_sol_open(), mc_event(), mc_ptr_cb(), mc_upd_handler(), mxp_handler(), noipmb_handler(), process_input_line(), set_up_atca_blade(), set_up_atca_domain(), setup_domain(), test_handler_0(), and tig_handler().

#define IPMI_CMD_RECV_TYPE   3
 

Definition at line 151 of file ipmi.h.

#define IPMI_INVALID_CMD_COMPLETION_CODE   0xC1
 

Definition at line 139 of file ipmi.h.

#define IPMI_IOC_MAGIC   'i'
 

Definition at line 397 of file ipmi.h.

#define IPMI_IPMB_ADDR_TYPE   0x01
 

Definition at line 100 of file ipmi.h.

Referenced by _ipmi_event_get_generating_mc(), _ipmi_find_mc_by_addr(), _ipmi_find_or_create_mc_by_slave_addr(), _ipmi_remove_mc_from_domain(), add_mc_to_domain(), atca_event_handler(), domain_msg(), dump_msg_data(), force_activate(), get_addr_type(), get_event_rcvr_done(), handle_msg_ipmi_dev(), handle_msg_ipmi_sock(), handle_msg_send(), ipmi_addr_equal(), ipmi_addr_equal_nolun(), ipmi_addr_get_lun(), ipmi_addr_get_slave_addr(), ipmi_addr_set_lun(), ipmi_entity_get_mc_id(), ipmi_handle_recv(), ipmi_mc_get_address(), lan_send_addr(), matching_domain_sysaddr(), mc_ptr_cb(), msg_cmd(), mxp_genboard_handler(), mxpv1_board_presence_states_get_start(), process_input_line(), rsp_timeout_handler(), smi_send_dev(), smi_send_sock(), start_domain_fru_write(), start_logical_fru_fetch(), test_event_handler_0(), timed_rescan_bus4(), and zynx_switch_handler().

#define IPMI_IPMB_BROADCAST_ADDR_TYPE   0x41
 

Definition at line 103 of file ipmi.h.

Referenced by domain_msg(), dump_msg_data(), get_addr_type(), handle_msg_send(), ipmi_format_msg(), ipmi_handle_recv(), ipmi_start_ipmb_mc_scan(), lan_send_addr(), msg_cmd(), process_input_line(), rsp_timeout_handler(), smi_send_dev(), and smi_send_sock().

#define IPMI_MAX_ADDR_SIZE   32
 

Definition at line 76 of file ipmi.h.

#define IPMI_NUM_CHANNELS   0x10
 

Definition at line 119 of file ipmi.h.

#define IPMI_RESPONSE_RECV_TYPE   1
 

Definition at line 149 of file ipmi.h.

Referenced by handle_msg_ipmi_dev(), and handle_msg_ipmi_sock().

#define IPMI_SYSTEM_INTERFACE_ADDR_TYPE   0x0c
 

Definition at line 91 of file ipmi.h.

Referenced by _ipmi_find_mc_by_addr(), _ipmi_find_or_create_mc_by_slave_addr(), _ipmi_remove_mc_from_domain(), add_address_control(), add_mc_to_domain(), atca_oem_check(), audit_timeout_handler(), check_if_atca(), destroy_address_control(), devid_bc_rsp_handler(), dump_msg_data(), force_ipmb_fetch(), get_addr_type(), handle_msg_ipmi_dev(), handle_msg_ipmi_sock(), handle_msg_send(), ipmi_addr_equal(), ipmi_addr_equal_nolun(), ipmi_addr_get_lun(), ipmi_addr_set_lun(), ipmi_format_msg(), ipmi_handle_recv(), ipmi_handle_recv_async(), ipmi_mc_get_address(), ipmi_mc_get_channel(), ipmi_pet_create(), ipmi_send_command_addr(), ipmi_sol_open(), ipmi_start_si_scan(), kontron_ipmb_fetch(), kontron_ipmb_fetch_amc(), lan_atca_ipmb_fetch(), lan_send_addr(), ll_event_handler(), matching_domain_sysaddr(), mc_ptr_cb(), mxp_activate(), mxp_handle_send_rsp_err(), mxp_ipmb_fetch(), mxpv1_board_presence_states_get_start(), process_input_line(), rescan_timeout_handler(), rsp_timeout_handler(), send_activate(), send_activate_session(), send_auth_cap(), send_challenge(), send_close_session(), send_get_dev_id(), send_set_session_privilege(), set_up_atca_blade(), set_up_atca_domain(), setup_domain(), shelf_fru_fetched(), smi_send_dev(), smi_send_sock(), and snmp_got_match().

#define IPMI_TIMEOUT_COMPLETION_CODE   0xC3
 

Definition at line 140 of file ipmi.h.

#define IPMI_UNKNOWN_ERR_COMPLETION_CODE   0xff
 

Definition at line 141 of file ipmi.h.

#define IPMICTL_GET_MY_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 18, unsigned int)
 

Definition at line 555 of file ipmi.h.

#define IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 25, struct ipmi_channel_lun_address_set)
 

Definition at line 550 of file ipmi.h.

#define IPMICTL_GET_MY_CHANNEL_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 27, struct ipmi_channel_lun_address_set)
 

Definition at line 552 of file ipmi.h.

#define IPMICTL_GET_MY_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 20, unsigned int)
 

Definition at line 557 of file ipmi.h.

#define IPMICTL_GET_TIMING_PARMS_CMD
 

Value:

_IOR(IPMI_IOC_MAGIC, 23, \
                                             struct ipmi_timing_parms)

Definition at line 570 of file ipmi.h.

#define IPMICTL_RECEIVE_MSG
 

Value:

_IOWR(IPMI_IOC_MAGIC, 12,       \
                                              struct ipmi_recv)

Definition at line 494 of file ipmi.h.

#define IPMICTL_RECEIVE_MSG_TRUNC
 

Value:

_IOWR(IPMI_IOC_MAGIC, 11,       \
                                              struct ipmi_recv)

Definition at line 502 of file ipmi.h.

Referenced by handle_msg_ipmi_dev().

#define IPMICTL_REGISTER_FOR_CMD
 

Value:

_IOR(IPMI_IOC_MAGIC, 14,        \
                                             struct ipmi_cmdspec)

Definition at line 518 of file ipmi.h.

#define IPMICTL_SEND_COMMAND
 

Value:

_IOR(IPMI_IOC_MAGIC, 13,        \
                                             struct ipmi_req)

Definition at line 422 of file ipmi.h.

Referenced by smi_send_dev().

#define IPMICTL_SEND_COMMAND_SETTIME
 

Value:

_IOR(IPMI_IOC_MAGIC, 21,        \
                                             struct ipmi_req_settime)

Definition at line 455 of file ipmi.h.

#define IPMICTL_SET_GETS_EVENTS_CMD   _IOR(IPMI_IOC_MAGIC, 16, int)
 

Definition at line 534 of file ipmi.h.

#define IPMICTL_SET_MY_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 17, unsigned int)
 

Definition at line 554 of file ipmi.h.

Referenced by ipmb_addr_change_dev().

#define IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD   _IOR(IPMI_IOC_MAGIC, 24, struct ipmi_channel_lun_address_set)
 

Definition at line 549 of file ipmi.h.

#define IPMICTL_SET_MY_CHANNEL_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 26, struct ipmi_channel_lun_address_set)
 

Definition at line 551 of file ipmi.h.

#define IPMICTL_SET_MY_LUN_CMD   _IOR(IPMI_IOC_MAGIC, 19, unsigned int)
 

Definition at line 556 of file ipmi.h.

#define IPMICTL_SET_TIMING_PARMS_CMD
 

Value:

_IOR(IPMI_IOC_MAGIC, 22, \
                                             struct ipmi_timing_parms)

Definition at line 568 of file ipmi.h.

Referenced by ipmi_open().

#define IPMICTL_UNREGISTER_FOR_CMD
 

Value:

_IOR(IPMI_IOC_MAGIC, 15,        \
                                             struct ipmi_cmdspec)

Definition at line 525 of file ipmi.h.


© sourcejam.com 2005-2008