Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace.

This commit is contained in:
Andreas Kling 2019-04-02 20:04:54 +02:00
parent 649c81a714
commit 17e02e7450
9 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
#pragma once
#include <Kernel/Net/MACAddress.h>
#include <Kernel/NetworkOrdered.h>
#include <AK/NetworkOrdered.h>
class [[gnu::packed]] EthernetFrameHeader {
public:

View file

@ -2,8 +2,8 @@
#include <AK/AKString.h>
#include <AK/Assertions.h>
#include <AK/NetworkOrdered.h>
#include <AK/Types.h>
#include <Kernel/NetworkOrdered.h>
enum class IPv4Protocol : word {
ICMP = 1,

View file

@ -6,7 +6,7 @@
#include <unistd.h>
#include <AK/Assertions.h>
#include <AK/AKString.h>
#include <Kernel/IPv4.h>
#include <Kernel/Net/IPv4.h>
extern "C" {

View file

@ -2,7 +2,7 @@
#include <LibGUI/GIODevice.h>
#include <AK/AKString.h>
#include <Kernel/IPv4.h>
#include <Kernel/Net/IPv4.h>
class GSocketAddress {
public:

View file

@ -1,7 +1,7 @@
#pragma once
#include <AK/NetworkOrdered.h>
#include <AK/Types.h>
#include <Kernel/NetworkOrdered.h>
class [[gnu::packed]] DNSPacket {
public:

View file

@ -1,7 +1,7 @@
#pragma once
#include <AK/NetworkOrdered.h>
#include <AK/Types.h>
#include <Kernel/NetworkOrdered.h>
class [[gnu::packed]] DNSRecord {
public:

View file

@ -6,7 +6,7 @@
#include <netinet/in.h>
#include <unistd.h>
#include <unistd.h>
#include <Kernel/IPv4.h>
#include <Kernel/Net/IPv4.h>
#include <AK/AKString.h>
#include <AK/HashMap.h>
#include <AK/ByteBuffer.h>

View file

@ -1,5 +1,5 @@
#include <SharedGraphics/PNGLoader.h>
#include <Kernel/NetworkOrdered.h>
#include <AK/NetworkOrdered.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>