Lines Matching defs:words

173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf)
178 const u_char *w = words + 1;
182 TCHECK(words[0]);
191 if (words[0] == 0) {
206 if (words[0] == 8) {
207 smb_fdata(words + 1,
212 smb_fdata(words + 1,
214 words + 1 + 14 * 2, unicodestr);
219 smb_fdata(words + 1,
221 words + 1 + 10 * 2, unicodestr);
336 print_trans(const u_char *words, const u_char *data1, const u_char *buf, const u_char *maxbuf)
341 const u_char *w = words + 1;
366 smb_fdata(words + 1, f1, SMBMIN(words + 1 + 2 * words[0], maxbuf),
398 print_negprot(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
403 TCHECK(words[0]);
404 wct = words[0];
417 smb_fdata(words + 1, f1, SMBMIN(words + 1 + wct * 2, maxbuf),
420 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1)));
439 print_sesssetup(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
444 TCHECK(words[0]);
445 wct = words[0];
461 smb_fdata(words + 1, f1, SMBMIN(words + 1 + wct * 2, maxbuf),
464 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1)));
483 print_lockingandx(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
489 TCHECK(words[0]);
490 wct = words[0];
493 TCHECK(words[7]);
494 if (words[7] & 0x10)
502 maxwords = SMBMIN(words + 1 + wct * 2, maxbuf);
504 smb_fdata(words + 1, f1, maxwords, unicodestr);
801 const u_char *words, *maxwords, *data;
846 words = buf + smboffset;
847 TCHECK(words[0]);
848 wct = words[0];
849 data = words + 1 + wct * 2;
861 (*fn->descript.fn)(words, data, buf, maxbuf);
865 smb_fdata(words + 1, f1, words + 1 + wct * 2, unicodestr);
870 for (i = 0; &words[1 + 2 * i] < maxwords; i++) {
871 TCHECK2(words[1 + 2 * i], 2);
872 v = EXTRACT_LE_16BITS(words + 1 + 2 * i);
896 TCHECK(words[1]);
897 command = words[1];
900 TCHECK2(words[3], 2);
901 newsmboffset = EXTRACT_LE_16BITS(words + 3);