Namespace VpnHood.Net.Packets
Classes
- ChecksumUtils
Provides the Internet checksum (RFC 1071), vectorized where the processor allows.
- IcmpV4Packet
Represents an ICMPv4 message (RFC 792) over a buffer, which it reads and writes in place.
- IcmpV6Packet
Represents an ICMPv6 message (RFC 4443) over a buffer, which it reads and writes in place.
- IpPacket
Represents an IPv4 or IPv6 packet over a buffer, which it reads and writes in place.
- IpV4Packet
Represents an IPv4 packet (RFC 791) over a buffer, which it reads and writes in place.
- IpV6Packet
Represents an IPv6 packet (RFC 8200) over a buffer, which it reads and writes in place.
- PacketBuilder
Provides methods that parse IP packets and build new ones: UDP, TCP, ICMP and the replies a router or a host sends.
- PacketUtil
Provides helpers to read an IP packet's length and to compute Internet checksums.
- TcpPacket
Represents a TCP segment (RFC 9293) over a buffer, which it reads and writes in place.
- UdpPacket
Represents a UDP datagram (RFC 768) over a buffer, which it reads and writes in place.
Structs
- PacketMemory
The memory a packet is made on, and who takes it back when the packet is disposed.
Interfaces
- IChecksumPayloadPacket
Represents a payload packet with an Internet checksum (RFC 1071): TCP, UDP, ICMPv4 or ICMPv6.
- IPayloadPacket
Represents a packet carried in the payload of an IP packet, such as a TCP segment or a UDP datagram.
Enums
- IcmpV4Code
Specifies the code of an ICMPv4 message. A code means something only with its type, so values repeat: each value names the type it belongs to.
- IcmpV4Type
Specifies the type of an ICMPv4 message (RFC 792 and its successors).
- IcmpV6Code
Specifies the code of an ICMPv6 error message (RFC 4443 and its successors). A code means something only with its type, so values repeat: each value names the type it belongs to.
- IcmpV6Type
Specifies the type of an ICMPv6 message, as IANA registers it. Types below 128 are errors; the others are informational.
- IpEcnField
Specifies the Explicit Congestion Notification (ECN) codepoint of an IP header (RFC 3168).