core.c
/* TODO: Will be revisiting the instance id management is done by upper
 * layer or the control command by itself.
 */
Will be revisiting the instance id management is done by upper
layer or the control command by itself.
Will be revisiting the instance id management is done by upper layer or the control command by itself .
static void encode_ctrl_cmd_header(struct mctp_ctrl_msg_hdr *mctp_ctrl_hdr,
				   uint8_t rq_dgram_inst, uint8_t cmd_code)
{
	mctp_ctrl_hdr->ic_msg_type = MCTP_CTRL_HDR_MSG_TYPE;
	mctp_ctrl_hdr->rq_dgram_inst = rq_dgram_inst;
	mctp_ctrl_hdr->command_code = cmd_code;
}
static void encode_ctrl_cmd_header ( struct mctp_ctrl_msg_hdr * mctp_ctrl_hdr , uint8_t rq_dgram_inst , uint8_t cmd_code ) { mctp_ctrl_hdr -> ic_msg_type = MCTP_CTRL_HDR_MSG_TYPE ; mctp_ctrl_hdr -> rq_dgram_inst = rq_dgram_inst ; mctp_ctrl_hdr -> command_code = cmd_code ; }
TODO: Will be revisiting the instance id management is done by upper
 layer or the control command by itself.
TODO : Will be revisiting the instance id management is done by upper layer or the control command by itself .