From 9c29f9eabbe0fd2bb8bbcba4b1ad7cbc099e4425 Mon Sep 17 00:00:00 2001 From: Markus Brueffer Date: Sat, 22 Jan 2005 01:39:05 +0000 Subject: Add knemo 0.3.1, a network monitor for KDE. KNemo offers a network monitor similar to the one found in Windows. For every network interface it displays an icon in the systray. http://www.kde-apps.org/content/show.php?content=12956 Note: There are two extensions to the original KNemo: 1. Multiple IPs on devices are supported 2. The semantics of not available devices were changed from: "device is not up" to: "device is not up" or "device is up but has no carrier/is not associated" which mimics the behaviour of the Windows counterpart more closely Bugs: The stats page for wireless specific statistics doesn't work, yet --- net/knemo/files/patch-knemod-data.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 net/knemo/files/patch-knemod-data.h (limited to 'net/knemo/files/patch-knemod-data.h') diff --git a/net/knemo/files/patch-knemod-data.h b/net/knemo/files/patch-knemod-data.h new file mode 100644 index 000000000000..c45f8b191029 --- /dev/null +++ b/net/knemo/files/patch-knemod-data.h @@ -0,0 +1,35 @@ +--- knemod/data.h.orig Sat Jan 22 00:10:05 2005 ++++ knemod/data.h Fri Jan 21 17:38:50 2005 +@@ -22,6 +22,7 @@ + + #include + #include ++#include + #include + #include + +@@ -41,6 +42,11 @@ + int toolTipContent; + }; + ++struct AddrData { ++ QString subnetMask; ++ QString broadcastAddress; ++}; ++ + struct InterfaceData + { + InterfaceData::InterfaceData() +@@ -64,11 +70,9 @@ + unsigned long prevTxBytes; + unsigned long incomingBytes; + unsigned long outgoingBytes; +- QString ipAddress; +- QString subnetMask; ++ QDict addrData; + QString hwAddress; + QString ptpAddress; +- QString broadcastAddress; + QString defaultGateway; + QString rxString; + QString txString; -- cgit v1.2.3