Ask Your Question
0

How to find mapping for dissector?

asked 2019-11-18 05:45:54 +0000

Ian Gau gravatar image

Currently, I need to edit lua file for the mapping of dissector.
For nr-nrrc, I tried to find from the source code in github:
Github
Then I find the dissector in the comment.
My question is that:
1. Is there any dissector mapping list somewhere instead of trying to find mapping in source code?
2. What's the dissector for decoding RadioBearerConfig in nr-nrrc currently?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-18 07:43:03 +0000

grahamb gravatar image

The reference site for the Wireshark source code is currently here.

The nr-rrc dissector is an "asn1" dissector where the main protocol definition is in one or more .asn files which are combined with the .cnf and packet-xxx-template.[c|h] files to produce a C dissector, in this case packet-nr-rrc.c.

If you search that file you will find lots of references to RadioBearerConfig which may help you find what you're looking for.

edit flag offensive delete link more

Comments

And to complete @grahamb answer, there is no registered dissector for the RadioBearerConfig IE: instead where needed in our C code we call a direct function dissect_nr_rrc_RadioBearerConfig_PDU as seen in packet-nr-rrc.h.

If you are trying to decode a EN-DC LTE RRC Connection Reconfiguration, better call the LTE RRC DL DCCH dissector directly: it will call the RadioBearerConfig IE decoding function whenever needed. Same thing for a NR RRC Reconfiguration message.

Pascal Quantin gravatar imagePascal Quantin ( 2019-11-18 12:19:07 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-11-18 05:45:54 +0000

Seen: 876 times

Last updated: Nov 18 '19