Ethereal-dev: [Ethereal-dev] IPsec as plugin?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Dr. Uwe Girlich" <Uwe.Girlich@xxxxxxxxxxx>
Date: Wed, 26 Feb 2003 14:06:50 +0100
Hello!

In the way to expand the IPsec dissector, I created some new files and think,
that all this stuff (scanner, parser, ciphers, etc.) might be better placed in
a plugin directory, so I just started to convert packet-ipsec.c into a plugin.
The problem is, that in packet-ipv6.c, there is a direct call to

int
dissect_ah_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                  guint8 *nxt_p, proto_tree **next_tree_p)

which is in packet-ipsec.c. How can we solve this? A temporary solution would
be to move the dissect_ah_header() source into packet-ipv6.c and export this
symbol to the plugin. Is there a cleaner way?

Bye, Uwe