Searched refs:NetworkAddress (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | address_utils.cpp | 40 uint32_t NetworkAddress(uint32_t ip, uint32_t netmask) in NetworkAddress() function 47 uint32_t network = NetworkAddress(ip, netmask); in FirstIpAddress() 54 uint32_t network = NetworkAddress(currIp, netmask); in NextIpAddress() 80 uint32_t network = NetworkAddress(ip, netmask); in LastIpAddress() 90 uint32_t firstNet = NetworkAddress(ip, netmask); in IpInNetwork() 91 uint32_t secondNet = NetworkAddress(network, netmask); in IpInNetwork() 106 uint32_t network = NetworkAddress(ip, netmask); in IpInRange() 107 uint32_t firstNet = NetworkAddress(beginIp, netmask); in IpInRange() 108 uint32_t secondNet = NetworkAddress(endIp, netmask); in IpInRange() 120 uint32_t network = NetworkAddress(ip, netmask); in BroadCastAddress()
|
H A D | dhcp_s_server.cpp | 588 uint32_t serverNetwork = NetworkAddress(pool->serverId, pool->netmask); in CheckAddressRange() 589 uint32_t firstNetwork = NetworkAddress(pool->addressRange.beginAddress, pool->netmask); in CheckAddressRange() 590 uint32_t secondNetwork = NetworkAddress(pool->addressRange.endAddress, pool->netmask); in CheckAddressRange()
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | address_utils.h | 29 uint32_t NetworkAddress(uint32_t ip, uint32_t netmask);
|
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | address_utils_test.cpp | 78 EXPECT_EQ(srcNet, NetworkAddress(testIp, testNetmask)); 114 uint32_t network = NetworkAddress(testIp, testNetmask);
|
/ohos5.0/foundation/communication/dhcp/test/fuzztest/addressutils_fuzzer/ |
H A D | addressutils_fuzzer.cpp | 34 NetworkAddress(ip, netmask); in NetworkAddressTest()
|