Ethereal-dev: Re: [Ethereal-dev] Need to add SAP 0xC8 for HPR

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

Date: Sat, 28 Feb 2004 16:02:17 +0100
Edward Mazurek wrote:
> I need to add a new SAP to Ethereal to get it to recognize SAP
> 0xC8 as a SNA SAP. This is a default SAP for HPR.
> 
> I've found what I want to do, I think. Pretty simple really. In the
> file lls_saps.h I want to add:
> 
> #define    SAP_HPR_Default        0xC8
> 
> In packet_llc.c I want to add SAP_HPR_Default to the sap_vals
> array.
> 
> I think that's it.

Another way could maybe be to use tethereal and the "-d " decode as option, maybe
something like "-d llc.dsap==200,sna" will work.

http://www.ethereal.com/docs/man-pages/tethereal.1.html

Hopefully there will be a better decode-as functionality for Ethereal sometime in the future.
I have some items regarding that on my wish-list/to-do-list.

> 
> What do I need on my Windows 2K machine to compile/build it?
> 
> The Ethereal users guide has nothing about building on Win 2K.
> 
>  From reading the archives it sounds like I need a bunch of
> packages installed(winpcap, msvc?, etc...). I've never built
> anything on Win 2K before.
> 
> Is there anyone out there that has some directions on this?

There is a description of how to build Ethereal in the following file:
http://www.ethereal.com/distribution/win32/win32-README.txt