Lines Matching refs:pelmNet
1464 const xml::ElementNode *pelmNet;
1465 while ((pelmNet = nl1.forAllNodes()))
1467 if (pelmNet->nameEquals("NATNetwork"))
1470 if ( pelmNet->getAttributeValue("networkName", net.strNetworkName)
1471 && pelmNet->getAttributeValue("enabled", net.fEnabled)
1472 && pelmNet->getAttributeValue("network", net.strNetwork)
1473 && pelmNet->getAttributeValue("ipv6", net.fIPv6)
1474 && pelmNet->getAttributeValue("ipv6prefix", net.strIPv6Prefix)
1475 && pelmNet->getAttributeValue("advertiseDefaultIPv6Route", net.fAdvertiseDefaultIPv6Route)
1476 && pelmNet->getAttributeValue("needDhcp", net.fNeedDhcpServer) )
1478 pelmNet->getAttributeValue("loopback6", net.u32HostLoopback6Offset);
1480 if ((pelmMappings = pelmNet->findChildElement("Mappings")))
1484 if ((pelmPortForwardRules4 = pelmNet->findChildElement("PortForwarding4")))
1489 if ((pelmPortForwardRules6 = pelmNet->findChildElement("PortForwarding6")))
1496 throw ConfigFileError(this, pelmNet, N_("Required NATNetwork/@networkName, @gateway, @network,@advertiseDefaultIpv6Route , @needDhcp or @enabled attribute is missing"));