Thanks a lot Roland. Now that I know what to look for packet-sip.c gives a nice example.
Cheers Uli Am 29.01.18 um 18:03 schrieb Roland Knall: > Short answer: packet_info->layers should get you the list of protocols called > before yours. If you iterate, you should > see the other protocols before yours. In packet.c:754 you see the code adding > to the list. > > Not sure though, how stable that interface is. It is pretty in-depth for > span, so you should be save to use it, but not > sure, if it is official, or if there is another way. > > cheers > Roland > > On Sun, Jan 28, 2018 at 10:59 PM, Uli Heilmeier <u...@heilmeier.eu > <mailto:u...@heilmeier.eu>> wrote: > > Hi all, > > TL,DR: > How does a dissector know which dissector called it? > ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe