Expand description
Network commands (ping, ifconfig)
Modulesยง
- ifconfig ๐
- netcmd ๐
- nslookup ๐
- ping_
userspace ๐ - telnet ๐
Functionsยง
- cmd_
ifconfig - Ifconfig command entrypoint.
- cmd_
ifconfig_ ๐impl - Performs the cmd ifconfig operation.
- cmd_net
- Net command entrypoint.
- cmd_
net_ ๐impl - Performs the cmd net operation.
- cmd_
nslookup - Minimal DNS lookup command.
- cmd_
ping - Userspace ping entrypoint: launches /initfs/bin/ping with the given args.
- cmd_
ping_ ๐spawn_ impl - Performs the cmd ping spawn operation (launches /initfs/bin/ping with args).
- cmd_
telnet - Open a TCP connection and send/receive data interactively.
- read_
elf ๐ - Read an ELF binary from a VFS path into a Vec
. Shared helper used by ping and other commands that spawn userspace binaries. - shell_
sleep_ ๐ms - Busy-wait for approximately
msmilliseconds, yielding to other tasks. Scheduler ticks are 10ms each. - spawn_
elf_ ๐with_ args - Spawn a userspace ELF binary from
/initfs/bin/<name>with the given shell arguments asargv[1..]. Returns immediately after scheduling. - write_
path ๐ - Writes path.