Module packet

Source

Functionsยง

create_dns
Creates a DNS packet.
create_icmp
Creates a ping packet to send.
create_tcp
Creates a TCP packet.
get_default_gateway_ip_freebsd ๐Ÿ”’
get_default_gateway_ip_linux ๐Ÿ”’
get_ethernet_header
Returns the ethernet header to use for the outbound packets.
is_in_prefix
Checks if the given address is in the given prefix.