diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-28 22:46:49 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-28 22:46:49 +0000 |
commit | 399c8212543cbeadd00aa69cd090856ca1f7e64a (patch) | |
tree | 8209e606f3916a26eca6e7d97362bb4bf137ac75 /file.h | |
parent | 88ffe080662114e43b002a8cd3dd279b6a3ccdc1 (diff) |
Another step towards using the parent/child mode for ALL captures.
This is currently still disabled, as we cannot pass all required capture flags to the child process (lack of command line parameters).
svn path=/trunk/; revision=13558
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -199,6 +199,22 @@ void cf_set_drops_known(capture_file *cf, gboolean drops_known); void cf_set_drops(capture_file *cf, guint32 drops); /** + * Get flag state, if the number of packet drops while capturing are known or not. + * + * @param cf the capture file + * @return TRUE if the number of packet drops are known, FALSE otherwise + */ +gboolean cf_get_drops_known(capture_file *cf); + +/** + * Get the number of packet drops while capturing. + * + * @param cf the capture file + * @return the number of packet drops occured while capturing + */ +guint32 cf_get_drops(capture_file *cf); + +/** * Set the read filter. * @todo this shouldn't be required, remove it somehow * |