Module pnet_packet::udp [] [src]

UDP packet abstraction

Structs

MutableUdpPacket

A structure enabling manipulation of on the wire packets

Udp

Represents an UDP Packet

UdpIterable

Used to iterate over a slice of UdpPackets

UdpPacket

A structure enabling manipulation of on the wire packets

Functions

ipv4_checksum

Calculate the checksum for a packet built on IPv4

ipv4_checksum_adv

Calculate the 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.

ipv6_checksum

Calculate the checksum for a packet built on IPv6

ipv6_checksum_adv

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.