diff options
author | Evan Huus <eapache@gmail.com> | 2021-07-16 11:36:34 -0400 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-21 05:38:29 +0000 |
commit | d6d7dd1e5664810b368231d03d56465112e3d82e (patch) | |
tree | 4f95a8b408e58b8edc0b4a2c17831b58049beaf3 /epan/address.h | |
parent | ef542759d0c7003a495436f2194d5821bfc30bd4 (diff) |
First pass pinfo->pool conversion
Automated find/replace of wmem_packet_scope() with pinfo->pool in all
files where it didn't cause a build failure.
I also tweaked a few of the docs which got caught up.
Diffstat (limited to 'epan/address.h')
-rw-r--r-- | epan/address.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/address.h b/epan/address.h index a162be0e38..99f39b4686 100644 --- a/epan/address.h +++ b/epan/address.h @@ -123,7 +123,7 @@ set_address_tvb(address *addr, int addr_type, int addr_len, tvbuff_t *tvb, int o /** Initialize an address with the given values, allocating a new buffer * for the address data using wmem-scoped memory. * - * @param scope [in] The lifetime of the allocated memory, e.g., wmem_packet_scope() + * @param scope [in] The lifetime of the allocated memory, e.g., pinfo->pool * @param addr [in,out] The address to initialize. * @param addr_type [in] Address type. * @param addr_len [in] The length in bytes of the address data. For example, 4 for @@ -154,7 +154,7 @@ alloc_address_wmem(wmem_allocator_t *scope, address *addr, * * Same as alloc_address_wmem but it takes a TVB and an offset. * - * @param scope [in] The lifetime of the allocated memory, e.g., wmem_packet_scope() + * @param scope [in] The lifetime of the allocated memory, e.g., pinfo->pool * @param addr [in,out] The address to initialize. * @param addr_type [in] Address type. * @param addr_len [in] The length in bytes of the address data. For example, 4 for @@ -258,7 +258,7 @@ copy_address_shallow(address *to, const address *from) { /** Copy an address, allocating a new buffer for the address data * using wmem-scoped memory. * - * @param scope [in] The lifetime of the allocated memory, e.g., wmem_packet_scope() + * @param scope [in] The lifetime of the allocated memory, e.g., pinfo->pool * @param to [in,out] The destination address. * @param from [in] The source address. */ @@ -279,7 +279,7 @@ copy_address(address *to, const address *from) { /** Free an address allocated with wmem-scoped memory. * - * @param scope [in] The lifetime of the allocated memory, e.g., wmem_packet_scope() + * @param scope [in] The lifetime of the allocated memory, e.g., pinfo->pool * @param addr [in,out] The address whose data to free. */ static inline void |