i tried to return the entire message length . still fails . (it only succeeds when the tvb consists of the entire message ) What about he offest value we pass to the get_len method . to which offset doest it refer to ? tcp_dissect_pdus() obviously uses this offset .
2009/2/23 Guy Harris <[email protected]> > > On Feb 23, 2009, at 12:42 AM, יוני תובל wrote: > > my dissection code is > > > > static guint get_message_len(packet_info *pinfo, tvbuff_t *tvb, int > > offset)//a > > > > { > > > > return 3; // the value from the header that represents > > the length of the data coming after the header > > No - as I said in my message, it should return the length of the > *entire PDU*, which includes the header *and* the data. > > ___________________________________________________________________________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: http://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > mailto:[email protected]?subject=unsubscribe >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
