diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-26 01:50:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-26 08:50:34 +0000 |
commit | 458c3c026ed03d17ec7803c61981274ee4574f89 (patch) | |
tree | 9564e9336b594296e9048893ba917025444f4d52 /epan/address.h | |
parent | 0a99d3ef31611db7020d062216c856923ed29fac (diff) |
Add a ws_in6_addr typedef for struct e_in6_addr.
That allows a parallel typedef of ws_in4_addr for guint32.
Change-Id: I03b230247065e0e3840eb87635315a8e523ef562
Reviewed-on: https://code.wireshark.org/review/24073
Reviewed-by: Guy Harris <guy@alum.mit.edu>
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 05c6a0909f..b8bcb2944a 100644 --- a/epan/address.h +++ b/epan/address.h @@ -82,7 +82,7 @@ clear_address(address *addr) * @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 - * AT_IPv4 or sizeof(struct e_in6_addr) for AT_IPv6. + * AT_IPv4 or sizeof(ws_in6_addr) for AT_IPv6. * @param addr_data [in] Pointer to the address data. */ static inline void @@ -115,7 +115,7 @@ set_address(address *addr, int addr_type, int addr_len, const void *addr_data) { * @param tvb [in] Pointer to the TVB. * @param offset [in] Offset within the TVB. * @param addr_len [in] The length in bytes of the address data. For example, 4 for - * AT_IPv4 or sizeof(struct e_in6_addr) for AT_IPv6. + * AT_IPv4 or sizeof(ws_in6_addr) for AT_IPv6. */ static inline void set_address_tvb(address *addr, int addr_type, int addr_len, tvbuff_t *tvb, int offset) { @@ -137,7 +137,7 @@ set_address_tvb(address *addr, int addr_type, int addr_len, tvbuff_t *tvb, int o * @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 - * AT_IPv4 or sizeof(struct e_in6_addr) for AT_IPv6. + * AT_IPv4 or sizeof(ws_in6_addr) for AT_IPv6. * @param addr_data [in] Pointer to the address data. */ static inline void @@ -168,7 +168,7 @@ alloc_address_wmem(wmem_allocator_t *scope, address *addr, * @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 - * AT_IPv4 or sizeof(struct e_in6_addr) for AT_IPv6. + * AT_IPv4 or sizeof(ws_in6_addr) for AT_IPv6. * @param tvb [in] Pointer to the TVB. * @param offset [in] Offset within the TVB. */ |