package
0.0.0-20220628045418-2e6a22a86d64
Repository: https://github.com/ugwis/golang-net.git
Documentation: pkg.go.dev

# Functions

IPv6PseudoHeader returns an IPv6 pseudo header for checksum calculation.
ListenPacket listens for incoming ICMP packets addressed to address.
ParseIPv4Header returns the IPv4 header of the IPv4 packet that triggered an ICMP error message.
ParseMessage parses b as an ICMP message.

# Structs

A DstUnreach represents an ICMP destination unreachable message body.
An Echo represents an ICMP echo request or reply message body.
An ExtendedEchoReply represents an ICMP extended echo reply message body.
An ExtendedEchoRequest represents an ICMP extended echo request message body.
An InterfaceIdent represents interface identification.
An InterfaceInfo represents interface and next-hop identification.
A Message represents an ICMP message.
MPLSLabel represents an MPLS label stack entry.
MPLSLabelStack represents an MPLS label stack.
A PacketConn represents a packet network endpoint that uses either ICMPv4 or ICMPv6.
A PacketTooBig represents an ICMP packet too big message body.
A ParamProb represents an ICMP parameter problem message body.
A RawBody represents a raw message body.
A RawExtension represents a raw extension.
A TimeExceeded represents an ICMP time exceeded message body.

# Interfaces

An Extension represents an ICMP extension.
A MessageBody represents an ICMP message body.
A Type represents an ICMP message type.

# Type aliases

A DefaultMessageBody represents the default message body.