Ethereal-dev: Re: [ethereal-dev] RPC dissector

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

From: Uwe Girlich <Uwe.Girlich@xxxxxxxxxxx>
Date: Fri, 29 Oct 1999 10:08:42 +0200
> > ... It contains some new infrastructure, so I include only NFS
> > (and even this is incomplete) as a RPC dissector. Please let me know, if my
> > new dissect dispatch code is usable.
> 
> To which code are you referring?
The whole idea with the hash array rpc_procs of all RPC functions. I've seen
RPC dissectors only with long switch/case statements before but I found it
somewhat easier with the hash array.

> The stuff in "packet-udp.c" should perhaps ultimately go into
> "packet-rpc.c";
That's why I didn't include the same stuff in packet-tcp.c too.

> the TCP and UDP dissectors currently contain that type
      ~~~                    ~~~~~~~~~~~~~~~~~
There is no such code currently in dissect_tcp().