vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 1 | #ifndef __HOST_IPMID_IPMI_H__ |
| 2 | #define __HOST_IPMID_IPMI_H__ |
| 3 | #include "ipmid-api.h" |
| 4 | |
| 5 | // When the requester sends in a netfn and a command along with data, this |
| 6 | // function will look for registered handlers that will handle that [netfn,cmd] |
| 7 | // and will make a call to that plugin implementation and send back the response. |
| 8 | ipmi_ret_t ipmi_netfn_router(const ipmi_netfn_t, const ipmi_cmd_t, ipmi_request_t, |
| 9 | ipmi_response_t, unsigned int *data_len); |
| 10 | |
| 11 | // Plugin libraries need to _end_ with .so |
| 12 | #define IPMI_PLUGIN_EXTN ".so" |
Chris Austen | 4f1c79d | 2015-10-13 12:32:13 -0500 | [diff] [blame] | 13 | |
| 14 | // The BT FIFO in the AST2400 can only handle 64 bytes. |
| 15 | // Can only allow 63 because the BT interface still |
| 16 | // needs 1 byte for the length field. |
| 17 | #define MAX_IPMI_BUFFER 63 |
vishwabmc | ba0bd5f | 2015-09-30 16:50:23 +0530 | [diff] [blame] | 18 | |
| 19 | #endif |