Lines Matching refs:NetlinkEvent
53 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()
91 } else if (action == NetlinkEvent::Action::kRdnss) { in onEvent()
97 } else if (action == NetlinkEvent::Action::kRouteUpdated || in onEvent()
98 action == NetlinkEvent::Action::kRouteRemoved) { in onEvent()
184 void NetlinkHandler::notifyAddressChanged(NetlinkEvent::Action action, const char *addr, in notifyAddressChanged()
189 (action == NetlinkEvent::Action::kAddressUpdated) ? kUpdated : kRemoved, in notifyAddressChanged()
200 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route, in notifyRouteChange()
204 (action == NetlinkEvent::Action::kRouteUpdated) ? kUpdated : kRemoved, in notifyRouteChange()