Lines Matching refs:rc_so
175 nbytes = sendto(rpc->rc_so, call, reqlen, 0, in rpcclnt_send()
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()
230 nbytes = recvfrom(rpc->rc_so, reply, resplen, 0, aname, &fromlen); in rpcclnt_receive()
281 FD_SET((uint32_t)(rpc->rc_so), &fdreadset); in rpcclnt_receive()
286 ret = select(rpc->rc_so + 1, &fdreadset, 0, 0, &timeval); in rpcclnt_receive()
299 nbytes = recvfrom(rpc->rc_so, (char *)reply + offset, resplen - offset, 0, aname, &fromlen); in rpcclnt_receive()
453 int sockfd = rpc->rc_so; in rpcclnt_alivecheck()
482 (void)close(rpc->rc_so); in rpcclnt_alivecheck()
483 rpc->rc_so = -1; in rpcclnt_alivecheck()
568 rpc->rc_so = error; in rpcclnt_reconnect()
579 error = bind(rpc->rc_so, (struct sockaddr *)&sock_in, sizeof(sock_in)); in rpcclnt_reconnect()
594 error = connect(rpc->rc_so, saddr, sizeof(*saddr)); in rpcclnt_reconnect()
685 rpc->rc_so = error; in rpcclnt_connect()
697 error = bind(rpc->rc_so, (struct sockaddr *)&sin, sizeof(sin)); in rpcclnt_connect()
717 error = connect(rpc->rc_so, saddr, sizeof(*saddr)); in rpcclnt_connect()
846 if (rpc->rc_so != -1) in rpcclnt_disconnect()
848 (void)lwip_close(rpc->rc_so); in rpcclnt_disconnect()
849 rpc->rc_so = -1; in rpcclnt_disconnect()
1036 if (rpc->rc_so != -1) in rpcclnt_request()
1048 if (rpc->rc_so == -1) in rpcclnt_request()