Home
last modified time | relevance | path

Searched refs:udpClientAddr (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/network/sockets/
DltpServer.c54 struct sockaddr_in udpClientAddr, variable
236 udpClientLen = sizeof(udpClientAddr); in ltp_udp_server_queue()
240 (struct sockaddr *)&udpClientAddr, &udpClientLen); in ltp_udp_server_queue()
249 hostname, inet_ntoa(udpClientAddr.sin_addr), in ltp_udp_server_queue()
250 ntohs(udpClientAddr.sin_port), message); in ltp_udp_server_queue()
DltpClient.c89 struct sockaddr_in udpClientAddr, in main() local
160 udpClientAddr.sin_family = AF_INET; in main()
161 udpClientAddr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
162 udpClientAddr.sin_port = htons(0); in main()
170 rc = bind(udpSocketHandle, (struct sockaddr *)&udpClientAddr, in main()
171 sizeof(udpClientAddr)); in main()