D | rpc_clnt.c | 137 static int rpcclnt_send(struct rpcclnt *rpc, int procid, int prog, 139 static int rpcclnt_receive(struct rpcclnt *rpc, struct sockaddr *aname, 141 static int rpcclnt_reply(struct rpcclnt *rpc, int procid, int prog, 146 static int rpcclnt_reconnect(struct rpcclnt *rpc, struct sockaddr *saddr); 163 static int rpcclnt_send(struct rpcclnt *rpc, int procid, int prog, in rpcclnt_send() argument 175 nbytes = sendto(rpc->rc_so, call, reqlen, 0, in rpcclnt_send() 176 rpc->rc_name, sizeof(struct sockaddr)); in rpcclnt_send() 199 static int rpcclnt_receive(struct rpcclnt *rpc, struct sockaddr *aname, in rpcclnt_receive() argument 212 FD_SET((uint32_t)(rpc->rc_so), &fdreadset); in rpcclnt_receive() 217 ret = select(rpc->rc_so + 1, &fdreadset, 0, 0, &timeval); in rpcclnt_receive() [all …]
|