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