Home
last modified time | relevance | path

Searched refs:pair_name (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DNatController.cpp233 bool NatController::checkTetherCountingRuleExist(const char *pair_name) { in checkTetherCountingRuleExist() argument
237 if (*it == pair_name) { in checkTetherCountingRuleExist()
251 char *pair_name; in setTetherCountingRules() local
252 asprintf(&pair_name, "%s_%s", intIface, extIface); in setTetherCountingRules()
254 if (checkTetherCountingRuleExist(pair_name)) { in setTetherCountingRules()
255 free(pair_name); in setTetherCountingRules()
269 free(pair_name); in setTetherCountingRules()
272 ifacePairList.push_front(pair_name); in setTetherCountingRules()
273 free(pair_name); in setTetherCountingRules()
275 asprintf(&pair_name, "%s_%s", extIface, intIface); in setTetherCountingRules()
[all …]
DNatController.h47 bool checkTetherCountingRuleExist(const char *pair_name);