Wireshark mailing list archives
ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector
From: Changqin Xia <xiachangqin66 () hotmail com>
Date: Wed, 22 Jun 2011 07:18:58 +0800
Hi, all I am a newbie on dissector development. I have a question about the "dissector_add( )" function. I went through a few examples, most of them are using "tcp.port" or "udp.port" or something like that. My dissector not uses any port number to instruct wireshark to pass packets to my dissector, my dissector is using "Magic" (the first byte). Any one can tell me if I use the magic number to realize dissector_add( ) function, what should I do? any example? any other dissector in the same way? or Any part on the "README.developer" talking about this? Thanks John
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector Changqin Xia (Jun 21)
- Re: [Wireshark-dev] ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector Chris Maynard (Jun 21)
- Re: ask about dissector_add ( ) function to instruct wireshark to pass packet to my dissector Guy Harris (Jun 21)