summaryrefslogtreecommitdiffstats
path: root/include/sysutils/NetlinkEvent.h
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2011-01-09 12:22:57 -0800
committerWink Saville <wink@google.com>2011-01-09 12:22:57 -0800
commit1d504eeb50d980c222572629383bb76315f32ca0 (patch)
treeddeb70bf6d5bdf41aadd5a6db4915f188907ecf6 /include/sysutils/NetlinkEvent.h
parent9315c4bed6783869463e580a19c5b82faf9c3964 (diff)
downloadsystem_core-1d504eeb50d980c222572629383bb76315f32ca0.zip
system_core-1d504eeb50d980c222572629383bb76315f32ca0.tar.gz
system_core-1d504eeb50d980c222572629383bb76315f32ca0.tar.bz2
Revert "Add NETLINK_ROUTE processing to the netlink client code, so that Ethernet"
This reverts commit 8418ac8ba59bd140b5a2432c99501cc79debdefc.
Diffstat (limited to 'include/sysutils/NetlinkEvent.h')
-rw-r--r--include/sysutils/NetlinkEvent.h8
1 files changed, 1 insertions, 7 deletions
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