aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-12-17 01:18:14 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-12-17 01:18:14 +0000
commit47be3577a731492ab1667fdc39233094051c01a6 (patch)
tree8239ff427bfe4e5c475b4f8429f0fef9186cf773 /file.h
parentfaec4bde007d7d17da690477b7736059394c09fd (diff)
Introduce "Ignore Packet" in the packet list.
This will remove the package from the dissection functions without removing it from the capture file. svn path=/trunk/; revision=31287
Diffstat (limited to 'file.h')
-rw-r--r--file.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/file.h b/file.h
index 97c478399b..0fe0bb43f2 100644
--- a/file.h
+++ b/file.h
@@ -457,6 +457,22 @@ void cf_mark_frame(capture_file *cf, frame_data *frame);
void cf_unmark_frame(capture_file *cf, frame_data *frame);
/**
+ * Ignore a particular frame in a particular capture.
+ *
+ * @param cf the capture file
+ * @param frame the frame to be ignored
+ */
+void cf_ignore_frame(capture_file *cf, frame_data *frame);
+
+/**
+ * Unignore a particular frame in a particular capture.
+ *
+ * @param cf the capture file
+ * @param frame the frame to be unignored
+ */
+void cf_unignore_frame(capture_file *cf, frame_data *frame);
+
+/**
* Convert error number and info to a complete message.
*
* @param err the error number