Lines Matching defs:smb_hdr
557 return !memcmp(smb_hdr.magic, magic, 4);
564 smb_hdr(data + 14 + ip_hdr.header_length + tcp_hdr.length,
574 switch (smb_hdr.command) {
576 if (smb_hdr.flags & 0x80) {
583 if (!(smb_hdr.flags & 0x80)) {
588 if (!(smb_hdr.flags & 0x80)) {
593 if (!(smb_hdr.flags & 0x80)) {
603 smb smb_hdr;
675 if (!(i->smb_hdr.flags & 0x80)) {
681 if (j->smb_hdr.flags & 0x80 && // response
682 j->smb_hdr.command == i->smb_hdr.command &&
683 j->smb_hdr.tid == i->smb_hdr.tid &&
684 j->smb_hdr.pid == i->smb_hdr.pid &&
685 j->smb_hdr.uid == i->smb_hdr.uid &&
686 j->smb_hdr.mid == i->smb_hdr.mid) {
696 switch (i->smb_hdr.command) {
702 << NT_STATUS(j->smb_hdr.nt_status) << std::endl;
713 << NT_STATUS(j->smb_hdr.nt_status) << std::endl;
724 << NT_STATUS(j->smb_hdr.nt_status) << std::endl;
730 << NT_STATUS(j->smb_hdr.nt_status) << std::endl;