Home
last modified time | relevance | path

Searched refs:NetlinkEvent (Results 1 – 11 of 11) sorted by relevance

/system/netd/server/
DNetlinkHandler.cpp100 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
108 NetlinkEvent::Action action = evt->getAction(); in onEvent()
110 if ((action == NetlinkEvent::Action::kAdd) || in onEvent()
111 (action == NetlinkEvent::Action::kLinkUp) || in onEvent()
112 (action == NetlinkEvent::Action::kLinkDown)) { in onEvent()
122 if (action == NetlinkEvent::Action::kAdd) { in onEvent()
124 } else if (action == NetlinkEvent::Action::kRemove) { in onEvent()
126 } else if (action == NetlinkEvent::Action::kChange) { in onEvent()
129 } else if (action == NetlinkEvent::Action::kLinkUp) { in onEvent()
131 } else if (action == NetlinkEvent::Action::kLinkDown) { in onEvent()
[all …]
DNetlinkHandler.h42 virtual void onEvent(NetlinkEvent *evt);
/system/core/libsysutils/include/sysutils/
DNetlinkEvent.h23 class NetlinkEvent {
47 NetlinkEvent();
48 virtual ~NetlinkEvent();
DNetlinkListener.h21 class NetlinkEvent; variable
46 virtual void onEvent(NetlinkEvent *evt) = 0;
/system/core/libsysutils/src/
DNetlinkEvent.cpp64 NetlinkEvent::NetlinkEvent() { in NetlinkEvent() function in NetlinkEvent
71 NetlinkEvent::~NetlinkEvent() { in ~NetlinkEvent()
84 void NetlinkEvent::dump() { in dump()
144 bool NetlinkEvent::parseIfInfoMessage(const struct nlmsghdr *nh) { in parseIfInfoMessage()
178 bool NetlinkEvent::parseIfAddrMessage(const struct nlmsghdr *nh) { in parseIfAddrMessage()
282 bool NetlinkEvent::parseUlogPacketMessage(const struct nlmsghdr *nh) { in parseUlogPacketMessage()
311 bool NetlinkEvent::parseNfPacketMessage(struct nlmsghdr *nh) { in parseNfPacketMessage()
347 bool NetlinkEvent::parseRtMessage(const struct nlmsghdr *nh) { in parseRtMessage()
439 bool NetlinkEvent::parseNdUserOptMessage(const struct nlmsghdr *nh) { in parseNdUserOptMessage()
560 bool NetlinkEvent::parseBinaryNetlinkMessage(char *buffer, int size) { in parseBinaryNetlinkMessage()
[all …]
DNetlinkListener.cpp64 NetlinkEvent *evt = new NetlinkEvent(); in onDataAvailable()
/system/vold/
DNetlinkHandler.h31 virtual void onEvent(NetlinkEvent* evt);
DNetlinkHandler.cpp40 void NetlinkHandler::onEvent(NetlinkEvent* evt) { in onEvent()
DVolumeManager.cpp193 void VolumeManager::handleBlockEvent(NetlinkEvent* evt) { in handleBlockEvent()
212 case NetlinkEvent::Action::kAdd: { in handleBlockEvent()
233 case NetlinkEvent::Action::kChange: { in handleBlockEvent()
238 case NetlinkEvent::Action::kRemove: { in handleBlockEvent()
DVolumeManager.h60 void handleBlockEvent(NetlinkEvent* evt);
/system/core/libsysutils/
DAndroid.bp12 "src/NetlinkEvent.cpp",