mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:37:36 +00:00
Kernel: Bring up enough networking code that we can respond to ARP requests.
This is all pretty rickety but we can now respond to "arping" from the host while running inside QEMU. Very cool. :^)
This commit is contained in:
parent
10dcd3a47f
commit
318b01e055
12 changed files with 229 additions and 40 deletions
10
Kernel/EtherType.h
Normal file
10
Kernel/EtherType.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
struct EtherType {
|
||||
enum : word {
|
||||
ARP = 0x0806,
|
||||
IPv4 = 0x0800,
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue