Home
last modified time | relevance | path

Searched refs:ctrl_hdr (Results 1 – 2 of 2) sorted by relevance

/openbmc/libmctp/tests/
H A Dtest_cmds.c23 struct mctp_ctrl_msg_hdr ctrl_hdr; member
90 .ctrl_hdr = { in send_transport_control_message()
99 ctx.command_code = send_control_message_payload.ctrl_hdr.command_code; in send_transport_control_message()
101 send_control_message_payload.ctrl_hdr.command_code); in send_transport_control_message()
/openbmc/libmctp/
H A Dcontrol.c196 const struct mctp_ctrl_msg_hdr *ctrl_hdr, uint8_t ccode) in reply_error() argument
205 fill_resp(ctrl_hdr, &resp->hdr); in reply_error()
231 const struct mctp_ctrl_msg_hdr *ctrl_hdr = data; in mctp_control_handler() local
232 if (ctrl_hdr->ic_msg_type != MCTP_CTRL_HDR_MSG_TYPE) { in mctp_control_handler()
242 if ((ctrl_hdr->rq_dgram_inst & in mctp_control_handler()
253 switch (ctrl_hdr->command_code) { in mctp_control_handler()
274 reply_error(bus->mctp, src_eid, msg_tag, ctrl_hdr, cc); in mctp_control_handler()