• Home
  • Raw
  • Download

Lines Matching refs:reply

440 	if (ntohl(rpc_pkt.u.reply.id) > rpc_id)  in rpc_lookup_reply()
442 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply()
445 if (rpc_pkt.u.reply.rstatus || in rpc_lookup_reply()
446 rpc_pkt.u.reply.verifier || in rpc_lookup_reply()
447 rpc_pkt.u.reply.astatus) in rpc_lookup_reply()
452 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
455 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
470 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply()
472 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_mount_reply()
475 if (rpc_pkt.u.reply.rstatus || in nfs_mount_reply()
476 rpc_pkt.u.reply.verifier || in nfs_mount_reply()
477 rpc_pkt.u.reply.astatus || in nfs_mount_reply()
478 rpc_pkt.u.reply.data[0]) in nfs_mount_reply()
483 memcpy(dirfh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); in nfs_mount_reply()
496 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_umountall_reply()
498 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_umountall_reply()
501 if (rpc_pkt.u.reply.rstatus || in nfs_umountall_reply()
502 rpc_pkt.u.reply.verifier || in nfs_umountall_reply()
503 rpc_pkt.u.reply.astatus) in nfs_umountall_reply()
520 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_lookup_reply()
522 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_lookup_reply()
525 if (rpc_pkt.u.reply.rstatus || in nfs_lookup_reply()
526 rpc_pkt.u.reply.verifier || in nfs_lookup_reply()
527 rpc_pkt.u.reply.astatus || in nfs_lookup_reply()
528 rpc_pkt.u.reply.data[0]) { in nfs_lookup_reply()
529 switch (ntohl(rpc_pkt.u.reply.astatus)) { in nfs_lookup_reply()
534 switch (ntohl(rpc_pkt.u.reply.data[0])) { in nfs_lookup_reply()
540 ntohl(rpc_pkt.u.reply.data[0]), in nfs_lookup_reply()
541 ntohl(rpc_pkt.u.reply.data[1])); in nfs_lookup_reply()
552 ntohl(rpc_pkt.u.reply.data[0]), in nfs_lookup_reply()
553 ntohl(rpc_pkt.u.reply.data[1])); in nfs_lookup_reply()
563 ntohl(rpc_pkt.u.reply.astatus)); in nfs_lookup_reply()
570 if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + NFS_FHSIZE) > len) in nfs_lookup_reply()
572 memcpy(filefh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); in nfs_lookup_reply()
574 filefh3_length = ntohl(rpc_pkt.u.reply.data[1]); in nfs_lookup_reply()
577 memcpy(filefh, rpc_pkt.u.reply.data + 2, filefh3_length); in nfs_lookup_reply()
621 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_readlink_reply()
623 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_readlink_reply()
626 if (rpc_pkt.u.reply.rstatus || in nfs_readlink_reply()
627 rpc_pkt.u.reply.verifier || in nfs_readlink_reply()
628 rpc_pkt.u.reply.astatus || in nfs_readlink_reply()
629 rpc_pkt.u.reply.data[0]) in nfs_readlink_reply()
634 nfs3_get_attributes_offset(rpc_pkt.u.reply.data); in nfs_readlink_reply()
638 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_readlink_reply()
640 if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + rlen) > len) in nfs_readlink_reply()
643 if (*((char *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset])) != '/') { in nfs_readlink_reply()
649 (uchar *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset]), in nfs_readlink_reply()
654 (uchar *)&(rpc_pkt.u.reply.data[2 + nfsv3_data_offset]), in nfs_readlink_reply()
669 memcpy(&rpc_pkt.u.data[0], pkt, sizeof(rpc_pkt.u.reply)); in nfs_read_reply()
671 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_read_reply()
673 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_read_reply()
676 if (rpc_pkt.u.reply.rstatus || in nfs_read_reply()
677 rpc_pkt.u.reply.verifier || in nfs_read_reply()
678 rpc_pkt.u.reply.astatus || in nfs_read_reply()
679 rpc_pkt.u.reply.data[0]) { in nfs_read_reply()
680 if (rpc_pkt.u.reply.rstatus) in nfs_read_reply()
682 if (rpc_pkt.u.reply.astatus) in nfs_read_reply()
684 return -ntohl(rpc_pkt.u.reply.data[0]); in nfs_read_reply()
694 rlen = ntohl(rpc_pkt.u.reply.data[18]); in nfs_read_reply()
695 data_ptr = (uchar *)&(rpc_pkt.u.reply.data[19]); in nfs_read_reply()
698 nfs3_get_attributes_offset(rpc_pkt.u.reply.data); in nfs_read_reply()
701 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_read_reply()
707 &(rpc_pkt.u.reply.data[4 + nfsv3_data_offset]); in nfs_read_reply()
710 if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + rlen) > len) in nfs_read_reply()
740 int reply; in nfs_handler() local
766 reply = nfs_mount_reply(pkt, len); in nfs_handler()
767 if (reply == -NFS_RPC_DROP) { in nfs_handler()
769 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
781 reply = nfs_umountall_reply(pkt, len); in nfs_handler()
782 if (reply == -NFS_RPC_DROP) { in nfs_handler()
784 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
794 reply = nfs_lookup_reply(pkt, len); in nfs_handler()
795 if (reply == -NFS_RPC_DROP) { in nfs_handler()
797 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()
801 } else if (reply == -NFS_RPC_PROG_MISMATCH && in nfs_handler()
818 reply = nfs_readlink_reply(pkt, len); in nfs_handler()
819 if (reply == -NFS_RPC_DROP) { in nfs_handler()
821 } else if (reply == -NFS_RPC_ERR) { in nfs_handler()