Home
last modified time | relevance | path

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

/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()
/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 sockPort, bool bCast);
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp119 int BindKernelSocket(const int sockFd, const char *ifaceName, const uint32_t sockIp, const int sockPort, bool bCast) in BindKernelSocket() argument
163 kernelAddr.sin_addr.s_addr = sockIp; in BindKernelSocket()
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp285 uint32_t sockIp = static_cast<uint32_t>(data[0]); in BindKernelSocketFuzzerTest() local
288 BindKernelSocket(sockFd, ifaceName, sockIp, sockPort, bCast); in BindKernelSocketFuzzerTest()

Completed in 4 milliseconds