Expand description
Testing-related utilities.
Structs§
- Metadata of an Ethernet frame.
- Metadata of an IPv4 packet.
- Metadata of an IPv6 packet.
- Metadata of a TCP segment.
- Represents a packet (usually from a live capture) used for testing.
- Metadata of a UDP packet.
Functions§
- Overwrite the checksum in an ICMPv6 message, returning the original value.
- Parse an ethernet frame.
- Parse an ICMP packet.
- Parse an ICMP packet in an IP packet in an Ethernet frame.
- Parse an IP packet.
- Parse an IP packet in an Ethernet frame.
- Verify that a parsed Ethernet frame is as expected.
- Verify that a parsed IPv4 packet is as expected.
- Verify that a parsed IPv6 packet is as expected.
- Verify that a parsed TCP segment is as expected.
- Verify that a parsed UDP packet is as expected.