It looks like the developers of Wireshark decided to deprecate the tvb_get_guintX and tvb_get_gintX-methods (and more) in Wireshark 4.4, which is what I run on my setup. This aims to make the crate compatible with Wireshark 4.4, though I'm uncertain how compatible it is with older Wireshark versions.
I have tested so that it works on Wireshark 4.4 but I have not tested on earlier versions. I also did a very simple change and didn't regenerate the bindings, just some sed-magic to change the functions. There may be other functions deprecated that will be unsupported.
The reason is simply that when I ran a compiled dissector that used u32s, e.g. as a len_field for a Vec<u8>, it couldn't find said function due to linking to another version.
The functions are still visible in the Wireshark source, but I imagine the inlining makes them disappear when it's compiled so they allow the old interface until they can remove it in a future version.
I would assume the changes to the *.stderr-files are due to me running Rust nightly or being generated with at least a somewhat newer version than when they were created.
It looks like the developers of Wireshark decided to deprecate the
tvb_get_guintX
andtvb_get_gintX
-methods (and more) in Wireshark 4.4, which is what I run on my setup. This aims to make the crate compatible with Wireshark 4.4, though I'm uncertain how compatible it is with older Wireshark versions.I have tested so that it works on Wireshark 4.4 but I have not tested on earlier versions. I also did a very simple change and didn't regenerate the bindings, just some
sed
-magic to change the functions. There may be other functions deprecated that will be unsupported.The reason is simply that when I ran a compiled dissector that used
u32
s, e.g. as alen_field
for aVec<u8>
, it couldn't find said function due to linking to another version.The functions are still visible in the Wireshark source, but I imagine the inlining makes them disappear when it's compiled so they allow the old interface until they can remove it in a future version.
I would assume the changes to the
*.stderr
-files are due to me running Rust nightly or being generated with at least a somewhat newer version than when they were created.tvb_get_guintX
-supporttvb_get_gintX
-support