Lines Matching refs:NetlinkEvent
100 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()
133 } else if (action == NetlinkEvent::Action::kAddressUpdated || in onEvent()
134 action == NetlinkEvent::Action::kAddressRemoved) { in onEvent()
150 const bool addrUpdated = (action == NetlinkEvent::Action::kAddressUpdated); in onEvent()
175 } else if (action == NetlinkEvent::Action::kRdnss) { in onEvent()
182 } else if (action == NetlinkEvent::Action::kRouteUpdated || in onEvent()
183 action == NetlinkEvent::Action::kRouteRemoved) { in onEvent()
188 notifyRouteChange((action == NetlinkEvent::Action::kRouteUpdated) ? true : false, in onEvent()