Home
last modified time | relevance | path

Searched refs:NetworkAddress (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Daddress_utils.cpp40 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 Ddhcp_s_server.cpp588 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 Daddress_utils.h29 uint32_t NetworkAddress(uint32_t ip, uint32_t netmask);
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Daddress_utils_test.cpp78 EXPECT_EQ(srcNet, NetworkAddress(testIp, testNetmask));
114 uint32_t network = NetworkAddress(testIp, testNetmask);
/ohos5.0/foundation/communication/dhcp/test/fuzztest/addressutils_fuzzer/
H A Daddressutils_fuzzer.cpp34 NetworkAddress(ip, netmask); in NetworkAddressTest()