1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00

AK: Add Endian.h header to replace NetworkOrdered.h.

This commit is contained in:
asynts 2020-08-25 15:11:15 +02:00 committed by Andreas Kling
parent ecf6cbbd02
commit 10c6f062b3
20 changed files with 195 additions and 106 deletions

View file

@ -26,16 +26,16 @@
#pragma once
#include <AK/Endian.h>
#include <AK/MACAddress.h>
#include <AK/NetworkOrdered.h>
#pragma GCC diagnostic ignored "-Warray-bounds"
class [[gnu::packed]] EthernetFrameHeader
{
public:
EthernetFrameHeader() {}
~EthernetFrameHeader() {}
EthernetFrameHeader() { }
~EthernetFrameHeader() { }
MACAddress destination() const { return m_destination; }
void set_destination(const MACAddress& address) { m_destination = address; }