#include "capture_opts.h"
#include "capture_info.h"
#include "capchild/capture_session.h"
Go to the source code of this file.
|
typedef void(* | capture_callback_t) (gint event, capture_session *cap_session, gpointer user_data) |
|
typedef struct if_stat_cache_s | if_stat_cache_t |
|
|
enum | capture_cbs {
capture_cb_capture_prepared,
capture_cb_capture_update_started,
capture_cb_capture_update_continue,
capture_cb_capture_update_finished,
capture_cb_capture_fixed_started,
capture_cb_capture_fixed_continue,
capture_cb_capture_fixed_finished,
capture_cb_capture_stopping,
capture_cb_capture_failed
} |
|
Terminate the capture child cleanly when exiting.
Restart the current captured packets and start again.
Start a capture session.
- Parameters
-
capture_opts | the numerous capture options |
cap_session | a handle for the capture session |
cap_data | a struct with capture info data |
update_cb | update screen |
- Returns
- TRUE if the capture starts successfully, FALSE otherwise.
Start gathering capture statistics for the interfaces specified.
- Parameters
-
capture_opts | A structure containing options for the capture. |
- Returns
- A pointer to the statistics state data.
void capture_stat_stop |
( |
if_stat_cache_t * |
sc | ) |
|
Stop gathering capture statistics.
Stop a capture session (usually from a menu item).