Go to the source code of this file.
|
struct | __attribute__ ((packed)) |
|
uint8_t | mctp_pldm_cmd_handler (void *mctp_p, uint8_t *buf, uint32_t len, mctp_ext_params ext_params) |
|
uint8_t | mctp_pldm_send_msg (void *mctp_p, pldm_msg *msg) |
|
int | pldm_send_ipmi_response (uint8_t interface, ipmi_msg *msg) |
|
int | pldm_send_ipmi_request (ipmi_msg *msg) |
|
uint16_t | mctp_pldm_read (void *mctp_p, pldm_msg *msg, uint8_t *rbuf, uint16_t rbuf_len) |
|
pldm_t * | pldm_init (void *interface, uint8_t user_idx) |
|
uint8_t | get_supported_pldm_type (uint8_t *buf, uint8_t buf_size) |
| Get the supported PLDM types. More...
|
|
uint8_t | get_supported_pldm_commands (PLDM_TYPE type, uint8_t *buf, uint8_t buf_size) |
|
◆ MONITOR_THREAD_STACK_SIZE
#define MONITOR_THREAD_STACK_SIZE 1024 |
◆ PLDM_MAX_DATA_SIZE_DEFAULT
#define PLDM_MAX_DATA_SIZE_DEFAULT 512 |
◆ pldm_cmd_handler
◆ pldm_cmd_proc_fn
typedef uint8_t(* pldm_cmd_proc_fn) (void *, uint8_t *, uint16_t, uint8_t, uint8_t *, uint16_t *, void *) |
◆ pldm_msg
◆ pldm_t
◆ PLDM_MESSAGE_TYPE
Enumerator |
---|
PLDM_RESPONSE | |
PLDM_REQUEST | |
◆ PLDM_TYPE
Enumerator |
---|
PLDM_TYPE_BASE | |
PLDM_TYPE_SMBIOS | |
PLDM_TYPE_PLAT_MON_CTRL | |
PLDM_TYPE_BIOS_CTRL_CONF | |
PLDM_TYPE_FW_UPDATE | |
PLDM_TYPE_OEM | |
◆ __attribute__()
◆ get_supported_pldm_commands()
uint8_t get_supported_pldm_commands |
( |
PLDM_TYPE |
type, |
|
|
uint8_t * |
buf, |
|
|
uint8_t |
buf_size |
|
) |
| |
◆ get_supported_pldm_type()
uint8_t get_supported_pldm_type |
( |
uint8_t * |
buf, |
|
|
uint8_t |
buf_size |
|
) |
| |
Get the supported PLDM types.
- Parameters
-
buf | Pointer to the buffer, which should have 8 bytes |
buf_size | Number of buf's bytes |
- Return values
-
◆ mctp_pldm_cmd_handler()
uint8_t mctp_pldm_cmd_handler |
( |
void * |
mctp_p, |
|
|
uint8_t * |
buf, |
|
|
uint32_t |
len, |
|
|
mctp_ext_params |
ext_params |
|
) |
| |
◆ mctp_pldm_read()
uint16_t mctp_pldm_read |
( |
void * |
mctp_p, |
|
|
pldm_msg * |
msg, |
|
|
uint8_t * |
rbuf, |
|
|
uint16_t |
rbuf_len |
|
) |
| |
◆ mctp_pldm_send_msg()
uint8_t mctp_pldm_send_msg |
( |
void * |
mctp_p, |
|
|
pldm_msg * |
msg |
|
) |
| |
◆ pldm_init()
pldm_t * pldm_init |
( |
void * |
interface, |
|
|
uint8_t |
user_idx |
|
) |
| |
◆ pldm_send_ipmi_request()
int pldm_send_ipmi_request |
( |
ipmi_msg * |
msg | ) |
|
◆ pldm_send_ipmi_response()
int pldm_send_ipmi_response |
( |
uint8_t |
interface, |
|
|
ipmi_msg * |
msg |
|
) |
| |
◆ cmd
◆ completion_code
◆ first_data
◆ ipmi_comp_code
◆ netfn_lun
◆ pldm_hdr
◆ pldm_resp_hdr