This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

reassembly not working for LTE-based protocol

0

Hi, Im writing a dissector for our LTE based protocol. Iam working on fragmented packets. These are ethernet packets that are fragmented with some limitation message payload size , Fragment beginning, mid and last for indication as in what part of the fragment packet. I have used the "fragment_add_seq_check()" and the "process_reassembled_data()" functions to reassemble the packets but not worked out.

         frag_head = fragment_add_seq_check(&lte_reassembly_table, tvb, 
                     offset,/* This is not zero iam processing in mid
                     pinfo,
                     msg_seqnum, 
      /* ID for fragments belonging together my begin mid last message will have the same seq number*/
                      NULL,
                      msg_seqid, /* message sequence id  I hv set to 0,1,2  */
                      tvb_length_remaining(tvb,offset), /* fragment length - to the end */
                      more_frags); /* More fragments? set to FALSE when last fragment*/
                                        save_fragmented = pinfo->fragmented;
                                        pinfo-&gt;fragmented = save_fragmented;</code></pre><p>I get no reassembled packets. Fragment not working. Any help will be much appreciated</p></div><div id="question-tags" class="tags-container tags"><span class="post-tag tag-link-reassembly" rel="tag" title="see questions tagged &#39;reassembly&#39;">reassembly</span></div><div id="question-controls" class="post-controls"></div><div class="post-update-info-container"><div class="post-update-info post-update-info-user"><p>asked <strong>10 Dec '14, 11:38</strong></p><img src="https://secure.gravatar.com/avatar/5d1d9f9786aaec70ca3233405dcba067?s=32&amp;d=identicon&amp;r=g" class="gravatar" width="32" height="32" alt="Vinod&#39;s gravatar image" /><p><span>Vinod</span><br />

1112
accept rate: 0%

edited 10 Dec ‘14, 18:17

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196