Ethereal-dev: [Ethereal-dev] TAP application for packet-radius.c

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

From: "achraf laamarti " <achraf.laamarti@xxxxxxxxxxxx>
Date: Tue, 04 May 2004 14:46:40 GMT
Hi,

I am actually working on packet-radius.c and i try to implement a tap application.
So i read the README.tapping in the doc.
But i have one problem concerning the call of tap_queue_packet.
In the doc it is written : 

"     In the actual dissector for that protocol, after any child dissectors
have returned, just add 'tap_queue_packet(<protocol>_tap, pinfo, <pointer>);'

<pointer> is used if the tap has any special additional data to provide to
the tap listeners. What this points to is dependant on the protocol that
is tapped, or if there are no useful extra data to provide just specify NULL.
For packet-rpc.c what we specify there is the persistant structure 'rpc_call'
which contains lots of useful information the rpc layer that a listener might
need."


But i don't know where i have to call it exactly in packet-radius.c .
If someone knows something about it,it  would be very nice.
Thank you very much.

Best regards.

C est le moment de dynamiser votre boîte mail en découvrant les offres CaraMail Premium - http://www.caramailmax.com