MCPcopy
hub / github.com/google/gopacket / RMCPClass

TypeAlias RMCPClass

layers/rmcp.go:20–20  ·  view source on GitHub ↗

RMCPClass is the class of a RMCP layer's payload, e.g. ASF or IPMI. This is a 4-bit unsigned int on the wire; all but 6 (ASF), 7 (IPMI) and 8 (OEM-defined) are currently reserved.

Source from the content-addressed store, hash-verified

18// 4-bit unsigned int on the wire; all but 6 (ASF), 7 (IPMI) and 8 (OEM-defined)
19// are currently reserved.
20type RMCPClass uint8
21
22// LayerType returns the payload layer type corresponding to a RMCP class.
23func (c RMCPClass) LayerType() gopacket.LayerType {

Callers 1

DecodeFromBytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected