OpenBIC
OpenSource Bridge-IC
plat_pldm.h File Reference
#include "mctp.h"
Include dependency graph for plat_pldm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _bridge_store
 
struct  bypass_pldm_cmd_req_rsp
 

Typedefs

typedef struct _bridge_store bridge_store
 

Functions

struct bypass_pldm_cmd_req_rsp __attribute__ ((packed))
 
bool pldm_request_msg_need_bypass (uint8_t *buf, uint32_t len)
 
bool pldm_save_mctp_inst_from_ipmb_req (void *mctp_inst, uint8_t inst_num, mctp_ext_params ext_params)
 
bridge_storepldm_find_mctp_inst_by_inst_id (uint8_t inst_num)
 
bool pldm_send_ipmb_rsp (ipmi_msg *msg)
 

Variables

uint8_t iana [3]
 
union {
   struct {
      uint8_t   inst_id: 5
 
      uint8_t   rsvd: 1
 
      uint8_t   d: 1
 
      uint8_t   rq: 1
 
   } 
 
   uint8_t   req_d_id
 
}; 
 
uint8_t pldm_type
 
uint8_t ver
 
uint8_t cmd
 
uint8_t payload [1]
 

Typedef Documentation

◆ bridge_store

typedef struct _bridge_store bridge_store

Function Documentation

◆ __attribute__()

struct bypass_pldm_cmd_req_rsp __attribute__ ( (packed)  )

◆ pldm_find_mctp_inst_by_inst_id()

bridge_store * pldm_find_mctp_inst_by_inst_id ( uint8_t  inst_num)

◆ pldm_request_msg_need_bypass()

bool pldm_request_msg_need_bypass ( uint8_t *  buf,
uint32_t  len 
)

◆ pldm_save_mctp_inst_from_ipmb_req()

bool pldm_save_mctp_inst_from_ipmb_req ( void *  mctp_inst,
uint8_t  inst_num,
mctp_ext_params  ext_params 
)

◆ pldm_send_ipmb_rsp()

bool pldm_send_ipmb_rsp ( ipmi_msg msg)
Here is the call graph for this function:

Variable Documentation

◆ 

union { ... }

◆ cmd

uint8_t cmd

◆ d

uint8_t d

◆ iana

uint8_t iana[3]

◆ inst_id

uint8_t inst_id

◆ payload

uint8_t payload[1]

◆ pldm_type

uint8_t pldm_type

◆ req_d_id

uint8_t req_d_id

◆ rq

uint8_t rq

◆ rsvd

uint8_t rsvd

◆ ver

uint8_t ver