diff options
Diffstat (limited to 'Kernel/Net')
-rw-r--r-- | Kernel/Net/IPv4Socket.h | 2 | ||||
-rw-r--r-- | Kernel/Net/LocalSocket.h | 2 | ||||
-rw-r--r-- | Kernel/Net/LoopbackAdapter.h | 2 | ||||
-rw-r--r-- | Kernel/Net/Socket.h | 2 | ||||
-rw-r--r-- | Kernel/Net/TCPSocket.h | 2 | ||||
-rw-r--r-- | Kernel/Net/UDPSocket.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/Net/IPv4Socket.h b/Kernel/Net/IPv4Socket.h index 97b8e65e23..cbea9aad24 100644 --- a/Kernel/Net/IPv4Socket.h +++ b/Kernel/Net/IPv4Socket.h @@ -73,7 +73,7 @@ public: protected: IPv4Socket(int type, int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, OwnPtr<KBuffer> optional_scratch_buffer); - virtual StringView class_name() const override { return "IPv4Socket"; } + virtual StringView class_name() const override { return "IPv4Socket"sv; } PortAllocationResult allocate_local_port_if_needed(); diff --git a/Kernel/Net/LocalSocket.h b/Kernel/Net/LocalSocket.h index 00e8a4b4ff..49279ee6e8 100644 --- a/Kernel/Net/LocalSocket.h +++ b/Kernel/Net/LocalSocket.h @@ -53,7 +53,7 @@ public: private: explicit LocalSocket(int type, NonnullOwnPtr<DoubleBuffer> client_buffer, NonnullOwnPtr<DoubleBuffer> server_buffer); - virtual StringView class_name() const override { return "LocalSocket"; } + virtual StringView class_name() const override { return "LocalSocket"sv; } virtual bool is_local() const override { return true; } bool has_attached_peer(const OpenFileDescription&) const; DoubleBuffer* receive_buffer_for(OpenFileDescription&); diff --git a/Kernel/Net/LoopbackAdapter.h b/Kernel/Net/LoopbackAdapter.h index 62d6770f93..b4352fc3f9 100644 --- a/Kernel/Net/LoopbackAdapter.h +++ b/Kernel/Net/LoopbackAdapter.h @@ -21,7 +21,7 @@ public: virtual ~LoopbackAdapter() override; virtual void send_raw(ReadonlyBytes) override; - virtual StringView class_name() const override { return "LoopbackAdapter"; } + virtual StringView class_name() const override { return "LoopbackAdapter"sv; } virtual bool link_up() override { return true; } virtual bool link_full_duplex() override { return true; } virtual int link_speed() override { return 1000; } diff --git a/Kernel/Net/Socket.h b/Kernel/Net/Socket.h index 24556ade88..ef67cd6bd8 100644 --- a/Kernel/Net/Socket.h +++ b/Kernel/Net/Socket.h @@ -123,7 +123,7 @@ protected: size_t backlog() const { return m_backlog; } void set_backlog(size_t backlog) { m_backlog = backlog; } - virtual StringView class_name() const override { return "Socket"; } + virtual StringView class_name() const override { return "Socket"sv; } virtual void shut_down_for_reading() { } virtual void shut_down_for_writing() { } diff --git a/Kernel/Net/TCPSocket.h b/Kernel/Net/TCPSocket.h index b5c812aeea..2dcc877464 100644 --- a/Kernel/Net/TCPSocket.h +++ b/Kernel/Net/TCPSocket.h @@ -166,7 +166,7 @@ protected: private: explicit TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, NonnullOwnPtr<KBuffer> scratch_buffer); - virtual StringView class_name() const override { return "TCPSocket"; } + virtual StringView class_name() const override { return "TCPSocket"sv; } virtual void shut_down_for_writing() override; diff --git a/Kernel/Net/UDPSocket.h b/Kernel/Net/UDPSocket.h index 07a93c2777..c387ac536b 100644 --- a/Kernel/Net/UDPSocket.h +++ b/Kernel/Net/UDPSocket.h @@ -22,7 +22,7 @@ public: private: explicit UDPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer); - virtual StringView class_name() const override { return "UDPSocket"; } + virtual StringView class_name() const override { return "UDPSocket"sv; } static MutexProtected<HashMap<u16, UDPSocket*>>& sockets_by_port(); virtual KResultOr<size_t> protocol_receive(ReadonlyBytes raw_ipv4_packet, UserOrKernelBuffer& buffer, size_t buffer_size, int flags) override; |