I'm trying not to avoid the pinfo -> private_data as I want to use the data parameter. My questions is which function definition do I change to be able to use the data parameter, in my dissector there is no function that takes a 4th parameter!
Could you please explain exactly what happens here:
and here
In my case I have the following:
asked 13 May ‘15, 13:25 XQW1123 edited 13 May ‘15, 13:59 |
One Answer:
Then change the dissector so that its main function does take a 4th parameter, which will be a Note that, in the currently-supported versions of Wireshark (1.10.x, 1.12.x, and 1.99.x), if the function
then the call to
will get a warning. DO NOT IGNORE THIS WARNING! Instead, fix answered 13 May '15, 14:06 Guy Harris ♦♦ |