Wireshark mailing list archives
Re: How to get backing tvb??
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Mon, 19 Mar 2012 09:52:41 -0400
Alex Lindberg wrote:
I need to get the backing or parent tvbuff. In the past, I have used tvbuff_t *new_buff; new_buff = tvb->tvbuffs.subset.tvbThis works in the 1.6 trunk stream. Now however, in the 1.7 (mainline trunk) this throws a compiler error:dereferencing pointer to incomplete type. I resolved this by adding #include <epan/tvbuff-int.h>. Is there an easier (safer) way to do this?
Well, the first obvious question to me would be: why do you need the backing or parent tvbuff? What is the tvbuff API missing that makes you need it?
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- How to get backing tvb?? Alex Lindberg (Mar 18)
- Re: How to get backing tvb?? Jeff Morriss (Mar 19)