Ethereal-dev: [ethereal-dev] libdecode

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

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Fri, 03 Dec 1999 06:03:11 +1000
Hi,

I am thinking of libdecode

Libdecode would take a frame and some suggested type info and return to you
as many levels of decode as you asked for or it was capable of.

We might also allow it to try some heuristics in the case that the base
type info was UNKNOWN.

The sorts of things it should return are:

  Proto: xxxxxxx
    Value: iiiii
    Offset: xxxxx
    Len: qqqqq
  Summary: xxxxxxxxxxxxxxxx
  Payload:
     Data: bbbbbbbbbbbbb
     Offset: xxxxxx
     Len: qqqqq
     Payload Decode:
       etc

We should explicitely support an UNKNOWN protocol, and allow the decode
routines to try their heuristics.


Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course