Lines Matching refs:add
303 int SecondaryTableController::setFwmarkRule(const char *iface, bool add) {
327 //add the catch all route to the tun. Route rules will make sure the right packets hit the table
331 add ? "add" : "del",
343 add ? "add" : "del",
354 //add rules for v6
359 add ? "add" : "del",
372 add ? "add" : "del",
389 if (add) {
411 //add a rule to clear the mark in the VPN chain
460 add ? "-A" : "-D",
478 add ? "-A" : "-D",
494 add ? "-A" : "-D",
517 bool add) {
534 add ? "-A" : "-D",
553 int SecondaryTableController::setUidRule(const char *iface, int uid_start, int uid_end, bool add) {
560 if (add) {
561 if (!mUidMarkMap->add(uid_start, uid_end, mark)) {
578 add ? "-A" : "-D",
597 int SecondaryTableController::setHostExemption(const char *host, bool add) {
604 add ? "-A" : "-D",
617 add ? "add" : "del",