1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 22:35:09 +00:00
serenity/Kernel/Net
Andreas Kling 8cfb859368 IPv4: Support overriding the default TTL (64)
Made getsockopt() and setsockopt() virtual so we can handle them in the
various Socket subclasses. The subclasses map kinda nicely to "levels".

This will allow us to implement things like "traceroute", although..
I spent some time trying to do that, but then hit a wall when it turned
out that the user-mode networking in QEMU doesn't preserve TTL in the
ICMP packets passing through.
2019-09-19 21:42:59 +02:00
..
ARP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
E1000NetworkAdapter.cpp Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
E1000NetworkAdapter.h Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
EthernetFrameHeader.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
EtherType.h Kernel: Ignore IPv6 packets; log unknown Ethernet payload types 2019-08-29 06:25:06 +02:00
ICMP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
IPv4.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
IPv4Socket.cpp IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
IPv4Socket.h IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
IPv4SocketTuple.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
LocalSocket.cpp LocalSocket: Make recvfrom() return 0 to signal EOF when peer is gone 2019-08-17 11:04:45 +02:00
LocalSocket.h Kernel: Customize absolute_path() for more file types 2019-08-11 16:30:43 +02:00
LoopbackAdapter.cpp Kernel: Remove IP configuration from LoopbackAdapter 2019-08-29 06:25:06 +02:00
LoopbackAdapter.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
MACAddress.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
NetworkAdapter.cpp IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
NetworkAdapter.h IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
NetworkTask.cpp IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
NetworkTask.h Kernel: Move networking related files into Kernel/Net/. 2019-04-02 19:54:38 +02:00
Routing.cpp Kernel: Implement is_zero for RoutingDecision 2019-08-29 06:25:06 +02:00
Routing.h Kernel: Implement is_zero for RoutingDecision 2019-08-29 06:25:06 +02:00
RTL8139NetworkAdapter.cpp RTL8139: Fix bogus (but harmless) TX buffer index in send_raw() 2019-09-09 08:51:08 +02:00
RTL8139NetworkAdapter.h Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
Socket.cpp Kernel: Customize absolute_path() for more file types 2019-08-11 16:30:43 +02:00
Socket.h IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
TCP.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
TCPSocket.cpp IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
TCPSocket.h Kernel: Use a WeakPtr instead of a RefPtr for TCP socket originator 2019-09-08 12:34:20 +02:00
UDP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
UDPSocket.cpp IPv4: Support overriding the default TTL (64) 2019-09-19 21:42:59 +02:00
UDPSocket.h Kernel: Move socket role tracking to the Socket class itself 2019-08-11 16:30:43 +02:00