Use the #.FN_BODY directive
http://wiki.ethereal.com/Asn2eth
On Wed, 26 Jan 2005 17:34:41 -0700, Alejandro Vaquero
<alejandrovaquero@xxxxxxxxx> wrote:
> Hi All,
> I've added more information to the H225 dissector for tap to be used
> in the "Voip Call analysis". One of the parameters that I need is if
> H245 tunneling is on or off in a H225 packet. The code that I need in
> packet-h225.c is:
>
> static int
> dissect_h245Tunneling(tvbuff_t *tvb, int offset, packet_info *pinfo,
> proto_tree *tree)
> {
> offset=dissect_per_boolean(tvb, offset, pinfo, tree,
> hf_h225_h245Tunneling, &(h225_pi->is_h245Tunneling), NULL);
> return offset;
> }
>
> I added this code directly in packet-h225-template.c but the problem
> is that the script also generate the same function
> dissect_h245Tunneling. I don't want to remove it from the h225.asn
> because it is necessary. The function generated by the script is:
>
> static int dissect_h245Tunneling(tvbuff_t *tvb, int offset, packet_info
> *pinfo,
> proto_tree *tree) {
> return dissect_h225_BOOLEAN(tvb, offset, pinfo, tree,
> hf_h225_h245Tunneling);
> }
>
> How can I solve this?
>
> Thanks
> Alejandro
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>