Home
last modified time | relevance | path

Searched refs:PayloadType (Results 1 – 13 of 13) sorted by relevance

/openbmc/phosphor-net-ipmid/
H A Dmessage.hpp13 enum class PayloadType : uint8_t enum
124 payloadType(PayloadType::INVALID), in Message()
148 payloadType = PayloadType::OPEN_SESSION_RESPONSE; in Message()
150 else if (PayloadType::RAKP1 == other.payloadType) in Message()
152 payloadType = PayloadType::RAKP2; in Message()
154 else if (PayloadType::RAKP3 == other.payloadType) in Message()
156 payloadType = PayloadType::RAKP4; in Message()
174 if (payloadType == PayloadType::IPMI) in getCommand()
198 if (payloadType == PayloadType::SOL) in createResponse()
204 if (payloadType == PayloadType::IPMI) in createResponse()
[all …]
H A Dcomm_module.cpp22 {{(static_cast<uint32_t>(message::PayloadType::OPEN_SESSION_REQUEST) in sessionSetupCommands()
28 {{(static_cast<uint32_t>(message::PayloadType::RAKP1) << 16)}, in sessionSetupCommands()
33 {{(static_cast<uint32_t>(message::PayloadType::RAKP3) << 16)}, in sessionSetupCommands()
38 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in sessionSetupCommands()
44 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in sessionSetupCommands()
50 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in sessionSetupCommands()
56 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in sessionSetupCommands()
H A Dsol_module.cpp16 {{(static_cast<uint32_t>(message::PayloadType::SOL) << 16)}, in registerCommands()
21 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in registerCommands()
27 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in registerCommands()
33 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in registerCommands()
39 {{(static_cast<uint32_t>(message::PayloadType::IPMI) << 16) | in registerCommands()
H A Dmessage_handler.cpp110 if (inMessage->payloadType == PayloadType::IPMI) in executeCommand()
180 outMessage->payloadType = PayloadType::SOL; in sendSOLPayload()
194 outMessage->payloadType = PayloadType::IPMI; in sendUnsolicitedIPMIPayload()
H A Dmessage_parsers.cpp113 message->payloadType = PayloadType::IPMI; in unflatten()
193 message->payloadType = static_cast<PayloadType>(header->payloadType & 0x3F); in unflatten()
426 message->payloadType = PayloadType::IPMI; in unflatten()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_layer.cpp142 bool isValidPayloadType(const PayloadType payloadType) in isValidPayloadType()
145 payloadType == PayloadType::IPMI || payloadType == PayloadType::SOL || in isValidPayloadType()
146 payloadType == PayloadType::OPEN_SESSION_REQUEST || in isValidPayloadType()
147 payloadType == PayloadType::OPEN_SESSION_RESPONSE || in isValidPayloadType()
148 payloadType == PayloadType::RAKP1 || in isValidPayloadType()
149 payloadType == PayloadType::RAKP2 || in isValidPayloadType()
150 payloadType == PayloadType::RAKP3 || payloadType == PayloadType::RAKP4); in isValidPayloadType()
H A Dchannelcommands.cpp295 constexpr uint16_t standardPayloadBit(PayloadType p) in standardPayloadBit()
300 constexpr uint16_t sessionPayloadBit(PayloadType p) in sessionPayloadBit()
303 static_cast<size_t>(PayloadType::OPEN_SESSION_REQUEST); in sessionPayloadBit()
343 standardPayloadBit(PayloadType::SOL); in ipmiGetChannelPayloadSupport()
345 sessionPayloadBit(PayloadType::OPEN_SESSION_REQUEST) | in ipmiGetChannelPayloadSupport()
346 sessionPayloadBit(PayloadType::OPEN_SESSION_RESPONSE) | in ipmiGetChannelPayloadSupport()
347 sessionPayloadBit(PayloadType::RAKP1) | in ipmiGetChannelPayloadSupport()
348 sessionPayloadBit(PayloadType::RAKP2) | in ipmiGetChannelPayloadSupport()
349 sessionPayloadBit(PayloadType::RAKP3) | in ipmiGetChannelPayloadSupport()
350 sessionPayloadBit(PayloadType::RAKP4); in ipmiGetChannelPayloadSupport()
[all …]
H A Dchannel_layer.hpp120 enum class PayloadType : uint8_t enum
372 bool isValidPayloadType(const PayloadType payloadType);
H A Duser_mgmt.cpp1216 .stdPayloadEnables1[static_cast<uint8_t>(ipmi::PayloadType::SOL)] = in updatePayloadAccessInUserInfo()
1217 stdPayload[static_cast<uint8_t>(ipmi::PayloadType::SOL)][chIndex]; in updatePayloadAccessInUserInfo()
1305 stdPayload[static_cast<uint8_t>(ipmi::PayloadType::SOL)].fill(true); in readUserData()
1626 ipmi::PayloadType::SOL)] = true; in cacheUserDataFile()
/openbmc/phosphor-net-ipmid/command/
H A Dpayload_cmds.cpp36 if (static_cast<uint8_t>(message::PayloadType::SOL) != request->payloadType) in activatePayload()
78 message::PayloadType::SOL)])) in activatePayload()
135 if (static_cast<uint8_t>(message::PayloadType::SOL) != request->payloadType) in deactivatePayload()
221 if (static_cast<uint8_t>(message::PayloadType::SOL) != request->payloadType) in getPayloadStatus()
257 if (static_cast<uint8_t>(message::PayloadType::SOL) != in getPayloadInfo()
H A Dchannel_auth.cpp235 if (!ipmi::isValidPayloadType(static_cast<ipmi::PayloadType>(payloadType))) in getChannelCipherSuites()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/BIOSConfig/
H A DPassword.interface.yaml4 /xyz/openbmc_project/biosconfigMgr/<PayloadType>. Password interface is used
/openbmc/phosphor-host-ipmid/app/
H A Dchannel.cpp132 if (!ipmi::isValidPayloadType(static_cast<ipmi::PayloadType>(payloadType))) in getChannelCipherSuites()