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 D | coap_client.c | 192 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 D | dhcp_socket.h | 27 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 D | dhcp_socket.cpp | 155 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 D | dhcpclientfun_fuzzer.cpp | 290 uint32_t sockIp = static_cast<uint32_t>(data[0]); in BindKernelSocketFuzzerTest() local 293 BindKernelSocket(sockFd, ifaceName, sockIp, sockPort, bCast); in BindKernelSocketFuzzerTest()
|