Module pnet_packet::udp [−][src]
Expand description
A UDP packet abstraction.
Structs
A structure enabling manipulation of on the wire packets
Represents a UDP Packet.
Used to iterate over a slice of UdpPacket
s
A structure enabling manipulation of on the wire packets
Functions
Calculate a checksum for a packet built on IPv4.
Calculate a checksum for a packet built on IPv4. Advanced version which accepts an extra slice of data that will be included in the checksum as being part of the data portion of the packet.
Calculate a checksum for a packet built on IPv6.
Calculate the checksum for a packet built on IPv6. Advanced version which accepts an extra slice of data that will be included in the checksum as being part of the data portion of the packet.