Hello,
one notice: It is necessary to make one additional small change.
In the tap.h has to be inserted extern specifier to ecah function
contained in the plugin API.
---------
extern int register_tap(char *name);
extern void tap_queue_packet(int tap_id, packet_info *pinfo, void
*tap_specific_data);
---------
Plugins consisting of more than one source file are not compilable for
Windows without this extern.
Regards,
Tom Kukosa
Lars.Roland@xxxxxxx wrote:
>
> Hello all,
>
> I have attached all files and patches for a new mgcp tap including the
> patches for the plugin_api of ethereal. I have only very little knowledge about
> automake and configure, .. so I have added only a patch to the nmake makefile.
> I exported some struct definitions into the new header file
> \plugins\mgcp\packet-mgcp.h .
>
> Thanks to Ronnie Sahlberg for his input. Please checkin, if acceptable.
>
> Request/Response matching stuff has been moved to mgcp dissector routine and
> provides now a display filter field for response delay.
> MGCP responses have now a field containing the frame number of the matching
> request.
>
> One question is left for now. How can I give the frame number of the
> response to the request?
>
> the changes to packet-mgcp.c are quiet big, so
> we should also think about bumping the mgcp-plugin version to 0.0.9 .
>
> All inputs are welcome.
>
> --
> Best Regards,
>
> Lars Roland
>
> ------------------------------------------------------------------------
> Name: tap-mgcpstat.c
> tap-mgcpstat.c Type: Plain Text (text/plain)
> Encoding: base64
>
> Name: packet-mgcp.h
> packet-mgcp.h Type: Plain Text (text/plain)
> Encoding: base64
>
> Name: packet-mgcp.patch
> packet-mgcp.patch Type: Plain Text (text/plain)
> Encoding: base64
>
> Name: plugin_api.patch
> plugin_api.patch Type: Plain Text (text/plain)
> Encoding: base64
>
> Name: Makefile.nmake.patch
> Makefile.nmake.patch Type: Plain Text (text/plain)
> Encoding: base64