Lines Matching defs:pool
48 void LoadLocalConfig(DhcpAddressPool *pool)
53 void ReloadLocalConfig(DhcpAddressPool *pool)
94 ArgumentInfo *arg = GetArgument("pool");
96 DHCP_LOGD("pool info:%s", arg->value);
105 config->pool.beginAddress = ParseIpAddr(poolPartArg);
108 config->pool.endAddress = ParseIpAddr(poolPartArg);
114 if (!config->pool.beginAddress || !config->pool.endAddress) {
115 DHCP_LOGE("'pool' argument format error.");
120 DHCP_LOGW("failed to get 'pool' argument.");
126 if (HasArgument("pool")) {
132 if (!config->pool.beginAddress || !config->pool.endAddress) {
133 config->pool.beginAddress = FirstIpAddress(config->serverId, config->netmask);
134 config->pool.endAddress = LastIpAddress(config->serverId, config->netmask);