pub fn verify_ethernet_frame(
frame: &EthernetFrame<&[u8]>,
expected: TestPacket<EthernetFrameMetadata>,
)
Expand description
Verify that a parsed Ethernet frame is as expected.
Ensures the parsed packet’s header fields and body are equal to those in the test packet.