aboutsummaryrefslogtreecommitdiffstats
path: root/tap-h225counter.c
Commit message (Collapse)AuthorAgeFilesLines
* Start moving files to ui/ and ui/cli/Jörg Mayer2012-02-171-384/+0
| | | | svn path=/trunk/; revision=41047
* Added a missing break.Stig Bjørlykke2011-03-271-0/+1
| | | | | | Coverity 491. svn path=/trunk/; revision=36357
* Remove unnecessary include: register.hJeff Morriss2010-09-231-1/+0
| | | | svn path=/trunk/; revision=34194
* Have tap listeners specify whether the "packet" routine requiresGuy Harris2009-06-051-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removed some more "statement not reached" warnings.Stig Bjørlykke2008-02-071-1/+0
| | | | svn path=/trunk/; revision=24283
* More rewrite of prohibited APIs (sprintf, strcpy, strcat).Stig Bjørlykke2008-02-031-2/+1
| | | | svn path=/trunk/; revision=24258
* H.460 new dissector implemented (H.460.2-H.460.22)Tomas Kukosa2007-10-181-1/+1
| | | | | | | | | | H.225 - change RysMessage_vals to h225_Rasmessage_vals - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460 asn2wrs make PDUs exportable svn path=/trunk/; revision=23226
* export more types from H.225.0 and H.245 which will be necessary for ↵Tomas Kukosa2007-10-051-1/+1
| | | | | | H.460.x, H.323 (Annex M,R), H.501 svn path=/trunk/; revision=23069
* next missing includesTomas Kukosa2007-05-141-0/+1
| | | | svn path=/trunk/; revision=21768
* Replace 14 for loops (each setting an array of integers to 0) with a memsetJeff Morriss2007-04-151-43/+4
| | | | svn path=/trunk/; revision=21441
* Tethereal/tethereal -> TShark/tshark.Gerald Combs2006-05-311-1/+1
| | | | svn path=/trunk/; revision=18268
* Ethereal->WiresharkAnders Broman2006-05-281-2/+2
| | | | svn path=/trunk/; revision=18235
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon2006-02-111-2/+2
| | | | | | the callback for multiple registrations. svn path=/trunk/; revision=17252
* Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris2005-08-201-1/+1
| | | | | | | implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
* Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris2005-08-191-1/+1
| | | | svn path=/trunk/; revision=15429
* Move the APIs for registering and processing "-z" command-line argumentsGuy Harris2005-08-191-1/+2
| | | | | | | | | | | and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
* Squelch more const warnings (and fix some memory leaks that found).Guy Harris2005-08-061-4/+3
| | | | | | | | | | _U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
* Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris2005-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
* change nmake makefiles in /trunk and /trunk/epan so thatLars Roland2005-02-131-4/+0
| | | | | | | | | | | | object code for libethereal.dll isn't generated by the makefile in /trunk. Having no code in /trunk linked into libethereal.dll anymore, the definition of the macro _NEED_VAR_IMPORT_ can be moved from various source files in /trunk to /trunk/Makefile.nmake . So do that, too. svn path=/trunk/; revision=13389
* As we've made the tap_specific_data field of a tap_packet_t structure aGuy Harris2005-01-011-2/+2
| | | | | | | | | | | | | | | const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910
* Fix from Luis Ontanon:Lars Roland2004-12-311-1/+1
| | | | | | Bring tap-h225counter.c in sync with newest revision of the h225 dissector svn path=/trunk/; revision=12901
* Move the tap infrastructure to the epan directory.Guy Harris2004-09-291-1/+1
| | | | svn path=/trunk/; revision=12128
* Move dissectors to epan/dissectors directory.Gilbert Ramirez2004-07-181-1/+1
| | | | | | | | | | Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-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
* From Lars Roland: add support for building a libethereal.dll with MSVC:Guy Harris2004-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | add a config.nmake option to control whether to build libethereal.dll or not; remove "./wiretap" from PATH to prevent problems due to wrongly-loaded files; build dissector.lib with MSVC; move "print.c" and "ps.c" to the dissector helpers, as "print.c" imports variables from packet-frame.c and packet-data.c, which are in libethereal; move "g711.c" out of the dissector helpers, as they're used only by Ethereal in a tap, not in Tethereal or in any dissector; add a .def file for libethereal; arrange to declare global variables exported from libethereal with "__declspec(dllimport)" when building programs that import those variables; update the NSIS installer. Make the "configure" script define ETH_VAR_IMPORT as "extern". svn path=/trunk/; revision=10834
* From Lars Roland: export the value_string tables from packet-h225.c andGuy Harris2003-12-151-236/+1
| | | | | | use them in the H.225 taps. svn path=/trunk/; revision=9287
* From Lars Roland: H.225 message and reason tag counter taps.Guy Harris2003-10-281-0/+662
svn path=/trunk/; revision=8794