print_smb(netdissect_options *ndo,
const u_char *buf, const u_char *maxbuf)
{
print_smb(netdissect_options *ndo,
const u_char *buf, const u_char *maxbuf)
{
const u_char *words, *maxwords, *data;
const struct smbfns *fn;
const char *fmt_smbheader =
const u_char *words, *maxwords, *data;
const struct smbfns *fn;
const char *fmt_smbheader =
if (smb_len >= 4 && caplen >= 4 && memcmp(data,"\377SMB",4) == 0) {
if ((int)smb_len > caplen) {
if ((int)smb_len > length)
if (smb_len >= 4 && caplen >= 4 && memcmp(data,"\377SMB",4) == 0) {
if ((int)smb_len > caplen) {
if ((int)smb_len > length)