First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

how can we use an existing dissector inside a custom plugin? [closed]

  • retag add tags

I have written a custom plugin for a protocol that 'wraps' other protocol pdus (gsm_sms in this case, eg DELIVER_SM). Is there a simple way to call the existing dissector from the custom plugin? Building on ubuntu, using wireshark 3.4.5.

WestHamFan's avatar
16
WestHamFan
asked 2021-06-26 07:50:05 +0000, updated 2021-06-26 08:15:12 +0000
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by WestHamFan 2021-06-27 18:15:14 +0000

Comments

"Other protocol PDUs" in general, or just gsm_sms?

I.e., are you trying to find out how to specifically use gsm_sms, or will that plugin be able to wrap other PDUs?

Guy Harris's avatar Guy Harris (2021-06-26 23:40:39 +0000) edit
add a comment see more comments

1 Answer

0

Found solution by inspecting existing usage of call_dissector_XXX() family of functions.

WestHamFan's avatar
16
WestHamFan
answered 2021-06-27 18:12:43 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments