GSM A RR: expose parse_reduced_frame_number()

This function will be used by the RSL dissector to show parsed RFN
value in the upcoming patch.
This commit is contained in:
Vadim Yanitskiy 2022-10-15 01:56:40 +07:00 committed by A Wireshark GitLab Utility
parent 9006f25701
commit 269d3a9968
1 changed files with 1 additions and 1 deletions

View File

@ -5198,7 +5198,7 @@ de_rr_rach_ctrl_param(tvbuff_t *tvb, proto_tree *subtree, packet_info *pinfo _U_
/*
* [3] 10.5.2.30 Request Reference M V 3
*/
static guint16 parse_reduced_frame_number(tvbuff_t *tvb, const gint offset)
guint16 parse_reduced_frame_number(tvbuff_t *tvb, const gint offset)
{
/* great care needed with signed/unsigned - -1 in unsigned is 0xffff, which mod(26) is not what you think !!! */
gint16 t2, t3, t;