IEEE 802.3br

LINKTYPE 274 (#79). An mPacket wraps the frame in a preamble, an SMD and a trailing 4-byte mCRC. Express mPackets (SMD-E, 0xd5) are decoded as Ethernet once that wrapping is removed: as_ethernet() returns the frame while link_type() stays 274. The preamble is at most 7 octets of 0x55 and the standard lets the PHY shorten it, so the SMD is located as the first non-0x55 octet: the corpus contains 6-octet preambles, and a fixed offset left 102 real frames in error. Preemptible fragments (SMD-S/C) are refused with LinkLayerError::PreemptibleFragment, their reassembly being stateful; a first byte other than 0x55 is InvalidPreamble, an unknown SMD is InvalidSmd.

A synthetic express mPacket from the crate's tests, since the corpus has no IEEE 802.3br capture: seven preamble bytes 55, the SMD-E byte d5 that marks a complete express frame, then an ordinary Ethernet frame (destination 00:01:02:03:04:05, source 06:07:08:09:0a:0b, EtherType 0x0800, a 4-byte IPv4 stub) and the trailing 4-byte mCRC; the decoder strips the wrapper and delegates to the Ethernet decoder, so the link layer is an Ethernet DataLink carrying LinkType::IEEE802_3BR.