Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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_)._U_).

Ideally, I need tvbuff_t *tvb *tvb of the previous frame to extract information related to the current frame. To be able to use proto_tree_add_item(...) proto_tree_add_item(...) with the new tvb.tvb.