forked from osmocom/wireshark
1f59c18769
As requested [here][1] by @eapache, help with removing calls to `wmem_packet_scope()` in favour of references to `pinfo->pool`. * Plugins chosen semi-randomly. * When a calling function already has a `pinfo` argument, use that. * Remove `_U_` from its signature if it was there. * If a function seems narrowly focused on getting and (possibly) returning memory, change the function signature to take a `wmem_allocator_t *`. * If it seems more focused on packet-based operations, pass in a `packet_info *` instead and use `pinfo->pool` within. * If there are several functions defined with the same call signature, add `pinfo _U_` to the argument list of similar functions in order to maintain clarity/symmetry. [1]: https://www.wireshark.org/lists/wireshark-dev/202107/msg00052.html |
||
---|---|---|
.. | ||
ethercat | ||
falco_bridge | ||
gryphon | ||
irda | ||
mate | ||
opcua | ||
pluginifdemo | ||
profinet | ||
stats_tree | ||
transum | ||
unistim | ||
wimax | ||
wimaxasncp | ||
wimaxmacphy |