Lines Matching refs:pair_name
233 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()
276 if (checkTetherCountingRuleExist(pair_name)) { in setTetherCountingRules()
277 free(pair_name); in setTetherCountingRules()
293 free(pair_name); in setTetherCountingRules()
296 ifacePairList.push_front(pair_name); in setTetherCountingRules()
297 free(pair_name); in setTetherCountingRules()