/system/netd/server/ |
D | NetlinkHandler.cpp | 62 const char *iface = evt->findParam("INTERFACE"); in onEvent() local 65 notifyInterfaceAdded(iface); in onEvent() 67 notifyInterfaceRemoved(iface); in onEvent() 72 notifyInterfaceLinkChanged(iface, true); in onEvent() 74 notifyInterfaceLinkChanged(iface, false); in onEvent() 80 if (action == evt->NlActionAddressRemoved && iface && address) { in onEvent() 83 if (int ret = ifc_reset_connections(iface, resetMask)) { in onEvent() 84 ALOGE("ifc_reset_connections failed on iface %s for address %s (%s)", iface, in onEvent() 88 if (iface && flags && scope) { in onEvent() 89 notifyAddressChanged(action, address, iface, flags, scope); in onEvent() [all …]
|
D | IdletimerController.cpp | 189 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer() argument 195 if (!isIfaceName(iface)) { in modifyInterfaceIdletimer() 209 iface, in modifyInterfaceIdletimer() 231 iface, in modifyInterfaceIdletimer() 246 int IdletimerController::addInterfaceIdletimer(const char *iface, in addInterfaceIdletimer() argument 249 return modifyInterfaceIdletimer(IptOpAdd, iface, timeout, classLabel); in addInterfaceIdletimer() 252 int IdletimerController::removeInterfaceIdletimer(const char *iface, in removeInterfaceIdletimer() argument 255 return modifyInterfaceIdletimer(IptOpDelete, iface, timeout, classLabel); in removeInterfaceIdletimer()
|
D | NetlinkHandler.h | 41 void notifyQuotaLimitReached(const char *name, const char *iface); 44 void notifyAddressChanged(int action, const char *addr, const char *iface, 46 void notifyInterfaceDnsServers(const char *iface, const char *lifetime, 48 void notifyRouteChange(int action, const char *route, const char *gateway, const char *iface);
|
D | IdletimerController.h | 27 int addInterfaceIdletimer(const char *iface, uint32_t timeout, 29 int removeInterfaceIdletimer(const char *iface, uint32_t timeout, 40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
|
D | BandwidthController.h | 59 int setInterfaceSharedQuota(const char *iface, int64_t bytes); 61 int removeInterfaceSharedQuota(const char *iface); 63 int setInterfaceQuota(const char *iface, int64_t bytes); 64 int getInterfaceQuota(const char *iface, int64_t *bytes); 65 int removeInterfaceQuota(const char *iface); 82 int setInterfaceAlert(const char *iface, int64_t bytes); 83 int removeInterfaceAlert(const char *iface);
|
D | BandwidthController.cpp | 596 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { in setInterfaceSharedQuota() argument 610 if (!isIfaceName(iface)) in setInterfaceSharedQuota() 612 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in setInterfaceSharedQuota() 665 int BandwidthController::removeInterfaceSharedQuota(const char *iface) { in removeInterfaceSharedQuota() argument 672 if (!isIfaceName(iface)) in removeInterfaceSharedQuota() 674 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in removeInterfaceSharedQuota() 705 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { in setInterfaceQuota() argument 713 if (!isIfaceName(iface)) in setInterfaceQuota() 722 return removeInterfaceQuota(iface); in setInterfaceQuota() 725 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in setInterfaceQuota() [all …]
|
D | FirewallController.cpp | 71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule() argument 72 if (!isIfaceName(iface)) { in setInterfaceRule() 85 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL); in setInterfaceRule() 86 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL); in setInterfaceRule()
|
D | MDnsSdListener.h | 113 void discover(SocketClient *cli, const char *iface, const char *regType, 130 int ifaceNameToI(const char *iface);
|
D | MDnsSdListener.cpp | 60 const char *iface, in discover() argument 66 ALOGD("discover(%s, %s, %s, %d, %d)", iface, regType, domain, requestId, in discover() 79 int interfaceInt = ifaceNameToI(iface); in discover()
|
D | CommandListener.cpp | 1279 const char* iface = argv[2]; in runCommand() local 1282 int res = sFirewallCtrl->setInterfaceRule(iface, rule); in runCommand()
|
/system/core/adb/ |
D | usb_osx.c | 56 static usb_handle* CheckInterface(IOUSBInterfaceInterface **iface, 124 IOUSBInterfaceInterface220 **iface = NULL; in AndroidInterfaceAdded() local 151 &iface); in AndroidInterfaceAdded() 154 if (result || !iface) { in AndroidInterfaceAdded() 163 kr = (*iface)->GetDevice(iface, &usbDevice); in AndroidInterfaceAdded() 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, in AndroidInterfaceAdded() 262 (*iface)->Release(iface); in AndroidInterfaceAdded()
|