Expand description
ping – ICMP echo utility for strat9-os
Sends ICMP echo requests by writing to /net/ping/<target_ip> and reads
replies from the same scheme path. The actual ICMP socket is driven by
the strate-net silo via smoltcp; this tool is a thin userspace wrapper.
Usage: ping
All I/O is done through Plan 9–style schemes – no BSD sockets.
Structs§
- BufWriter 🔒
- Bump
Allocator - Ping
Args 🔒 - Ping
Reply 🔒 - Ping
Request 🔒 - ICMP echo request/reply payload passed through the
/net/ping/<ip>scheme. - __
Free 🔒Node
Constants§
Statics§
Functions§
- __
align_ 🔒up - Implements align up.
- __
alloc_ 🔒size - Implements alloc size.
- __
lock_ 🔒alloc - Implements lock alloc.
- __
unlock_ 🔒alloc - Implements unlock alloc.
- _start
- Implements start.
- alloc_
error 🔒 - Implements alloc error.
- clock_
ns 🔒 - Implements clock ns.
- log 🔒
- Implements log.
- log_u32 🔒
- Implements log u32.
- panic 🔒
- Implements panic.
- parse_
args 🔒 - Parses args.
- parse_
ipv4_ 🔒literal - Parses ipv4 literal.
- resolve_
target 🔒 - scheme_
read 🔒 - Read a scheme file, return bytes read.
- scheme_
write 🔒 - Write to a scheme file, return bytes written.
- sleep_
ms 🔒 - Implements sleep ms.
- u32_
to_ 🔒str - Implements u32 to str.