diff options
author | Marvin Borner | 2020-11-01 21:26:10 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-01 21:26:10 +0100 |
commit | 7bd11f0275cf22089177692092d73ab73ede87fa (patch) | |
tree | 98eea905a7f6fe02dc90bb45145bcc1f1dce4863 /kernel/inc | |
parent | f40be8b5b6227775901a99946779661d0b4439e6 (diff) |
New (working!) network approach
Diffstat (limited to 'kernel/inc')
-rw-r--r-- | kernel/inc/net.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/inc/net.h b/kernel/inc/net.h index 765e035..78aed51 100644 --- a/kernel/inc/net.h +++ b/kernel/inc/net.h @@ -67,7 +67,7 @@ struct ip_packet { struct dhcp_packet { u8 op; u8 hardware_type; - u8 hardware_addr_len; + u8 mac_len; u8 hops; u32 xid; u16 seconds; @@ -76,7 +76,8 @@ struct dhcp_packet { u32 your_ip; u32 server_ip; u32 gateway_ip; - u8 client_hardware_addr[16]; + u8 client_mac[6]; + u8 reserved[10]; u8 server_name[64]; u8 file[128]; u8 options[64]; |