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

Hi,

While doing Reassembly in my dissector

fragment_head *fd_head; i have assigned. After declaring table

  fd_head = fragment_add_seq_next(&mte_reassembly_table,next_tvb, offset_payload, pinfo, 0, NULL,  28, TRUE );

 if (fd_head != NULL){
     col_append_fstr(pinfo->cinfo, COL_INFO, " MTE segment of a reassembled PDU");
    } else {

           col_append_fstr(pinfo->cinfo, COL_INFO, " Something Wrong");

   }

next_tvb is a originnal TVB and offset_payload is Not a Zero . seq id set to 0 and data is NULL and 28 is the length and more_frags set true.

Iam always getting the colinfo as Something Wrong. i have tried using fragment_add_seq_check, fragment_add_seq but still same. Can anyone help me why iam not getting the fd_head?

My table initialization all ok. comparesd with other dissectors.??

Please Help!

asked 08 Dec '14, 03:14

umar's gravatar image

umar
26222427
accept rate: 0%

edited 11 Dec '14, 21:45

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×27
×14
×1

question asked: 08 Dec '14, 03:14

question was seen: 972 times

last updated: 11 Dec '14, 21:45

p​o​w​e​r​e​d by O​S​Q​A