mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt
This commit is contained in:
parent
20c7fcfedf
commit
adc9939a7b
9 changed files with 37 additions and 8 deletions
|
@ -63,6 +63,7 @@ public:
|
|||
|
||||
String absolute_path(const OpenFileDescription& description) const override;
|
||||
|
||||
u8 type_of_service() const { return m_type_of_service; }
|
||||
u8 ttl() const { return m_ttl; }
|
||||
|
||||
enum class BufferMode {
|
||||
|
@ -123,6 +124,7 @@ private:
|
|||
|
||||
u32 m_bytes_received { 0 };
|
||||
|
||||
u8 m_type_of_service { IPTOS_LOWDELAY };
|
||||
u8 m_ttl { 64 };
|
||||
|
||||
bool m_can_read { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue