Lines Matching refs:NetlinkEvent
54 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()
103 } else if (action == NetlinkEvent::Action::kRdnss) { in onEvent()
109 } else if (action == NetlinkEvent::Action::kRouteUpdated || in onEvent()
110 action == NetlinkEvent::Action::kRouteRemoved) { in onEvent()
196 void NetlinkHandler::notifyAddressChanged(NetlinkEvent::Action action, const char *addr, in notifyAddressChanged()
201 (action == NetlinkEvent::Action::kAddressUpdated) ? kUpdated : kRemoved, in notifyAddressChanged()
212 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route, in notifyRouteChange()
216 (action == NetlinkEvent::Action::kRouteUpdated) ? kUpdated : kRemoved, in notifyRouteChange()