Commit Graph

6 Commits

Author SHA1 Message Date
Guy Harris cf91fdf16b Have tap listeners specify whether the "packet" routine requires
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-06-05 22:42:47 +00:00
Anders Broman 5ed6a83dff Calculate jitter and delta in ms.
svn path=/trunk/; revision=28546
2009-05-31 17:06:04 +00:00
Jeff Morriss 4dcba9a359 Don't define a static variable (the_tapinfo_struct) in a header file; instead declare it in each C file that needs it.
svn path=/trunk/; revision=26244
2008-09-21 14:50:05 +00:00
Stig Bjørlykke e59b5d6b8a Removed C++ style comments.
svn path=/trunk/; revision=24257
2008-02-03 14:44:21 +00:00
Guy Harris b26fcb0bf1 Give it an RCS ID.
svn path=/trunk/; revision=24255
2008-02-03 13:13:17 +00:00
Guy Harris 75cd81a45b One more missing file from Balint Reczey's patch for bug 2233.
svn path=/trunk/; revision=24254
2008-02-03 13:12:43 +00:00