Home
last modified time | relevance | path

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

/external/ltp/testcases/network/rpc/basic_tests/rpc01/
Drpc1.c33 struct sockaddr_in server_sin; in main() local
94 memset(&server_sin, 0x00, sizeof(server_sin)); in main()
95 server_sin.sin_family = AF_INET; in main()
96 memcpy(&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr)); in main()
133 server_sin.sin_port = 0; in main()
137 clnt = clntudp_create(&server_sin, program, version, timeout, &sock); in main()
150 server_sin.sin_port = 0; in main()
152 clnt = clnttcp_create(&server_sin, program, version, &sock, 0, 0); in main()