ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] dissector plugin

Date: Mon, 9 Apr 2012 01:01:32 -0500
Hello,

i am trying to write a plugin dissector for tinyos packets. I have a couple of questions with it:

it is a network layer protocol with a simple strucure : AM_type, payload.

The dissector samples have a port number field to associate the dissector with the incoming packets. Now wireshark cannot grab these packets directly
but i am sending these packets to Wireshark over a pipe. Now what value shoudl i give for the port number and how does wireshark know when to use this dissector since
there is not port no field in my packet.

PS: This is a dissector for network layer packet in IEEE 802.15.4 stack.

Complete frame format: FCS | Seq# | Addressing Info | AM_type | Payload | CRC


Thnks,
Vijay