mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 09:45:08 +00:00

These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
10 lines
128 B
C
10 lines
128 B
C
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
struct EtherType {
|
|
enum : u16 {
|
|
ARP = 0x0806,
|
|
IPv4 = 0x0800,
|
|
};
|
|
};
|