foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | //! `ifconfig` (alias `ip`): show the network card and our IP address.
//!
//! eth0: virtio-net MAC 52:54:00:12:34:56 IRQ 11
//! inet 10.0.2.15/24 gateway 10.0.2.2 DNS 10.0.2.3 (DHCP)
//! RX 12 packets (2 KiB) TX 9 packets (1 KiB)
extern crate ulib;
entry!;
use Ip;
|