Logo Search packages:      
Sourcecode: wireshark version File versions  Download package

capture.h File Reference


Detailed Description

Capture related things.

Definition in file capture.h.

#include "capture_opts.h"

Go to the source code of this file.

Typedefs

typedef void(* capture_callback_t )(gint event, capture_options *capture_opts, gpointer user_data)
typedef struct if_stat_cache_s if_stat_cache_t

Enumerations

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
}

Functions

void capture_callback_add (capture_callback_t func, gpointer user_data)
void capture_callback_remove (capture_callback_t func)
void capture_input_cfilter_error_message (capture_options *capture_opts, char *error_message)
void capture_input_closed (capture_options *capture_opts, gchar *msg)
void capture_input_drops (capture_options *capture_opts, guint32 dropped)
void capture_input_error_message (capture_options *capture_opts, char *error_message, char *secondary_error_msg)
gboolean capture_input_new_file (capture_options *capture_opts, gchar *new_file)
void capture_input_new_packets (capture_options *capture_opts, int to_read)
void capture_kill_child (capture_options *capture_opts)
void capture_restart (capture_options *capture_opts)
gboolean capture_start (capture_options *capture_opts)
if_stat_cache_t * capture_stat_start (GList *if_list)
void capture_stat_stop (if_stat_cache_t *sc)
gboolean capture_stats (if_stat_cache_t *sc, char *ifname, struct pcap_stat *ps)
void capture_stop (capture_options *capture_opts)


Generated by  Doxygen 1.6.0   Back to index