Home | History | Annotate | Download | only in netd

Lines Matching refs:iface

79  *    . adding a new iface to this, E.g.:
101 * Should normally include costly_<iface>, but we rely on the way they are setup
451 * Flush the costly_<iface> is allowed to fail in case it didn't exist.
526 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) {
541 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
594 int BandwidthController::removeInterfaceSharedQuota(const char *iface) {
601 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
612 ALOGE("No such iface %s to delete", ifn);
632 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) {
646 return removeInterfaceQuota(iface);
649 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
654 costName = iface;
676 ALOGE("Failed update quota for %s", iface);
716 int BandwidthController::removeInterfaceQuota(const char *iface) {
724 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
729 costName = iface;
737 ALOGE("No such iface %s to delete", ifn);
923 int BandwidthController::setInterfaceAlert(const char *iface, int64_t bytes) {
931 if (it->ifaceName == iface)
940 return setCostlyAlert(iface, bytes, &it->alert);
943 int BandwidthController::removeInterfaceAlert(const char *iface) {
947 if (it->ifaceName == iface)
952 ALOGE("No prior alert set for interface %s", iface);
956 return removeCostlyAlert(iface, &it->alert);