1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 14:01:00 +00:00
serenity/Kernel/Net
asynts fff581cd72 AK: Rename span() to bytes() when appropriate.
I originally defined the bytes() method for the String class, because it
made it obvious that it's a span of bytes instead of span of characters.

This commit makes this more consistent by defining a bytes() method when
the type of the span is known to be u8.

Additionaly, the cast operator to Bytes is overloaded for ByteBuffer and
such.
2020-08-15 21:21:18 +02:00
..
ARP.h
E1000NetworkAdapter.cpp Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
E1000NetworkAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
EthernetFrameHeader.h
EtherType.h
ICMP.h
IPv4.h Net: Fix IPv4 fragmentation not working for larger payloads 2020-07-28 20:33:24 +02:00
IPv4Socket.cpp Kernel: Use Userspace<T> for the bind syscall, and implementation 2020-08-10 12:52:15 +02:00
IPv4Socket.h Kernel: Use Userspace<T> for the bind syscall, and implementation 2020-08-10 12:52:15 +02:00
IPv4SocketTuple.h
LocalSocket.cpp Kernel: Use Userspace<T> for the bind syscall, and implementation 2020-08-10 12:52:15 +02:00
LocalSocket.h Kernel: Use Userspace<T> for the bind syscall, and implementation 2020-08-10 12:52:15 +02:00
LoopbackAdapter.cpp Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
LoopbackAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
NetworkAdapter.cpp Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
NetworkAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
NetworkTask.cpp AK: Rename span() to bytes() when appropriate. 2020-08-15 21:21:18 +02:00
NetworkTask.h
Routing.cpp Kernel: Turn Thread::current and Process::current into functions 2020-07-01 12:07:01 +02:00
Routing.h
RTL8139NetworkAdapter.cpp Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
RTL8139NetworkAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
Socket.cpp Kernel: PID/TID typing 2020-08-10 11:51:45 +02:00
Socket.h Kernel: Use Userspace<T> for the bind syscall, and implementation 2020-08-10 12:52:15 +02:00
TCP.h
TCPSocket.cpp AK: Rename span() to bytes() when appropriate. 2020-08-15 21:21:18 +02:00
TCPSocket.h Kernel: Make File::write() and File::read() return KResultOr<size_t> 2020-08-04 18:17:16 +02:00
UDP.h
UDPSocket.cpp AK: Rename span() to bytes() when appropriate. 2020-08-15 21:21:18 +02:00
UDPSocket.h Kernel: Make File::write() and File::read() return KResultOr<size_t> 2020-08-04 18:17:16 +02:00