Versions in this module Expand all Collapse all v1 v1.0.0 Jul 22, 2025 Changes in this version + const DISCARD + const ECHO + const ICMP + const ICMP_BODY + const ICMP_CODE + const ICMP_CSUM + const ICMP_DATA + const ICMP_MTU + const ICMP_TYPE + const ICMPv4_ADMIN_PROHIB + const ICMPv4_DEST_UNREACH + const ICMPv4_ECHO_REPLY + const ICMPv4_ECHO_REQUEST + const ICMPv4_EXC_FRAG + const ICMPv4_EXC_TTL + const ICMPv4_FRAG_NEEDED + const ICMPv4_HOST_UNKNOWN + const ICMPv4_HOST_UNREACH + const ICMPv4_NET_UNKNOWN + const ICMPv4_NET_UNREACH + const ICMPv4_PORT_UNREACH + const ICMPv4_PROT_UNREACH + const ICMPv4_REDIRECT + const ICMPv4_SOURCE_QUENCH + const ICMPv4_TIME_EXCEEDED + const ICMPv6 + const ICMPv6_ADMIN_PROHIB + const ICMPv6_DEST_UNREACH + const ICMPv6_ECHO_REPLY + const ICMPv6_ECHO_REQUEST + const ICMPv6_EXC_FRAG + const ICMPv6_EXC_TTL + const ICMPv6_HOST_UNREACH + const ICMPv6_NET_UNREACH + const ICMPv6_PACKET_TOO_BIG + const ICMPv6_PORT_UNREACH + const ICMPv6_TIME_EXCEEDED + const IPREF_HDR_MAX_LEN + const IPREF_HDR_MIN_LEN + const IPREF_ICMP_ADMIN_PROHIB + const IPREF_ICMP_DEST_UNREACH + const IPREF_ICMP_ECHO_REPLY + const IPREF_ICMP_ECHO_REQUEST + const IPREF_ICMP_EXC_FRAG + const IPREF_ICMP_EXC_TTL + const IPREF_ICMP_FRAG_NEEDED + const IPREF_ICMP_HOST_UNREACH + const IPREF_ICMP_NET_UNREACH + const IPREF_ICMP_PORT_UNREACH + const IPREF_ICMP_TIME_EXCEEDED + const IPREF_LOCAL_PORT + const IPREF_PORT + const IP_VER + const IPv4_CSUM + const IPv4_DSCP + const IPv4_DST + const IPv4_FRAG + const IPv4_HDR_MIN_LEN + const IPv4_ID + const IPv4_LEN + const IPv4_PROTO + const IPv4_SRC + const IPv4_TTL + const IPv6_DST + const IPv6_FRAG_EXT + const IPv6_FRAG_HDR_LEN + const IPv6_FRAG_IDENT + const IPv6_FRAG_NEXT + const IPv6_FRAG_OFF + const IPv6_FRAG_RES1 + const IPv6_HDR_MIN_LEN + const IPv6_HOP_OPT + const IPv6_NEXT + const IPv6_NO_NEXT + const IPv6_PLD_LEN + const IPv6_SRC + const IPv6_TTL + const PKT_IPREF + const PKT_IPv4 + const PKT_IPv6 + const TCP + const TCP_CSUM + const TCP_DPORT + const TCP_SPORT + const UDP + const UDP_CSUM + const UDP_DPORT + const UDP_HDR_LEN + const UDP_LEN + const UDP_SPORT + func CompareProbeResponse(a, b ProbeResponse) int + func ICMPAnnot(pkt_typ int, typ, code byte) string + func ICMPDesc(pkt_typ int, typ, code byte) string + func ResolveName(name string) ([]ipref.IP, error) + func ReverseResolve(ip ipref.IP, no_names bool) (name string) + type PktBuf struct + type ProbePacket struct + Ident uint16 + Sent time.Time + Seq uint16 + type ProbeResponse interface + Clone func() ProbeResponse + GetProbeResponseCommon func() *ProbeResponseCommon + func MergeProbeResponses(responses []ProbeResponse, clear_orig_packet bool, diff_protos bool) (merged []ProbeResponse) + type ProbeResponseCommon struct + Since []time.Duration + SrcIP ipref.IP + type ProbeResponseICMP struct + func (res *ProbeResponseICMP) Clone() ProbeResponse + func (res *ProbeResponseICMP) GetProbeResponseCommon() *ProbeResponseCommon + type ProbeResponseIPREF struct + DstIpRef ipref.IpRef + SrcIpRef ipref.IpRef + func (res *ProbeResponseIPREF) Clone() ProbeResponse + func (res *ProbeResponseIPREF) GetProbeResponseCommon() *ProbeResponseCommon + type ProbeResponseStatus struct + Code byte + Expected bool + Proto int + Type byte + type Prober struct + Local ipref.IP + Target ipref.IP + func (p *Prober) Destroy() + func (p *Prober) Init(local, target ipref.IP) error + func (p *Prober) Listen(first_timeout, second_timeout, overdue_timeout time.Duration, all, single bool) ([]ProbeResponse, error) + func (p *Prober) SendProbePackets(ttl byte, seq int, n int) error + func (p *Prober) StartProbe()