Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkHandler.cpp53 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
61 NetlinkEvent::Action action = evt->getAction(); in onEvent()
64 if (action == NetlinkEvent::Action::kAdd) { in onEvent()
66 } else if (action == NetlinkEvent::Action::kRemove) { in onEvent()
68 } else if (action == NetlinkEvent::Action::kChange) { in onEvent()
71 } else if (action == NetlinkEvent::Action::kLinkUp) { in onEvent()
73 } else if (action == NetlinkEvent::Action::kLinkDown) { in onEvent()
75 } else if (action == NetlinkEvent::Action::kAddressUpdated || in onEvent()
76 action == NetlinkEvent::Action::kAddressRemoved) { in onEvent()
80 if (action == NetlinkEvent::Action::kAddressRemoved && iface && address) { in onEvent()
[all …]
DNetlinkHandler.h35 virtual void onEvent(NetlinkEvent *evt);
45 void notifyAddressChanged(NetlinkEvent::Action action, const char *addr, const char *iface,
49 …void notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const …
/system/core/libsysutils/src/
DNetlinkEvent.cpp50 NetlinkEvent::NetlinkEvent() { in NetlinkEvent() function in NetlinkEvent
57 NetlinkEvent::~NetlinkEvent() { in ~NetlinkEvent()
70 void NetlinkEvent::dump() { in dump()
130 bool NetlinkEvent::parseIfInfoMessage(const struct nlmsghdr *nh) { in parseIfInfoMessage()
158 bool NetlinkEvent::parseIfAddrMessage(const struct nlmsghdr *nh) { in parseIfAddrMessage()
257 bool NetlinkEvent::parseUlogPacketMessage(const struct nlmsghdr *nh) { in parseUlogPacketMessage()
274 bool NetlinkEvent::parseNfPacketMessage(struct nlmsghdr *nh) { in parseNfPacketMessage()
309 bool NetlinkEvent::parseRtMessage(const struct nlmsghdr *nh) { in parseRtMessage()
401 bool NetlinkEvent::parseNdUserOptMessage(const struct nlmsghdr *nh) { in parseNdUserOptMessage()
518 bool NetlinkEvent::parseBinaryNetlinkMessage(char *buffer, int size) { in parseBinaryNetlinkMessage()
[all …]
DNetlinkListener.cpp64 NetlinkEvent *evt = new NetlinkEvent(); in onDataAvailable()
/system/core/include/sysutils/
DNetlinkEvent.h23 class NetlinkEvent {
47 NetlinkEvent();
48 virtual ~NetlinkEvent();
DNetlinkListener.h21 class NetlinkEvent; variable
46 virtual void onEvent(NetlinkEvent *evt) = 0;
/system/vold/
DNetlinkHandler.h32 virtual void onEvent(NetlinkEvent *evt);
DNetlinkHandler.cpp45 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
DVolumeManager.h95 void handleBlockEvent(NetlinkEvent *evt);
DVolumeManager.cpp277 void VolumeManager::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent()
296 case NetlinkEvent::Action::kAdd: { in handleBlockEvent()
317 case NetlinkEvent::Action::kChange: { in handleBlockEvent()
327 case NetlinkEvent::Action::kRemove: { in handleBlockEvent()
/system/core/libsysutils/
DAndroid.mk9 src/NetlinkEvent.cpp \