Module udp

Source
Expand description

A UDP packet abstraction.

Structs§

MutableUdpPacket
A structure enabling manipulation of on the wire packets
Udp
Represents a UDP Packet.
UdpHeader
Represents the UDP header.
UdpIterable
Used to iterate over a slice of UdpPackets
UdpPacket
A structure enabling manipulation of on the wire packets

Constants§

UDP_HEADER_LEN
UDP Header Length

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.