summaryrefslogtreecommitdiff
path: root/Kernel/Net/UDPSocket.cpp
AgeCommit message (Expand)Author
2021-10-28Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockoptIdan Horowitz
2021-09-07Kernel/Net: Add a special SOCKET_TRY() and use it in socket codeAndreas Kling
2021-09-07Kernel: Rename FileDescription => OpenFileDescriptionAndreas Kling
2021-09-07Kernel: Make UserOrKernelBuffer return KResult from read/write/memsetAndreas Kling
2021-09-04Kernel: Tidy up UDPSocket creation a bitAndreas Kling
2021-08-29Kernel: Add Socket::set_role() and use it everywhereAndreas Kling
2021-08-22Kernel: Rename ProtectedValue<T> => MutexProtected<T>Andreas Kling
2021-08-10Kernel: Add so_error to keep track of the socket's error statebrapru
2021-08-08Everywhere: Replace AK::Singleton => SingletonAndreas Kling
2021-08-07Kernel: Migrate UDP socket table locking to ProtectedValueJean-Baptiste Boric
2021-08-07Kernel: Move Lockable into its own headerJean-Baptiste Boric
2021-08-03Kernel: Handle OOM when allocating Packet KBuffersBrian Gianforcaro
2021-08-03Kernel: Handle OOM when allocating IPv4Socket optional scratch bufferBrian Gianforcaro
2021-08-03Kernel: Handle OOM from DoubleBuffer usage in IPv4SocketBrian Gianforcaro
2021-07-18Kernel: Rename Locker => MutexLockerAndreas Kling
2021-07-17Kernel: Rename Lock to MutexAndreas Kling
2021-06-24Everywhere: Use nothrow new with `adopt_{ref,own}_if_nonnull`Daniel Bertalan
2021-06-04Kernel: Make sure we increment the TX counterGunnar Beutner
2021-05-26Kernel: Avoid allocations when sending IP packetsGunnar Beutner
2021-05-19Kernel: static vs non-static constexpr variablesLenny Maiorani
2021-05-13Kernel: Make UDPSocket::create() API OOM safeBrian Gianforcaro
2021-05-12Kernel: Outbound packets should use the source address from the socketGunnar Beutner
2021-05-06Kernel: Truncate UDP packets on readGunnar Beutner
2021-04-30Kernel/IPv4: Propagate errors from local port allocationAndreas Kling
2021-04-25Kernel: Remove the now defunct `LOCKER(..)` macro.Brian Gianforcaro
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-02-12Kernel: Don't use a VLA for outgoing UDP packetsAndreas Kling
2021-01-31Kernel: Use KResult a bit more in the IPv4 networking codeAndreas Kling
2021-01-20Kernel+LibC: Turn errno codes into a strongly typed enumAndreas Kling
2020-12-21Everywhere: Switch from (void) to [[maybe_unused]] (#4473)Lenny Maiorani
2020-12-18Kernel/Net: Avoid a heap allocation for every outgoing UDP packetAndreas Kling
2020-12-18Kernel/Net: Make IPv4Socket::protocol_receive() take a ReadonlyBytesAndreas Kling
2020-09-13Kernel: Make copy_to/from_user safe and remove unnecessary checksTom
2020-08-25Kernel: Switch singletons to use new Singleton classTom
2020-08-22Revert "Kernel: Switch singletons to use new Singleton class"Andreas Kling
2020-08-22Revert "Kernel: Move Singleton class to AK"Andreas Kling
2020-08-22Revert "AK: Get rid of make_singleton function"Andreas Kling
2020-08-22AK: Get rid of make_singleton functionTom
2020-08-22Kernel: Move Singleton class to AKTom
2020-08-21Kernel: Switch singletons to use new Singleton classTom
2020-08-15AK: Rename span() to bytes() when appropriate.asynts
2020-08-04Kernel: Make File::write() and File::read() return KResultOr<size_t>Andreas Kling
2020-07-28Kernel: Use AK::Span a bunch in the network adapter codeAndreas Kling
2020-04-18Kernel: Use shared locking mode in some placesSergey Bugaev
2020-04-05Kernel: Add the SO_BINDTODEVICE socket optionAnotherTest
2020-03-02Kernel: Use klog() instead of kprintf()Liav A
2020-02-16Kernel: Move all code into the Kernel namespaceAndreas Kling
2020-01-29Kernel: Make IPv4Socket::protocol_send() use a size_t for buffer sizeAndreas Kling