ladybird/Kernel/Net
Andrew Kaster 7243bcb7da Kernel: Use static_ptr_cast to convert between Userspace<T*> types
Some calls of copy_to_user were converting Userspace<T*> to
Userspace<U*> via the implicit conversion to FlatPtr. Change them to use
the static_ptr_cast overload that is designed to express this conversion
2021-11-16 00:13:22 +01:00
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000ENetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000ENetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
EthernetFrameHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
IPv4.h Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
IPv4Socket.cpp Kernel: Use static_ptr_cast to convert between Userspace<T*> types 2021-11-16 00:13:22 +01:00
IPv4Socket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
IPv4SocketTuple.h Kernel: Make IPv4SocketTuple operator== by reference 2021-09-16 17:17:13 +02:00
LocalSocket.cpp Kernel: Use static_ptr_cast to convert between Userspace<T*> types 2021-11-16 00:13:22 +01:00
LocalSocket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
LoopbackAdapter.cpp Kernel: Convert network adapter names to Kernel::KString 2021-10-01 17:22:17 +00:00
LoopbackAdapter.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00
NE2000NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NE2000NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NetworkAdapter.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkAdapter.h Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkingManagement.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
NetworkingManagement.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
NetworkTask.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Improve names in the ARP table thread blocker 2021-09-05 01:10:56 +02:00
Routing.h Kernel: Convert Routing to east-const style 2021-09-03 23:18:50 +02:00
RTL8139NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8139NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8168NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8168NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
Socket.cpp AK: Make Vector::try_* functions return ErrorOr<void> 2021-11-10 21:58:58 +01:00
Socket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
TCP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
TCPSocket.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
TCPSocket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
UDPSocket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00