/system/netd/server/ |
H A 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,
|
H A D | NetlinkHandler.cpp | 62 const char *iface = evt->findParam("INTERFACE"); local 65 notifyInterfaceAdded(iface); 67 notifyInterfaceRemoved(iface); 72 notifyInterfaceLinkChanged(iface, true); 74 notifyInterfaceLinkChanged(iface, false); 80 if (action == evt->NlActionAddressRemoved && iface && address) { 83 if (int ret = ifc_reset_connections(iface, resetMask)) { 84 ALOGE("ifc_reset_connections failed on iface %s for address %s (%s)", iface, 88 if (iface 101 const char *iface = evt->findParam("INTERFACE"); local 109 const char *iface = evt->findParam("INTERFACE"); local 158 notifyQuotaLimitReached(const char *name, const char *iface) argument 172 notifyAddressChanged(int action, const char *addr, const char *iface, const char *flags, const char *scope) argument 181 notifyInterfaceDnsServers(const char *iface, const char *lifetime, const char *servers) argument 188 notifyRouteChange(int action, const char *route, const char *gateway, const char *iface) argument [all...] |
H A 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);
|
H A D | IdletimerController.cpp | 53 * ndc idletimer add <iface> <timeout> <class label> 54 * ndc idletimer remove <iface> <timeout> <class label> 84 * Note that currently if the name of the iface is incorrect, iptables 189 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, argument 195 if (!isIfaceName(iface)) { 209 iface, 231 iface, 246 int IdletimerController::addInterfaceIdletimer(const char *iface, argument 249 return modifyInterfaceIdletimer(IptOpAdd, iface, timeout, classLabel); 252 int IdletimerController::removeInterfaceIdletimer(const char *iface, argument [all...] |
H A 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);
|
H A D | FirewallController.cpp | 71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { argument 72 if (!isIfaceName(iface)) { 85 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL); 86 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL);
|
H A D | BandwidthController.cpp | 88 * . adding a new iface to this, E.g.: 116 * Should normally include bw_costly_<iface>, but we rely on the way they are setup 231 /* Flush and remove the bw_costly_<iface> tables */ 521 * Flush the bw_costly_<iface> is allowed to fail in case it didn't exist. 596 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument 610 if (!isIfaceName(iface)) 612 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { 665 int BandwidthController::removeInterfaceSharedQuota(const char *iface) { argument 672 if (!isIfaceName(iface)) 674 if (StrncpyAndCheck(ifn, iface, sizeo 705 setInterfaceQuota(const char *iface, int64_t maxBytes) argument 801 removeInterfaceQuota(const char *iface) argument 1016 setInterfaceAlert(const char *iface, int64_t bytes) argument 1041 removeInterfaceAlert(const char *iface) argument [all...] |
H A D | MDnsSdListener.h | 113 void discover(SocketClient *cli, const char *iface, const char *regType, 130 int ifaceNameToI(const char *iface);
|
H A D | MDnsSdListener.cpp | 60 const char *iface, 66 ALOGD("discover(%s, %s, %s, %d, %d)", iface, regType, domain, requestId, 79 int interfaceInt = ifaceNameToI(iface); 377 int MDnsSdListener::Handler::ifaceNameToI(const char * /* iface */) { 59 discover(SocketClient *cli, const char *iface, const char *regType, const char *domain, const int requestId, const int requestFlags) argument
|
H A D | CommandListener.cpp | 339 // arglist: iface [addr prefixLength] flags 344 ALOGD("Setting iface cfg"); 409 // arglist: iface 914 sendGenericSyntaxError(cli, "getiquota <iface>"); 1279 const char* iface = argv[2]; local 1282 int res = sFirewallCtrl->setInterfaceRule(iface, rule);
|
/system/core/adb/ |
H A D | usb_osx.c | 56 static usb_handle* CheckInterface(IOUSBInterfaceInterface **iface, 124 IOUSBInterfaceInterface220 **iface = NULL; local 151 &iface); 154 if (result || !iface) { 163 kr = (*iface)->GetDevice(iface, &usbDevice); 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, 262 (*iface)->Release(iface);
|