Wireshark-dev: Re: [Wireshark-dev] dissector handoff question
From: Stephen Fisher <[email protected]>
Date: Mon, 18 Jun 2007 16:12:47 -0700
On Mon, Jun 18, 2007 at 04:06:04PM -0700, Yashwant Shitoot wrote:

> In my proto_reg_handoff_ntpmgcp(...); when I call
> dissector_add("udp.data", currentPort, ntpmgcp_handle);
> What I am trying to get is reveive all "data" for all udp packets 
> captured by the filter. This is the only protocol used to communicate 
> with some ip addresses using udp.

You need to do dissector_add("udp.port" ... and then you will get all of 
the UDP data sent to your dissector.