Lines Matching refs:reply

439 	if (ntohl(rpc_pkt.u.reply.id) > rpc_id)  in rpc_lookup_reply()
441 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply()
444 if (rpc_pkt.u.reply.rstatus || in rpc_lookup_reply()
445 rpc_pkt.u.reply.verifier || in rpc_lookup_reply()
446 rpc_pkt.u.reply.astatus) in rpc_lookup_reply()
451 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
454 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
469 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply()
471 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_mount_reply()
474 if (rpc_pkt.u.reply.rstatus || in nfs_mount_reply()
475 rpc_pkt.u.reply.verifier || in nfs_mount_reply()
476 rpc_pkt.u.reply.astatus || in nfs_mount_reply()
477 rpc_pkt.u.reply.data[0]) in nfs_mount_reply()
482 memcpy(dirfh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); in nfs_mount_reply()
495 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_umountall_reply()
497 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_umountall_reply()
500 if (rpc_pkt.u.reply.rstatus || in nfs_umountall_reply()
501 rpc_pkt.u.reply.verifier || in nfs_umountall_reply()
502 rpc_pkt.u.reply.astatus) in nfs_umountall_reply()
519 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_lookup_reply()
521 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_lookup_reply()
524 if (rpc_pkt.u.reply.rstatus || in nfs_lookup_reply()
525 rpc_pkt.u.reply.verifier || in nfs_lookup_reply()
526 rpc_pkt.u.reply.astatus || in nfs_lookup_reply()
527 rpc_pkt.u.reply.data[0]) { in nfs_lookup_reply()
528 switch (ntohl(rpc_pkt.u.reply.astatus)) { in nfs_lookup_reply()
533 switch (ntohl(rpc_pkt.u.reply.data[0])) { in nfs_lookup_reply()
539 ntohl(rpc_pkt.u.reply.data[0]), in nfs_lookup_reply()
540 ntohl(rpc_pkt.u.reply.data[1])); in nfs_lookup_reply()
551 ntohl(rpc_pkt.u.reply.data[0]), in nfs_lookup_reply()
552 ntohl(rpc_pkt.u.reply.data[1])); in nfs_lookup_reply()
562 ntohl(rpc_pkt.u.reply.astatus)); in nfs_lookup_reply()
569 memcpy(filefh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); in nfs_lookup_reply()
571 filefh3_length = ntohl(rpc_pkt.u.reply.data[1]); in nfs_lookup_reply()
574 memcpy(filefh, rpc_pkt.u.reply.data + 2, filefh3_length); in nfs_lookup_reply()
618 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_readlink_reply()
620 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_readlink_reply()
623 if (rpc_pkt.u.reply.rstatus || in nfs_readlink_reply()
624 rpc_pkt.u.reply.verifier || in nfs_readlink_reply()
625 rpc_pkt.u.reply.astatus || in nfs_readlink_reply()
626 rpc_pkt.u.reply.data[0]) in nfs_readlink_reply()
631 nfs3_get_attributes_offset(rpc_pkt.u.reply.data); in nfs_readlink_reply()
635 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_readlink_reply()
637 if (*((char *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset])) != '/') { in nfs_readlink_reply()
643 (uchar *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset]), in nfs_readlink_reply()
648 (uchar *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset]), in nfs_readlink_reply()
663 memcpy(&rpc_pkt.u.data[0], pkt, sizeof(rpc_pkt.u.reply)); in nfs_read_reply()
665 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_read_reply()
667 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_read_reply()
670 if (rpc_pkt.u.reply.rstatus || in nfs_read_reply()
671 rpc_pkt.u.reply.verifier || in nfs_read_reply()
672 rpc_pkt.u.reply.astatus || in nfs_read_reply()
673 rpc_pkt.u.reply.data[0]) { in nfs_read_reply()
674 if (rpc_pkt.u.reply.rstatus) in nfs_read_reply()
676 if (rpc_pkt.u.reply.astatus) in nfs_read_reply()
678 return -ntohl(rpc_pkt.u.reply.data[0]); in nfs_read_reply()
688 rlen = ntohl(rpc_pkt.u.reply.data[18]); in nfs_read_reply()
689 data_ptr = (uchar *)&(rpc_pkt.u.reply.data[19]); in nfs_read_reply()
692 nfs3_get_attributes_offset(rpc_pkt.u.reply.data); in nfs_read_reply()
695 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_read_reply()
701 &(rpc_pkt.u.reply.data[4 + nfsv3_data_offset]); in nfs_read_reply()
731 int reply; in nfs_handler() local
754 reply = nfs_mount_reply(pkt, len); in nfs_handler()
755 if (reply == -NFS_RPC_DROP) { in nfs_handler()
757 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
769 reply = nfs_umountall_reply(pkt, len); in nfs_handler()
770 if (reply == -NFS_RPC_DROP) { in nfs_handler()
772 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
782 reply = nfs_lookup_reply(pkt, len); in nfs_handler()
783 if (reply == -NFS_RPC_DROP) { in nfs_handler()
785 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
789 } else if (reply == -NFS_RPC_PROG_MISMATCH && in nfs_handler()
806 reply = nfs_readlink_reply(pkt, len); in nfs_handler()
807 if (reply == -NFS_RPC_DROP) { in nfs_handler()
809 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()