Home
last modified time | relevance | path

Searched refs:sockIp (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_client.c192 struct sockaddr_in sockIp; in CoapGetContextEx() local
194 (void)memset_s(&sockIp, sizeof(struct sockaddr_in), 0, sizeof(struct sockaddr_in)); in CoapGetContextEx()
196 … (void)memcpy_s(&sockIp.sin_addr, sizeof(struct in_addr), ip, sizeof(struct in_addr)); in CoapGetContextEx()
197 sockIpPtr = &sockIp; in CoapGetContextEx()
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_socket.h27 int BindKernelSocket(const int sockFd, const char *ifaceName, const uint32_t sockIp, const int sock…
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp155 int BindKernelSocket(const int sockFd, const char *ifaceName, const uint32_t sockIp, const int sock… in BindKernelSocket() argument
202 kernelAddr.sin_addr.s_addr = sockIp; in BindKernelSocket()
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp290 uint32_t sockIp = static_cast<uint32_t>(data[0]); in BindKernelSocketFuzzerTest() local
293 BindKernelSocket(sockFd, ifaceName, sockIp, sockPort, bCast); in BindKernelSocketFuzzerTest()