tcp_dissect_pdus warning message
Warning message: passing argument 6 of 'tcp_dissect_pdus' from incompatible pointer type [enabled by default]
static int dissect_foo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *ptr)
{
length = tvb_captured_length(tvb);
tcp_dissect_pdus(tvb, pinfo, tree, TRUE, FRAME_HEADER_LEN, get_foo_message_len, dissect_foo_message, ptr);
return length;
}