Lines Matching defs:add
304 int SecondaryTableController::setFwmarkRule(const char *iface, bool add) {
328 //add the catch all route to the tun. Route rules will make sure the right packets hit the table
332 add ? "add" : "del",
344 add ? "add" : "del",
355 //add rules for v6
360 add ? "add" : "del",
373 add ? "add" : "del",
390 if (add) {
412 //add a rule to clear the mark in the VPN chain
485 add ? "-A" : "-D",
503 add ? "-A" : "-D",
519 add ? "-A" : "-D",
542 bool add) {
559 add ? "-A" : "-D",
578 int SecondaryTableController::setUidRule(const char *iface, int uid_start, int uid_end, bool add) {
585 if (add) {
586 if (!mUidMarkMap->add(uid_start, uid_end, mark)) {
603 add ? "-A" : "-D",
622 int SecondaryTableController::setHostExemption(const char *host, bool add) {
629 add ? "-A" : "-D",
642 add ? "add" : "del",