aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-03-01 15:20:22 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2019-03-02 08:29:01 +0000
commitf4167c32e0f8d93c369b4641c4caf6d172a64c24 (patch)
tree78d955f3557b3e89da874054af668fbbe4309aa9 /epan/dissectors/packet-tcp.h
parent712d94fa788f490929405059c3d8a338789fddf6 (diff)
Support unsigned stream identifiers for Follow Stream
tcp.stream and udp.stream are already unsigned identifiers. An upcoming http2.hashed_stream identifier can exercise the full unsigned 32-bit number space, so be sure not to treat the stream identifier as signed integer. Change-Id: Ic5d398b2bda7eba7555e385ef3fcd44b490f78c9 Reviewed-on: https://code.wireshark.org/review/32287 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Alexander Gryanko <xpahos@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r--epan/dissectors/packet-tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h
index a01b175cb0..d46020f4cb 100644
--- a/epan/dissectors/packet-tcp.h
+++ b/epan/dissectors/packet-tcp.h
@@ -508,9 +508,9 @@ WS_DLL_PUBLIC guint32 get_tcp_stream_count(void);
WS_DLL_PUBLIC guint32 get_mptcp_stream_count(void);
/* Follow Stream functionality shared with HTTP (and SSL?) */
-extern gchar* tcp_follow_conv_filter(packet_info* pinfo, int* stream);
-extern gchar* tcp_follow_index_filter(int stream);
-extern gchar* tcp_follow_address_filter(address* src_addr, address* dst_addr, int src_port, int dst_port);
+extern gchar *tcp_follow_conv_filter(packet_info *pinfo, guint *stream);
+extern gchar *tcp_follow_index_filter(guint stream);
+extern gchar *tcp_follow_address_filter(address *src_addr, address *dst_addr, int src_port, int dst_port);
#ifdef __cplusplus
}