diff options
Diffstat (limited to 'epan/dissectors/packet-quic.h')
-rw-r--r-- | epan/dissectors/packet-quic.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-quic.h b/epan/dissectors/packet-quic.h index 3b2fb80435..8790f86ce8 100644 --- a/epan/dissectors/packet-quic.h +++ b/epan/dissectors/packet-quic.h @@ -79,6 +79,22 @@ void quic_add_loss_bits(packet_info *pinfo, guint64 value); void quic_proto_tree_add_version(tvbuff_t *tvb, proto_tree *tree, int hfindex, guint offset); + +/** + * Retrieves the QUIC Stream ID which is smaller than or equal to the provided + * ID. If available, sub_stream_id_out will be set and TRUE is returned. + */ +WS_DLL_PUBLIC gboolean +quic_get_stream_id_le(guint streamid, guint sub_stream_id, guint *sub_stream_id_out); + +/** + * Retrieves the QUIC Stream ID which is greater than or equal to the provided + * ID. If available, sub_stream_id_out will be set and TRUE is returned. + */ +WS_DLL_PUBLIC gboolean +quic_get_stream_id_ge(guint streamid, guint sub_stream_id, guint *sub_stream_id_out); + + #ifdef __cplusplus } #endif /* __cplusplus */ |