Ethereal-dev: [Ethereal-dev] problem in pseudo header

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

From: "Raman Singla" <ramans@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 May 2006 00:47:45 +0530
hi all,
 
I m writing decoder for new capture format. (dectrace).
 
I have made a pseudo_header which will carry info of frame_no, sender,receiver etc.
 
in wiretap : in read function the i m loading pseudo_header with appropiate data & i m able to use this in dissector. (for column information etc)
 
the problem :
when i m loading pseudo_header in seek_read (it is showing correct info) e.g.
in wtap->pseudo_header.dec_hdr->step
but the same information in dissector is replaced by 0
e.g. value of pinfo->pseudo_header.dec_hdr->step is 0.
 
i m unable to understand why the same info if loaded through read is raching correct at dissector when the same is loaded from seek_read is replaced by 0 somewhere between exit of seek & entry to dissector.
 
regards
 
Raman
Ext - 1667
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev