Skip to main content

Module packet

Module packet 

Source

Structs§

DnsProbeId
ProbePayload
ICMP arguments to encode in the payload.
TraceDnsId
Identity of a UDP/DNS trace probe, encoded in the QNAME so the destination DNS server’s reply can be matched back to the trace session.

Functions§

checksum_correction 🔒
Compute a 2-byte correction word that, when placed in the payload (replacing the zero placeholder), forces the UDP checksum to desired.
create_dns
Creates a DNS packet.
create_icmp
Creates a ping packet to send.
create_tcp
Creates a TCP packet.
create_tcp_trace
Creates a TCP (Paris) traceroute probe packet.
create_udp_trace
Creates a UDP (Paris) traceroute probe packet with a DNS payload