Module libpacket::udp[][src]

Expand description

A UDP packet abstraction.

Structs

MutableUdpPacket

A structure enabling manipulation of on the wire packets

Udp

Represents a UDP Packet.

UdpIterable

Used to iterate over a slice of {name}Packets

UdpPacket

A structure enabling manipulation of on the wire packets

Functions

ipv4_checksum

Calculate a checksum for a packet built on IPv4.

ipv4_checksum_adv

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.

ipv6_checksum

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