Lines Matching refs:Action
62 NetlinkEvent::Action action = evt->getAction();
65 if (action == NetlinkEvent::Action::kAdd) {
67 } else if (action == NetlinkEvent::Action::kRemove) {
69 } else if (action == NetlinkEvent::Action::kChange) {
72 } else if (action == NetlinkEvent::Action::kLinkUp) {
74 } else if (action == NetlinkEvent::Action::kLinkDown) {
76 } else if (action == NetlinkEvent::Action::kAddressUpdated ||
77 action == NetlinkEvent::Action::kAddressRemoved) {
81 if (action == NetlinkEvent::Action::kAddressRemoved && iface && address) {
101 notifyAddressChanged(action, address, iface, flags, scope);
103 } else if (action == NetlinkEvent::Action::kRdnss) {
109 } else if (action == NetlinkEvent::Action::kRouteUpdated ||
110 action == NetlinkEvent::Action::kRouteRemoved) {
115 notifyRouteChange(action, route, gateway, iface);
196 void NetlinkHandler::notifyAddressChanged(NetlinkEvent::Action action, const char *addr,
201 (action == NetlinkEvent::Action::kAddressUpdated) ? kUpdated : kRemoved,
212 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route,
216 (action == NetlinkEvent::Action::kRouteUpdated) ? kUpdated : kRemoved,