Andreas Kling
|
7d8e036e26
Kernel: Tidy up UDPSocket creation a bit
|
3 years ago |
Andreas Kling
|
a28cd921a1
Kernel: Add Socket::set_role() and use it everywhere
|
3 years ago |
Andreas Kling
|
c2fc33becd
Kernel: Rename ProtectedValue<T> => MutexProtected<T>
|
3 years ago |
brapru
|
0095c7cb7d
Kernel: Add so_error to keep track of the socket's error state
|
4 years ago |
Andreas Kling
|
c94c15d45c
Everywhere: Replace AK::Singleton => Singleton
|
4 years ago |
Jean-Baptiste Boric
|
9517100672
Kernel: Migrate UDP socket table locking to ProtectedValue
|
4 years ago |
Jean-Baptiste Boric
|
aea98a85d1
Kernel: Move Lockable into its own header
|
4 years ago |
Brian Gianforcaro
|
720a686a76
Kernel: Handle OOM when allocating Packet KBuffers
|
4 years ago |
Brian Gianforcaro
|
c1a0e379e6
Kernel: Handle OOM when allocating IPv4Socket optional scratch buffer
|
4 years ago |
Brian Gianforcaro
|
ca94a83337
Kernel: Handle OOM from DoubleBuffer usage in IPv4Socket
|
4 years ago |
Andreas Kling
|
9457d83986
Kernel: Rename Locker => MutexLocker
|
4 years ago |
Andreas Kling
|
cee9528168
Kernel: Rename Lock to Mutex
|
4 years ago |
Daniel Bertalan
|
f820917a76
Everywhere: Use nothrow new with `adopt_{ref,own}_if_nonnull`
|
4 years ago |
Gunnar Beutner
|
60298121d8
Kernel: Make sure we increment the TX counter
|
4 years ago |
Gunnar Beutner
|
b436dd138b
Kernel: Avoid allocations when sending IP packets
|
4 years ago |
Lenny Maiorani
|
5751327195
Kernel: static vs non-static constexpr variables
|
4 years ago |
Brian Gianforcaro
|
2e34714ba1
Kernel: Make UDPSocket::create() API OOM safe
|
4 years ago |
Gunnar Beutner
|
2b6aa571d1
Kernel: Outbound packets should use the source address from the socket
|
4 years ago |
Gunnar Beutner
|
9213d1e926
Kernel: Truncate UDP packets on read
|
4 years ago |
Andreas Kling
|
71a10eb8e7
Kernel/IPv4: Propagate errors from local port allocation
|
4 years ago |
Brian Gianforcaro
|
8d6e9fad40
Kernel: Remove the now defunct `LOCKER(..)` macro.
|
4 years ago |
Andreas Kling
|
b91c49364d
AK: Rename adopt() to adopt_ref()
|
4 years ago |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
4 years ago |
Andreas Kling
|
5d180d1f99
Everywhere: Rename ASSERT => VERIFY
|
4 years ago |
Andreas Kling
|
9ae02d4c92
Kernel: Don't use a VLA for outgoing UDP packets
|
4 years ago |
Andreas Kling
|
9984201634
Kernel: Use KResult a bit more in the IPv4 networking code
|
4 years ago |
Andreas Kling
|
19d3f8cab7
Kernel+LibC: Turn errno codes into a strongly typed enum
|
4 years ago |
Lenny Maiorani
|
765936ebae
Everywhere: Switch from (void) to [[maybe_unused]] (#4473)
|
4 years ago |
Andreas Kling
|
befabe31c9
Kernel/Net: Avoid a heap allocation for every outgoing UDP packet
|
4 years ago |
Andreas Kling
|
8cc81c2953
Kernel/Net: Make IPv4Socket::protocol_receive() take a ReadonlyBytes
|
4 years ago |