• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcpdump-56/tcpdump/

Lines Matching refs:maxbuf

173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf)
209 maxbuf, unicodestr);
245 const u_char *maxbuf = data + datalen;
257 maxbuf, unicodestr);
263 maxbuf, unicodestr);
269 maxbuf, unicodestr);
275 maxbuf, unicodestr);
281 maxbuf, unicodestr);
287 maxbuf, unicodestr);
293 maxbuf, unicodestr);
299 maxbuf, unicodestr);
305 maxbuf, unicodestr);
310 "BROWSE PACKET:\nType=[B] (ResetBrowser)\nOptions=[B]\n", maxbuf, unicodestr);
314 data = smb_fdata(data, "Unknown Browser Frame ", maxbuf, unicodestr);
336 print_trans(const u_char *words, const u_char *data1, const u_char *buf, const u_char *maxbuf)
366 smb_fdata(words + 1, f1, SMBMIN(words + 1 + 2 * words[0], maxbuf),
373 smb_fdata(data1 + 2, f2, maxbuf - (paramlen + datalen), unicodestr);
386 smb_fdata(param, f3, SMBMIN(param + paramlen, maxbuf), unicodestr);
388 smb_fdata(data, f4, SMBMIN(data + datalen, maxbuf), unicodestr);
398 print_negprot(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
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)));
428 maxbuf), unicodestr);
430 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2)));
439 print_sesssetup(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
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)));
472 maxbuf), unicodestr);
474 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2)));
483 print_lockingandx(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf)
502 maxwords = SMBMIN(words + 1 + wct * 2, maxbuf);
512 maxbuf), unicodestr);
514 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2)));
795 print_smb(const u_char *buf, const u_char *maxbuf)
850 maxwords = SMBMIN(data, maxbuf);
861 (*fn->descript.fn)(words, data, buf, maxbuf);
887 print_data(data + 2, SMBMIN(bcc, PTR_DIFF(maxbuf, data + 2)));
931 const u_char *maxbuf;
940 maxbuf = data + caplen;
1001 data = smb_fdata(data, "Unknown packet type [rB]", maxbuf, 0);
1020 print_smb(data, maxbuf > data + nbt_len ? data + nbt_len : maxbuf);
1028 maxbuf, 0);
1032 data = smb_fdata(data, "[P1]NBT Session Granted\nFlags=[B]\nLength=[rd]\n", maxbuf, 0);
1042 maxbuf, 0);
1069 data = smb_fdata(data, "[P1]NBT Session Keepalive\nFlags=[B]\nLength=[rd]\n", maxbuf, 0);
1073 data = smb_fdata(data, "NBT - Unknown packet type\nType=[B]\n", maxbuf, 0);
1092 const u_char *maxbuf = data + length;
1111 if (maxbuf <= data)
1168 maxbuf, 0);
1180 p = smb_fdata(p, "Name=[n1]\n#", maxbuf, 0);
1204 p = smb_fdata(p, "Name=[n2]\t#", maxbuf, 0);
1235 if (p < maxbuf)
1236 smb_fdata(p, "AdditionalData:\n", maxbuf, 0);
1255 const u_char *maxbuf;
1264 maxbuf = data + caplen;
1280 print_smb(data, maxbuf > data + smb_len ? data + smb_len : maxbuf);
1295 const u_char *maxbuf = data + length;
1297 if (maxbuf > snapend)
1298 maxbuf = snapend;
1299 if (maxbuf <= data)
1310 maxbuf, 0);
1314 if (&data[3] >= maxbuf)
1318 print_smb(data, maxbuf);
1387 const u_char *maxbuf = data + length;
1393 if (maxbuf > snapend)
1394 maxbuf = snapend;
1399 if (data2 >= maxbuf) {
1400 data2 = maxbuf;
1408 data = smb_fdata(data, "[P5]#", maxbuf, 0);
1411 data = smb_fdata(data, "Length=[d] Signature=[w] Command=[B]\n#", maxbuf, 0);
1452 if (&data2[3] >= maxbuf)
1456 print_smb(data2, maxbuf);
1460 if (&data2[i + 3] >= maxbuf)
1464 print_smb(&data2[i], maxbuf);
1490 const u_char *maxbuf;
1492 maxbuf = data + length;
1494 if (maxbuf > snapend)
1495 maxbuf = snapend;
1498 if (&data[i + 4] > maxbuf)
1502 print_smb(&data[i], maxbuf);
1509 smb_fdata(data, "\n>>> Unknown IPX ", maxbuf, 0);