Ask Your Question
0

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

asked 2021-06-26 07:50:05 +0000

WestHamFan gravatar image

updated 2021-06-26 08:15:12 +0000

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by WestHamFan
close date 2021-06-27 18:15:14.950785

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 gravatar imageGuy Harris ( 2021-06-26 23:40:39 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-27 18:12:43 +0000

WestHamFan gravatar image

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

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-06-26 07:50:05 +0000

Seen: 59 times

Last updated: Jun 27