Access to previous frame
Hello I wanted to know if there was a way to access the data of previous frame from the function static int dissect_custom_protocol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *data _U_)
.
Ideally, I need tvbuff_t *tvb
of the previous frame to extract information related to the current frame. To be able to use proto_tree_add_item(...)
with the new tvb
.
Thanks to all I had not understood this mechanism, I will save the data in an external file.