Home
last modified time | relevance | path

Searched refs:addressRange (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_address_pool.cpp130 if (!pool || !pool->addressRange.beginAddress || !pool->addressRange.endAddress) { in CheckRangeAvailability()
138 uint32_t beginIp = pool->addressRange.beginAddress; in CheckRangeAvailability()
139 uint32_t endIp = pool->addressRange.endAddress; in CheckRangeAvailability()
182 if (!pool || !pool->addressRange.beginAddress || !pool->addressRange.endAddress) { in AddressDistribute()
189 pool->distribution = pool->addressRange.beginAddress; in AddressDistribute()
193 if (!distIp || distIp < pool->addressRange.beginAddress) { in AddressDistribute()
194 distIp = pool->addressRange.beginAddress; in AddressDistribute()
493 uint32_t beginIp = pool->addressRange in LoadBindingRecoders()
[all...]
H A Ddhcp_s_server.cpp586 uint32_t firstNetwork = NetworkAddress(pool->addressRange.beginAddress, pool->netmask); in CheckAddressRange()
587 uint32_t secondNetwork = NetworkAddress(pool->addressRange.endAddress, pool->netmask); in CheckAddressRange()
1072 if ((ntohl(*yourIpAddr) < ntohl(pool->addressRange.beginAddress)) in GetYourIpAddress()
1073 || (ntohl(*yourIpAddr) > ntohl(pool->addressRange.endAddress))) { in GetYourIpAddress()
1867 srvIns->addressPool.addressRange.beginAddress = config->pool.beginAddress; in InitServerContext()
1868 srvIns->addressPool.addressRange.endAddress = config->pool.endAddress; in InitServerContext()
1870 srvIns->addressPool.addressRange.beginAddress = FirstIpAddress(config->serverId, config->netmask); in InitServerContext()
1871 srvIns->addressPool.addressRange.endAddress = LastIpAddress(config->serverId, config->netmask); in InitServerContext()
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_address_pool.h41 IpAddressRange addressRange; member
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_address_pool_test.cpp60 testPool.addressRange.beginAddress = beginIp; in SamplePoolConfig()
61 testPool.addressRange.endAddress = endIp; in SamplePoolConfig()
73 testPool.addressRange.beginAddress = 0; in ResetPollConfig()
74 testPool.addressRange.endAddress = 0; in ResetPollConfig()

Completed in 5 milliseconds