-------- Original-Nachricht -------- > Datum: Fri, 1 Apr 2011 15:54:40 -0600 > Von: Stephen Fisher <[email protected]> > An: Developer support list for Wireshark <[email protected]> > Betreff: Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)
> On Fri, Apr 01, 2011 at 02:36:50PM -0400, Bill Meier wrote: > > > Take at look at the data struct passed to register_tap() (or whatever > > it's called) when the tap is created by the dissector. > > > > I'm not a 'tap' expert, but I think a ptr to that struct is passed to > > the tap callback fcn called for each frame. > > The tap_queue_packet() function takes three parameters: > > void tap_queue_packet(int tap_id, packet_info *pinfo, const void > *tap_specific_data) > > The third value, tap_specific_data can be used to pass any data you > would like from a dissector to the tap functions. Dear Stephen, BIG THANK YOU! That made my day :) :) ^^^ Now it's weekend! -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
