Ethereal-dev: Re: [Ethereal-dev] SMPP: Multiple PDU's within one TCP packet

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 18 Jan 2004 03:52:23 -0800
On Sun, Jan 18, 2004 at 11:42:15AM +0000, Chris Wilson wrote:
> > 	1) some other dissectors for protocols running atop TCP put
> > 	   separate top-level subtrees into the protocol tree for each
> > 	   packet, rather than having a single tree with all the packet
> > 	   under it;
> 
> Can you give me an example of a dissector that does this?

The BGP dissector does it - as do dissectors that use
"tcp_dissect_pdus()".

> Given that SMPP might well have a subdissector how should it be
> displayed?:
> 
> IP
> TCP
> SMPP PDU1
> SMS UD (for SMS in PDU1)
> WSP (for SMS in PDU1)
> SMPP PDU2
> SMS UD (for SMS in PDU2)
> WSP (for SMS in PDU2)

Yes.  That's how it'd be done with, for example, SMB - and that just
falls out of the way dissection works.