Added Network trait that keeps track of network settings and has DHCP/Manual options for setting up options

This commit is contained in:
Jonah Dahlquist 2019-08-09 17:24:51 -05:00 committed by Jonah Dahlquist
commit fd9e861dde
7 changed files with 145 additions and 21 deletions

View file

@ -2,5 +2,10 @@
pub const COMMON: u8 = 0;
pub mod common {
pub const MODE: u16 = 0;
pub const MODE: u16 = 0x0;
pub const GATEWAY: u16 = 0x1;
pub const SUBNET_MASK: u16 = 0x5;
pub const MAC: u16 = 0x9;
pub const IP: u16 = 0xF;
pub const VERSION: u16 = 0x39;
}