Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace.
This commit is contained in:
parent
649c81a714
commit
17e02e7450
Notes:
sideshowbarker
2024-07-19 14:51:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/17e02e7450a
9 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <Kernel/Net/MACAddress.h>
|
||||
#include <Kernel/NetworkOrdered.h>
|
||||
#include <AK/NetworkOrdered.h>
|
||||
|
||||
class [[gnu::packed]] EthernetFrameHeader {
|
||||
public:
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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" {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <LibGUI/GIODevice.h>
|
||||
#include <AK/AKString.h>
|
||||
#include <Kernel/IPv4.h>
|
||||
#include <Kernel/Net/IPv4.h>
|
||||
|
||||
class GSocketAddress {
|
||||
public:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/NetworkOrdered.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/NetworkOrdered.h>
|
||||
|
||||
class [[gnu::packed]] DNSPacket {
|
||||
public:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/NetworkOrdered.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/NetworkOrdered.h>
|
||||
|
||||
class [[gnu::packed]] DNSRecord {
|
||||
public:
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue