RDR_OK
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
if (rcv_status != RDR_OK) {
if (snd_status != RDR_OK) {
if (err != RDR_OK) {
if (init_status != RDR_OK) {
if (snd_status != RDR_OK) {
if (snd_status != RDR_OK) {
return ((snd_status != RDR_OK) ? -1 : 0);
if (snd_status != RDR_OK) {
if (rcv_status != RDR_OK) {
if (err != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
if (err != RDR_OK) {
return (RDR_OK);
if (err != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
if (err != RDR_OK) {
if (validate_header((rdr_msg_hdr_t *)hdr_buf) != RDR_OK) {
if (err != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
if (rdr_secure(fd, addr) != RDR_OK) {
return (RDR_OK);
if (rdr_bind(fd, addr) != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
if (rdr_setopt(fd, TCP_NODELAY, IPPROTO_TCP) != RDR_OK) {
return ((unpack_status == 0) ? RDR_OK : RDR_ERROR);
if (rdr_setopt(fd, opts[i], SOL_SOCKET) != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
return (RDR_OK);
if (rdr_auth((struct sockaddr *)&faddr, faddr_len) != RDR_OK) {
return (RDR_OK);
return (RDR_OK);
err = RDR_OK;
err = RDR_OK;
err = RDR_OK;
err = RDR_OK;
if (err != RDR_OK) {
if ((err = rdr_rcv(fd, hdr, &unpack_buf, timeout)) != RDR_OK) {
err = RDR_OK;
err = RDR_OK;
err = RDR_OK;
err = RDR_OK;