ladybird/Kernel/Net
Conrad Pankoff 7ed54d86d5 Kernel: Record network statistics and expose as JSON
This is comprised of five small changes:

* Keep a counter for tx/rx packets/bytes per TCP socket
* Keep a counter for tx/rx packets/bytes per network adapter
* Expose that data in /proc/net_tcp and /proc/netadapters
* Convert /proc/netadapters to JSON
* Fix up ifconfig to read the JSON from netadapters
2019-08-08 06:44:49 +02:00
..
ARP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
E1000NetworkAdapter.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
E1000NetworkAdapter.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
EthernetFrameHeader.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
EtherType.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
ICMP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
IPv4.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
IPv4Socket.cpp Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
IPv4Socket.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
IPv4SocketTuple.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
LocalSocket.cpp Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
LocalSocket.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
LoopbackAdapter.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
LoopbackAdapter.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
MACAddress.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
NetworkAdapter.cpp Kernel: Record network statistics and expose as JSON 2019-08-08 06:44:49 +02:00
NetworkAdapter.h Kernel: Record network statistics and expose as JSON 2019-08-08 06:44:49 +02:00
NetworkTask.cpp Kernel: Record network statistics and expose as JSON 2019-08-08 06:44:49 +02:00
NetworkTask.h Kernel: Move networking related files into Kernel/Net/. 2019-04-02 19:54:38 +02:00
Routing.cpp Kernel: Run clang-format on everything. 2019-06-07 11:43:58 +02:00
Routing.h Kernel: Move networking related files into Kernel/Net/. 2019-04-02 19:54:38 +02:00
Socket.cpp Net: Let Socket have read/write wrappers around sendto/recvfrom 2019-08-05 10:03:19 +02:00
Socket.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
TCP.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
TCPSocket.cpp Kernel: Record network statistics and expose as JSON 2019-08-08 06:44:49 +02:00
TCPSocket.h Kernel: Record network statistics and expose as JSON 2019-08-08 06:44:49 +02:00
UDP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
UDPSocket.cpp IPv4: Remove an unnecessary copy of each outgoing IPv4 payload 2019-08-05 10:43:22 +02:00
UDPSocket.h IPv4: Use KBuffer instead of ByteBuffer for socket receive queues 2019-08-04 21:09:38 +02:00