Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkHandler.cpp54 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
62 NetlinkEvent::Action action = evt->getAction(); in onEvent()
65 if (action == NetlinkEvent::Action::kAdd) { in onEvent()
67 } else if (action == NetlinkEvent::Action::kRemove) { in onEvent()
69 } else if (action == NetlinkEvent::Action::kChange) { in onEvent()
72 } else if (action == NetlinkEvent::Action::kLinkUp) { in onEvent()
74 } else if (action == NetlinkEvent::Action::kLinkDown) { in onEvent()
76 } else if (action == NetlinkEvent::Action::kAddressUpdated || in onEvent()
77 action == NetlinkEvent::Action::kAddressRemoved) { in onEvent()
81 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()
255 bool NetlinkEvent::parseUlogPacketMessage(const struct nlmsghdr *nh) { in parseUlogPacketMessage()
272 bool NetlinkEvent::parseNfPacketMessage(struct nlmsghdr *nh) { in parseNfPacketMessage()
307 bool NetlinkEvent::parseRtMessage(const struct nlmsghdr *nh) { in parseRtMessage()
399 bool NetlinkEvent::parseNdUserOptMessage(const struct nlmsghdr *nh) { in parseNdUserOptMessage()
516 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.cpp279 void VolumeManager::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent()
298 case NetlinkEvent::Action::kAdd: { in handleBlockEvent()
323 case NetlinkEvent::Action::kChange: { in handleBlockEvent()
333 case NetlinkEvent::Action::kRemove: { in handleBlockEvent()
/system/core/libsysutils/
DAndroid.mk9 src/NetlinkEvent.cpp \