From 1d504eeb50d980c222572629383bb76315f32ca0 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Sun, 9 Jan 2011 12:22:57 -0800 Subject: Revert "Add NETLINK_ROUTE processing to the netlink client code, so that Ethernet" This reverts commit 8418ac8ba59bd140b5a2432c99501cc79debdefc. --- include/sysutils/NetlinkEvent.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/sysutils/NetlinkEvent.h') diff --git a/include/sysutils/NetlinkEvent.h b/include/sysutils/NetlinkEvent.h index 1ee9849..b329b09 100644 --- a/include/sysutils/NetlinkEvent.h +++ b/include/sysutils/NetlinkEvent.h @@ -30,23 +30,17 @@ public: const static int NlActionAdd; const static int NlActionRemove; const static int NlActionChange; - const static int NlActionLinkDown; - const static int NlActionLinkUp; NetlinkEvent(); virtual ~NetlinkEvent(); - bool decode(char *buffer, int size, int format); + bool decode(char *buffer, int size); const char *findParam(const char *paramName); const char *getSubsystem() { return mSubsystem; } int getAction() { return mAction; } void dump(); - - protected: - bool parseBinaryNetlinkMessage(char *buffer, int size); - bool parseAsciiNetlinkMessage(char *buffer, int size); }; #endif -- cgit v1.1