Your wiretap code needs to pass an encapsulation type to ethereal.
Look at the WTAP_ENCAP_* values in wtap.h. Choosing the appropriate
value depends on what is in your file format. Can you give us some
background on the file format, what produces it, and what is in it?
--gilbert
On 3 Nov 2004 14:25:51 -0000, harsha ss <harsha.ss@xxxxxxxxxxxxxx> wrote:
> Hello,
> I am trying to make the ethereal to read the new format file of different type say some text.In wiretap directory i added the routines as per the guidelines of the wiretap directory.Ethereal is reading and printing the file but it is asking for the appropriate link type either ETHERNEt etc.Which link type I have to give so that ethereal reads the packets from txt file.Its reading some unknown hexdup etc.
> Which file hexdump it is reading.What can i do to make ethereal to read the txt file and print the info on the ethereal window.
> Please anyone guide me in this regard,
> Harsha
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>
>