Wireshark-dev: [Wireshark-dev] Reusing certain enums and rrc_sub_types from packet-gsmtap.c

From: Tamás Regős <regost@xxxxxxxxx>
Date: Wed, 4 Feb 2026 11:17:49 +0700
Hi Dev Team,

Would it be ok to allow reusing certain enums and the rrc_sub_types from packet-gsmtap.c?

What I mean is to move a complete enum structure from packet-gsmtap.c to packet-gsmtap.h and also define a value_string array in the header file.

The related code is

enum {
GSMTAP_RRC_SUB_DL_DCCH_Message = 0,
...
}

and
const value_string rrc_sub_types[]

For now I had to completely duplicate these in the new code (packet-qcdiag) I've been working on.

Thank you.

Regards,
Tamas