ilusm.dev

icmp

ICMP ping, traceroute, host reachability.

Load with: use icmp

Quick example

use icmp

result = icmpg("value", "value")
prn(result)

Functions

Functions

icmpg(host, opts)

Performs the operation. Takes host, opts.

icmpn(host, count, opts)

Performs the operation. Takes host, count, opts.

icmpt(host, maxhops, opts)

Performs the operation. Takes host, maxhops, opts.

icmpok(host)

Performs the operation. Takes host.

Module aliases

These are the public-facing names you call with use icmp:

  • icmp.ping(h, o)
  • icmp.pn(h, n, o)
  • icmp.tr(h, m, o)
  • icmp.ok(h)

Notes

  • ICMP utilities - ping, traceroute.