Home
last modified time | relevance | path

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

/external/ltp/testcases/network/sockets/
DltpClient.c69 void ping_network(struct sockaddr_in *rawAddr, int pid);
337 struct sockaddr_in rawAddr; in ltp_run_ping_tests() local
345 memset(&rawAddr, 0, sizeof(rawAddr)); in ltp_run_ping_tests()
347 rawAddr.sin_family = hostEntry->h_addrtype; in ltp_run_ping_tests()
348 rawAddr.sin_port = 0; in ltp_run_ping_tests()
349 rawAddr.sin_addr.s_addr = *(long *)hostEntry->h_addr; in ltp_run_ping_tests()
354 ping_network(&rawAddr, pid); in ltp_run_ping_tests()
369 struct sockaddr_in rawAddr; in network_listener() local
383 socklen_t len = sizeof(rawAddr); in network_listener()
389 (struct sockaddr *)&rawAddr, &len); in network_listener()
[all …]