# Functions
NewConn returns a new Conn.
NewControlMessage returns a new control message.
NewPacketConn returns a new PacketConn using c as its underlying transport.
NewRawConn returns a new RawConn using c as its underlying transport.
ParseHeader parses b as an IPv4 header.
# Constants
don't fragment flag.
pass the destination address on the received packet.
pass the interface index on the received packet.
pass the source address on the received packet.
pass the TTL on the received packet.
header length without extension headers.
Destination Unreachable.
Echo.
Echo Reply.
Extended Echo Reply.
Extended Echo Request.
Parameter Problem.
Photuris.
Redirect.
Router Advertisement.
Router Solicitation.
Time Exceeded.
Timestamp.
Timestamp Reply.
more fragments flag.
protocol version.
# Structs
A Conn represents a network endpoint that uses the IPv4 transport.
A ControlMessage represents per packet basis IP-level socket options.
A Header represents an IPv4 header.
An ICMPFilter represents an ICMP message filter for incoming packets.
A PacketConn represents a packet network endpoint that uses the IPv4 transport.
A RawConn represents a packet network endpoint that uses the IPv4 transport.
# Type aliases
No description provided by the author
No description provided by the author
An ICMPType represents a type of ICMP message.
A Message represents an IO message.