in src/analysis/print_analyzer.cpp [1358:1402]
void PrintAnalyzer::readdirplus3(const RPCProcedure* proc,
const struct NFS3::READDIRPLUS3args* args,
const struct NFS3::READDIRPLUS3res* res)
{
if(!print_procedure(out, proc)) {
return;
}
if(args)
{
out << "\tCALL [ dir: " << args->dir
<< " cookie: " << args->cookie
<< " cookieverf: ";
print_hex(out,
args->cookieverf,
NFS3::NFS3_COOKIEVERFSIZE);
out << " dir count: " << args->dircount
<< " max count: " << args->maxcount
<< " ]\n";
}
if(res)
{
out << "\tREPLY [ status: " << res->status;
if(out_all())
{
if(res->status == NFS3::nfsstat3::NFS3_OK)
{
out << " dir attributes: "
<< res->READDIRPLUS3res_u.resok.dir_attributes
<< " cookieverf: ";
print_hex(out,
res->READDIRPLUS3res_u.resok.cookieverf,
NFS3::NFS3_COOKIEVERFSIZE);
out << " reply: "
<< res->READDIRPLUS3res_u.resok.reply;
}
else
{
out << " dir attributes: "
<< res->READDIRPLUS3res_u.resfail.dir_attributes;
}
}
out << " ]\n";
}
}