Re: [Wireshark-dev] TCP reassembling and also difference in WS 2.4.2 and WS_2.5_Master in qt_ui

2018-01-02 Thread Maynard, Chris
on the bug tracker: https://bugs.wireshark.org/bugzilla/ - Chris From: Wireshark-dev [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Robert Grange Sent: Monday, January 1, 2018 10:58 AM To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] TCP reassembling and also difference in

Re: [Wireshark-dev] TCP reassembling

2011-12-09 Thread fab12
I eventually figured it out. I was calling the tcp_dissect_pdus like this if (tree) /* we are being asked for details */ { tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 20, get_foo_message_len, dissect_foo_message); } When I remove

Re: [Wireshark-dev] TCP reassembling

2011-12-09 Thread fab12
Hi I tried this static guint get_foo_message_len(packet_info *pinfo, tvbuff_t *tvb, int offset) { guint length; length = tvb_get_letohl(tvb,offset+MPI_LENGTH_INDEX) + MPI_HEADER_SIZE; return length ; } But I get exactly the same result. The length returned is the same as be

Re: [Wireshark-dev] TCP reassembling

2011-12-09 Thread Andriy Beregovenko
Hi fab12, On Fri, Dec 09, 2011 at 08:25:12AM +0100, fa...@freesurf.fr wrote: > Hello, > > I am having problem using the tcp_dissect_pdus and hope someone can help > me here. > > The documentation seems pretty clear to me and I think I am doing what I > am suppose to do: > > tcp_dissect_pd

[Wireshark-dev] TCP reassembling

2011-12-08 Thread fab12
Hello, I am having problem using the tcp_dissect_pdus and hope someone can help me here. The documentation seems pretty clear to me and I think I am doing what I am suppose to do: tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 20, get_foo_message_len, dissect_foo_packet);