aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.tapping
AgeCommit message (Collapse)AuthorFilesLines
2023-10-31Use C99 instead of GLib types in doc+docbookDavid Perry1-1/+1
Ran `tools/convert-glib-types.py` over the files in `doc/` and `docbook/`, then manually checked/massaged/reverted results as appropriate. One small step towards addressing #19116
2021-12-18README.tapping: Some minor updatesMartin Mathieson1-5/+10
2019-05-31README.tapping: minor changes.Dario Lombardo1-14/+7
Change-Id: I0614d4c0cc8c9aada8660297b9d08f9d03129e29 Reviewed-on: https://code.wireshark.org/review/33433 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2019-01-01Add a "failed" return for tap packet routines.Guy Harris1-7/+10
This allows taps that can fail to report an error and fail; a failed tap's packet routine won't be called again, so they don't have to keep track of whether they've failed themselves. We make the return value from the packet routine an enum. Don't have a separate type for the per-packet routine for "follow" taps; they're expected to act like tap packet routines, so just use the type for tap packet routines. One tap packet routine returned -1; that's not a valid return value, and wasn't one before this change (the return value was a boolean), so presume the intent was "don't redraw". Another tap routine's early return, without doing any work, returned TRUE; this is presumably an error (no work done, no need to redraw), so presumably it should be "don't redraw". Clean up some white space while we're at it. Change-Id: Ia7d2b717b2cace4b13c2b886e699aa4d79cc82c8 Reviewed-on: https://code.wireshark.org/review/31283 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-10-21tap-follow: fix memory leakVasil Velichkov1-5/+9
Register the follow_free as a finish callback. Call the tap's finish callback in free_tap_listener which is called from both remove_tap_listener and tap_cleanup. Describe the finish callback in README.tapping Change-Id: Ie79ce8f39b0ca6d84810d2e3307dcff38b18d3ac Reviewed-on: https://code.wireshark.org/review/29309 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-04-09Docs: Remove a bunch of GTK+ references.Gerald Combs1-2/+2
Change-Id: Icab98813d0b81a7337562e9857429d4bb98dc44c Reviewed-on: https://code.wireshark.org/review/26817 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-03Make sure per-packet tap callbacks return gbooleans.Gerald Combs1-6/+2
The tap API changed the return type of per-packet listener callbacks from int to gboolean back in 2009. Update a bunch of functions and some documentation accordingly. Change-Id: I79affe65db975caed3cc296a7e2985b7b9cdf4cc Reviewed-on: https://code.wireshark.org/review/9853 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-01-09Some more random removal of ep_ memory.Michael Mann1-1/+1
Change-Id: I6eccd20280e907bd9e6a5fcf873ccf80afddecac Reviewed-on: https://code.wireshark.org/review/6416 Petri-Dish: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-14Remove $Id$ and other Subversion leftovers from the doc files.Jeff Morriss1-2/+0
Change-Id: I28a376f7e0fd90971f65ae9c1105a3ec85221470 Reviewed-on: https://code.wireshark.org/review/204 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2011-04-05Add ICMP tap support, and add a tshark tap to measure such things as:Chris Maynard1-2/+4
* Number of ICMP echo requests, replies, lost replies and percent loss. * Min, Max, Average SRT (Service Response Time), and standard deviation. (This is my first tap, so hopefully I didn't miss something, but we'll see ...) TODO: Add a Wireshark tap. svn path=/trunk/; revision=36480
2010-04-12Add remark about including packet.h before tap.hJaap Keuter1-1/+2
svn path=/trunk/; revision=32448
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-8/+30
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-05-20From Jakub Zawadzki via bug 3421:Gerald Combs1-10/+7
e_ip->ip_ttl is currently always set to 0, in attachment fix. I also (in same patch, sorry) submit cleanup to use ep_alloc() instead of static e_ip buffers, I didn't test it, but I hope it's ok. There's note about static buffers in doc/README.tapping, which should also be updated, but I don't feel so good with my English :) From me: Rename e_ip to ws_ip. Update the static buffers note in README.tapping. svn path=/trunk/; revision=28425
2009-02-05Fix a typoJeff Morriss1-18/+18
svn path=/trunk/; revision=27375
2007-10-12From Andrew Feren:Stig Bjørlykke1-7/+7
Fix an assortment of typos and other minor errors in various README files svn path=/trunk/; revision=23166
2007-02-13Minor cleanup - spelling fixes, formattingStephen Fisher1-25/+25
svn path=/trunk/; revision=20802
2006-05-31Rename the main executable to "wireshark", along with more conversions:Gerald Combs1-11/+11
ethereal.com -> wireshark.org mailing lists and addresses ETHEREAL -> WIRESHARK Man pages Automake/Autoconf names svn path=/trunk/; revision=18271
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-2/+2
svn path=/trunk/; revision=18268
2006-05-22ethereal->wireshark updatesRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18206
2005-09-08(very minor) issue found while working on a new tapUlf Lamping1-1/+1
svn path=/trunk/; revision=15731
2005-06-09From Mike DuigouAnders Broman1-1/+1
Minor corrections to README.developer and README.tapping svn path=/trunk/; revision=14593
2005-04-01Edits, update to current "all GTK+ stuff is common" state.Guy Harris1-6/+6
svn path=/trunk/; revision=13992
2005-03-21Hint in README.tapping about the stats_tree.Luis Ontanon1-0/+4
svn path=/trunk/; revision=13857
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2003-11-29Fix two small typosJörg Mayer1-3/+3
svn path=/trunk/; revision=9118
2003-03-06Update and added text to README.tapping based on comments in theRonnie Sahlberg1-1/+40
contributed RTP tap for voice. Explained when a tap listener is called and somethings to keep in mind when adding taps to protocols that may appear multiple times inside the same packet. svn path=/trunk/; revision=7293
2002-11-28From Marco Molteni: fix a typo and a function name, and give it an RCSGuy Harris1-2/+4
ID. svn path=/trunk/; revision=6697
2002-10-25From Ronnie Sahlberg: update the tap documentation to reflect recentGuy Harris1-4/+4
changes. svn path=/trunk/; revision=6501
2002-09-06Forgot to point to tap.c for more documentation.Ronnie Sahlberg1-1/+2
svn path=/trunk/; revision=6198
2002-09-06A better than nothing doc for tapping.Ronnie Sahlberg1-0/+177
svn path=/trunk/; revision=6197