Home
last modified time | relevance | path

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

/external/ltp/testcases/network/nfsv4/locks/
Dnetsync.c11 int fdServer; variable
143 fdServer = socket(AF_INET, SOCK_STREAM, 0); in setupConnectionClient()
144 if (fdServer < 0) { in setupConnectionClient()
152 if (connect(fdServer, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) in setupConnectionClient()
170 r = read(fdServer, tmp, M_SIZE - s); in readFromServer()
Dlocktests.c35 extern int fdServer;
503 n = fdServer > masterReader ? fdServer : masterReader; in masterClient()
504 printf("Master Client - fdServer=%d\n", fdServer); in masterClient()
508 FD_SET(fdServer, &fdread); in masterClient()
519 if (FD_ISSET(fdServer, &fdread)) { in masterClient()
554 r = write(fdServer, message, M_SIZE); in masterClient()