1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

ProcFS: Expose UDP sockets in /proc/net/udp

This commit is contained in:
Sergey Bugaev 2019-08-09 13:27:40 +03:00 committed by Andreas Kling
parent d06f4291a8
commit be485946b8
3 changed files with 29 additions and 0 deletions

View file

@ -8,6 +8,7 @@ public:
virtual ~UDPSocket() override;
static SocketHandle<UDPSocket> from_port(u16);
static void for_each(Function<void(UDPSocket&)>);
private:
explicit UDPSocket(int protocol);