Home
last modified time | relevance | path

Searched refs:rule_iface (Results 1 – 12 of 12) sorted by relevance

/dports/security/fwbuilder/fwbuilder-5.3.7/src/cisco_lib/
H A DPolicyCompiler_cisco_acls.cpp223 FWObject *rule_iface = FWObjectReference::getObject(intf_re->front()); in processNext() local
235 itf_re->addRef(rule_iface); in processNext()
248 itf_re->addRef(rule_iface); in processNext()
262 itf_re->addRef(rule_iface); in processNext()
282 Interface *rule_iface = Interface::cast( in processNext() local
285 if(rule_iface==NULL) in processNext()
335 string acl_name = rule_iface->getLabel(); in processNext()
336 if (acl_name.empty()) acl_name = rule_iface->getName(); in processNext()
356 ciscoACL *acl = cisco_comp->createACLObject(acl_name, rule_iface, dir, using_named_acl); in processNext()
H A DPolicyCompiler_pix_replace_translations.cpp135 FWObject *rule_iface = FWObjectReference::getObject(intf_re->front()); in action() local
164 if (odst->getId() == rule_iface->getId() || in action()
165 p->getId() == rule_iface->getId()) in action()
210 FWObject *rule_iface = FWObjectReference::getObject(intf_re->front()); in action() local
223 if (odst->getId() == rule_iface->getId() || in action()
224 p->getId() == rule_iface->getId()) in action()
H A DPolicyCompiler_pix_v6_acls.cpp169 FWObject *rule_iface = FWObjectReference::getObject(intf_re->front()); in processNext() local
189 if (iface1_id == rule_iface->getId()) in processNext()
371 Interface *rule_iface = Interface::cast( in processNext() local
374 if (intf_re->isAny() || rule_iface==NULL) in processNext()
377 string acl_name = rule_iface->getLabel() + "_acl_in"; in processNext()
380 ciscoACL *acl = new ciscoACL(acl_name, rule_iface, "in"); in processNext()
H A DPolicyCompiler_pix_writers.cpp262 Interface *rule_iface = Interface::cast( in _printICMPCommand() local
265 assert(rule_iface); in _printICMPCommand()
280 str1 << rule_iface->getLabel(); in _printICMPCommand()
294 str << rule_iface->getLabel(); in _printICMPCommand()
312 Interface *rule_iface = Interface::cast( in _printSSHTelnetCommand() local
314 assert(rule_iface); in _printSSHTelnetCommand()
328 str << _printSingleSSHTelnetCommand(port, a, rule_iface->getLabel()); in _printSSHTelnetCommand()
334 str << _printSingleSSHTelnetCommand(port, a, rule_iface->getLabel()); in _printSSHTelnetCommand()
H A DPolicyCompiler_cisco.cpp427 FWObject *rule_iface = FWObjectReference::getObject(intf_re->front()); in dropDynamicInterface() local
437 if (ifs->getId()==rule_iface->getId() && dir==cmp_dir) in dropDynamicInterface()
565 Interface *rule_iface = Interface::cast( in processNext() local
568 if ( rule_iface!=NULL && rule->getDirection()==PolicyRule::Outbound) in processNext()
575 src->addRef(rule_iface); in processNext()
588 Interface *rule_iface = Interface::cast( in processNext() local
591 if ( rule_iface!=NULL && rule->getDirection()==PolicyRule::Inbound) in processNext()
598 dst->addRef(rule_iface); in processNext()
/dports/security/fwbuilder/fwbuilder-5.3.7/src/libfwbuilder/src/fwcompiler/
H A DCompiler.cpp382 Interface *rule_iface = in _expand_addr_recursive() local
384 on_loopback = ( rule_iface && rule_iface->isLoopback() ); in _expand_addr_recursive()
1070 Interface *rule_iface = Interface::cast(FWReference::getObject(*i)); in processNext() local
1071 if (rule_iface == NULL) continue; in processNext()
1075 if (rule_iface->isFailoverInterface()) in processNext()
1082 if (rule_iface) work_interfaces.remove(rule_iface); in processNext()
1115 Interface *rule_iface = Interface::cast(o); in processNext() local
1116 if (rule_iface == NULL) continue; in processNext()
1120 if (rule_iface->isFailoverInterface()) in processNext()
1123 rule_iface->getFirstByType(FailoverClusterGroup::TYPENAME)); in processNext()
[all …]
/dports/security/fwbuilder/fwbuilder-5.3.7/src/iptlib/
H A DPolicyCompiler_ipt.cpp272 if (rule_iface) in getNewChainName()
1983 Interface *rule_iface = in processNext() local
1989 if (rule_iface!=NULL && in processNext()
1990 (rule_iface->isUnnumbered() || rule_iface->isBridgePort() )) in processNext()
3115 if (rule_iface == NULL || rule_iface->isBridgePort()) in processNext()
3217 if (rule_iface == NULL || rule_iface->isBridgePort()) in processNext()
3321 rule_iface!=NULL && in processNext()
3322 rule_iface->isLoopback() ) in processNext()
4106 Interface *rule_iface = in processNext() local
4205 if (rule_iface==NULL || !rule_iface->isRegular()) in processNext()
[all …]
H A DPolicyCompiler_ipt_optimizer.cpp323 FWObject *rule_iface = FWObjectReference::getObject(itf_re->front()); in processNext() local
324 string iface_name = rule_iface->getName(); // rule->getInterfaceStr(); in processNext()
H A DPolicyCompiler_PrintRule.cpp479 Interface *rule_iface = NULL; in _printDirectionAndInterface() local
484 rule_iface = Interface::cast(rule_iface_obj); in _printDirectionAndInterface()
488 if (rule_iface && rule_iface->isBridgePort() && in _printDirectionAndInterface()
518 QString parent_name = rule_iface->getParent()->getName().c_str(); in _printDirectionAndInterface()
675 FWObject *rule_iface = FWObjectReference::getObject(itf_re->front()); in _printLogPrefix() local
676 string rule_iface_name = rule_iface->getName(); in _printLogPrefix()
H A DPolicyCompiler_ipt.h1049 std::string getNewChainName(libfwbuilder::PolicyRule *rule,libfwbuilder::Interface *rule_iface);
/dports/security/fwbuilder/fwbuilder-5.3.7/src/pflib/
H A DNATCompiler_ipf.cpp380 Interface *rule_iface = in processNext() local
389 if (rule->getRuleType()==NATRule::Redirect && rule_iface!=NULL && in processNext()
393 rel->addRef( rule_iface ); in processNext()
H A DNATCompiler_pf.cpp114 FWObject *rule_iface = FWObjectReference::getObject(itf_re->front()); in debugPrintRule() local
118 " " + string( (rule_iface!=NULL)?rule_iface->getName():"") + in debugPrintRule()