# Revision history [back]

### How do I use the fragment_add_seq_check function in UDP packet reassembly?

I'm writing a dissector which dissects multiple UPD packets, this is where I'm apparently supposed to use reassembly.

I'm a little bit confused on this function

fragment_add_seq_check(reassembly_table *table, tvbuff_t *tvb, const int offset, const packet_info *pinfo, const guint32 id, const void *data, const guint32 frag_number, const guint32 frag_data_len, const gboolean more_frags)

I understand the first 3 parameters, but the rest are beyond me. What do id, frag_number, data_len and more_frags mean and how do I obtain them? I did check the documentation in epan/reassemble.h, but it's still not clear to me how to use this function.

### How do I use the fragment_add_seq_check function in UDP packet reassembly?

I'm writing a dissector which dissects multiple UPD packets, this is where I'm apparently supposed to use reassembly.

I'm a little bit confused on this function

fragment_add_seq_check(reassembly_table *table, tvbuff_t *tvb, const int offset, const packet_info *pinfo, const guint32 id, const void *data, const guint32 frag_number, const guint32 frag_data_len, const gboolean more_frags)

I understand the first 3 parameters, but the rest are beyond me. What do id, frag_number, data_len and more_frags mean and how do I obtain them? I did check the documentation in epan/reassemble.h, but it's still not clear to me how to use this function.

 3 None grahamb 22153 ●4 ●477 ●222 https://www.wireshark.org

### How do I use the fragment_add_seq_check function in UDP packet reassembly?

I'm writing a dissector which dissects multiple UPD packets, this is where I'm apparently supposed to use reassembly.

I'm a little bit confused on this function

fragment_add_seq_check(reassembly_table *table, tvbuff_t *tvb, const int offset,
const packet_info *pinfo, const guint32 id,
const void *data,
const guint32 frag_number, const guint32 frag_data_len,
const gboolean more_frags) 
more_frags) 

I understand the first 3 parameters, but the rest are beyond me. What do id, frag_number, data_len and more_frags mean and how do I obtain them? I did check the documentation in epan/reassemble.h, but it's still not clear to me how to use this function.

 4 None grahamb 22153 ●4 ●477 ●222 https://www.wireshark.org

### How do I use the fragment_add_seq_check function in UDP packet reassembly?

I'm writing a dissector which dissects multiple UPD packets, this is where I'm apparently supposed to use reassembly.

I'm a little bit confused on this function

fragment_add_seq_check(reassembly_table *table, tvbuff_t *tvb, const int offset,
const packet_info *pinfo, const guint32 id,
const void *data,
const guint32 frag_number, const guint32 frag_data_len,
const gboolean more_frags)


I understand the first 3 parameters, but the rest are beyond me. What do id, frag_number, data_len id, frag_number, data_len and more_frags more_frags mean and how do I obtain them? I did check the documentation in epan/reassemble.h, but it's still not clear to me how to use this function.