summaryrefslogtreecommitdiff
path: root/Kernel/Net/NetworkAdapter.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-27 23:20:24 +0300
committerAndreas Kling <kling@serenityos.org>2021-10-28 11:24:36 +0200
commitadc9939a7b9afccb4dbbda7f53d569fe38bfb391 (patch)
tree9710bfd9b91f328c4a15b34d3b90dc9766950130 /Kernel/Net/NetworkAdapter.h
parent20c7fcfedf9866f9a6a091a809014ec7a48d9932 (diff)
downloadserenity-adc9939a7b9afccb4dbbda7f53d569fe38bfb391.zip
Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt
Diffstat (limited to 'Kernel/Net/NetworkAdapter.h')
-rw-r--r--Kernel/Net/NetworkAdapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkAdapter.h b/Kernel/Net/NetworkAdapter.h
index b793ef2cd8..0c69b6230f 100644
--- a/Kernel/Net/NetworkAdapter.h
+++ b/Kernel/Net/NetworkAdapter.h
@@ -69,7 +69,7 @@ public:
void set_ipv4_gateway(const IPv4Address&);
void send(const MACAddress&, const ARPPacket&);
- void fill_in_ipv4_header(PacketWithTimestamp&, IPv4Address const&, MACAddress const&, IPv4Address const&, IPv4Protocol, size_t, u8);
+ void fill_in_ipv4_header(PacketWithTimestamp&, IPv4Address const&, MACAddress const&, IPv4Address const&, IPv4Protocol, size_t, u8 type_of_service, u8 ttl);
size_t dequeue_packet(u8* buffer, size_t buffer_size, Time& packet_timestamp);