Home | History | Annotate | Download | only in server

Lines Matching defs:it

22  * If they ever were to allow it, then netd/ would need some tweaking.
70 * - when an interface is marked as costly it should be INSERTED into the INPUT/OUTPUT chains.
103 * E.g Adding an app, it has to preserve the appened bw_happy_box, so "-I":
413 std::list<int /*uid*/>::iterator it;
440 for (it = specialAppUids.begin(); it != specialAppUids.end(); it++) {
441 if (*it == uid)
444 bool found = (it != specialAppUids.end());
451 specialAppUids.erase(it);
514 /* The "-N costly" is created upfront, no need to handle it here. */
521 * Flush the bw_costly_<iface> is allowed to fail in case it didn't exist.
522 * Creating a new one is allowed to fail in case it existed.
586 /* The "-N bw_costly_shared" is created upfront, no need to handle it here. */
603 std::list<std::string>::iterator it;
606 /* Don't talk about -1, deprecate it. */
623 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) {
624 if (*it == ifaceName)
628 if (it == sharedQuotaIfaces.end()) {
664 /* It will also cleanup any shared alerts */
669 std::list<std::string>::iterator it;
680 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) {
681 if (*it == ifaceName)
684 if (it == sharedQuotaIfaces.end()) {
690 sharedQuotaIfaces.erase(it);
710 std::list<QuotaInfo>::iterator it;
717 /* Don't talk about -1, deprecate it. */
733 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) {
734 if (it->ifaceName == ifaceName)
738 if (it == quotaIfaces.end()) {
761 it->quota = maxBytes;
807 std::list<QuotaInfo>::iterator it;
818 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) {
819 if (it->ifaceName == ifaceName)
823 if (it == quotaIfaces.end()) {
831 quotaIfaces.erase(it);
1017 std::list<QuotaInfo>::iterator it;
1028 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) {
1029 if (it->ifaceName == iface)
1033 if (it == quotaIfaces.end()) {
1038 return setCostlyAlert(iface, bytes, &it->alert);
1042 std::list<QuotaInfo>::iterator it;
1049 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) {
1050 if (it->ifaceName == iface)
1054 if (it == quotaIfaces.end()) {
1059 return removeCostlyAlert(iface, &it->alert);
1128 * It results in an error if invoked and no tethering counter rules exist. The constraint
1222 /* It is always an error to find only one side of the stats. */
1223 /* It is an error to find nothing when not filtering. */