Added Network trait that keeps track of network settings and has DHCP/Manual options for setting up options
This commit is contained in:
parent
7dd4c04fe4
commit
fd9e861dde
7 changed files with 145 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue