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

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 7 Apr 2000 17:31:46 -0700 (PDT)
> I will need changes to the tcp and udp code so these dissectors can call the tcp/udp
> sub-dissector lookup routines.  I plan to separate the tcp and udp sub-
> dissector lookup routines into standalone functions so they can be called
> from the outside.

I.e., the moral equivalent of "ethertype()", but to allow arbitrary
dissectors to switch on TCP or UDP ports rather than on Ethernet type?

(BTW, that made me realize that I could probably just make "ethertype()"
associate a hash table with "eth.type"; other dissectors could register
Ethernet types with "eth.type", and it'd still work not only with
the type fields in Ethernet packets but also with the Ethernet type
field in an LLC/SNAP header and so on.)