Home
last modified time | relevance | path

Searched refs:GetRandomId (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_client_state_machine.h86 uint32_t GetRandomId(void);
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_state_machine.cpp300 timeout.tv_usec = (GetRandomId() % USECOND_CONVERT) * USECOND_CONVERT; in StartIpv4()
560 uint32_t DhcpClientStateMachine::GetRandomId(void) in GetRandomId() function in OHOS::DHCP::DhcpClientStateMachine
567 DHCP_LOGE("GetRandomId() open /dev/urandom failed, error:%{public}d!", errno); in GetRandomId()
571 DHCP_LOGE("GetRandomId() read /dev/urandom failed, error:%{public}d!", errno); in GetRandomId()
574 DHCP_LOGI("GetRandomId() read /dev/urandom uSeed:%{public}u.", uSeed); in GetRandomId()
595 m_transID = GetRandomId(); in InitSelecting()
734 m_transID = GetRandomId(); in Reboot()
1737 packet.xid = GetRandomId(); in DhcpRelease()
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp498 dhcpClient->GetRandomId(); in GetRandomIdFuzzerTest()

Completed in 6 milliseconds