Expand description
libMCTP is a MCTP (Management Component Transport Protocol) implementation for Rust.
libMCTP aims to implement the MCTP protocol as described in the DMTF DSP2016 specification.
MCTP allows multiple transport layers, the protocols supported by this library include:
- SMBus/I2C version 1.2.0. See DMTF DSP0237
libMCTP does not send or receive any data. Instead it generates [u8]
arrays that contain all of the bytes that should be sent. It also
decodes [u8]
arrays. This allows you to use your own SMBus/I2C
implementation.
Developers wanting to use this as a library should focus on the relevant
transport layer context. For example, for SMBus support use the
MCTPSMBusContext
struct in the smbus
module.
Modules§
- base_
packet - This defines the MCTP base protocol common fields.
- control_
packet - This describes the MCTP Control Message headers and protocols.
- errors
- The public error types used by libMCTP
- mctp_
traits - Traits used for the MCTP implementation.
- smbus
- The SMBus specific protocol implementation.
- smbus_
proto - The implementation for the SMBus protocol
- smbus_
request - The SMBus specific CMTP request protocol implementation.
- smbus_
response - The SMBus specific CMTP response protocol implementation.
- vendor_
packets - This describes the MCTP Vendor defined headers and protocols.
Structs§
- MCTPSM
BusContext - The global context for MCTP SMBus operations
Enums§
- Control
Message Error - The possible Control Message errors
- Decode
Error - The possible errors when decoding a packet
- Message
Type - The Message Type of the MCTP packet