Hi, I'm using tcp_dissect_pdus(tvb, pinfo, tree, TRUE, FRAME_HEADER_LEN, get_foo_message_len, dissect_foo_message) to reassemble split TCP Packets in my own dissector. However, I cannot get the full TCP packet. In the dissect_foo_message, I do nothing first, just get the full TCP context by using:
the context in str is truncated. I'm confused, according to the tutorial, I should get the full TCP packet in the dissect_foo_message, right? Help!! asked 11 Oct '12, 23:56 razygon closed 15 Oct '12, 07:38 Bill Meier ♦♦
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
|
We'll need to see a bit more of your code. How are you determining the actual length of the PDU in
get_foo_message_len()
?dissect_foo_message()
will be handed a tvb of whatever length is returned byget_foo_message_len()