forked from osmocom/wireshark
Clean up indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13323 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
ff7eac46c8
commit
cac1f678f1
48
capture.h
48
capture.h
|
@ -37,36 +37,36 @@
|
||||||
/** Capture options coming from user interface */
|
/** Capture options coming from user interface */
|
||||||
typedef struct capture_options_tag {
|
typedef struct capture_options_tag {
|
||||||
/* general */
|
/* general */
|
||||||
void *cf; /**< handle to cfile (note: untyped handle) */
|
void *cf; /**< handle to cfile (note: untyped handle) */
|
||||||
gchar *cfilter; /**< Capture filter string */
|
gchar *cfilter; /**< Capture filter string */
|
||||||
gchar *iface; /**< the network interface to capture from */
|
gchar *iface; /**< the network interface to capture from */
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
int buffer_size; /**< the capture buffer size (MB) */
|
int buffer_size; /**< the capture buffer size (MB) */
|
||||||
#endif
|
#endif
|
||||||
gboolean has_snaplen; /**< TRUE if maximum capture packet
|
gboolean has_snaplen; /**< TRUE if maximum capture packet length
|
||||||
length is specified */
|
is specified */
|
||||||
int snaplen; /**< Maximum captured packet length */
|
int snaplen; /**< Maximum captured packet length */
|
||||||
gboolean promisc_mode; /**< Capture in promiscuous mode */
|
gboolean promisc_mode; /**< Capture in promiscuous mode */
|
||||||
int linktype; /**< Data link type to use, or -1 for
|
int linktype; /**< Data link type to use, or -1 for
|
||||||
"use default" */
|
"use default" */
|
||||||
gboolean capture_child; /**< True if this is the child for "-S" */
|
gboolean capture_child; /**< True if this is the child for "-S" */
|
||||||
gchar *save_file; /**< the capture file name */
|
gchar *save_file; /**< the capture file name */
|
||||||
int save_file_fd; /**< File descriptor for saved file */
|
int save_file_fd; /**< File descriptor for saved file */
|
||||||
|
|
||||||
/* GUI related */
|
/* GUI related */
|
||||||
gboolean sync_mode; /**< Fork a child to do the capture,
|
gboolean sync_mode; /**< Fork a child to do the capture,
|
||||||
and sync between them */
|
and sync between them */
|
||||||
gboolean show_info; /**< show the info dialog */
|
gboolean show_info; /**< show the info dialog */
|
||||||
gboolean quit_after_cap; /** Makes a "capture only mode". Implies -k */
|
gboolean quit_after_cap; /** Makes a "capture only mode". Implies -k */
|
||||||
|
|
||||||
/* multiple files (and ringbuffer) */
|
/* multiple files (and ringbuffer) */
|
||||||
gboolean multi_files_on; /**< TRUE if ring buffer in use */
|
gboolean multi_files_on; /**< TRUE if ring buffer in use */
|
||||||
|
|
||||||
gboolean has_file_duration; /**< TRUE if ring duration specified */
|
gboolean has_file_duration; /**< TRUE if ring duration specified */
|
||||||
gint32 file_duration; /* Switch file after n seconds */
|
gint32 file_duration; /* Switch file after n seconds */
|
||||||
gboolean has_ring_num_files;/**< TRUE if ring num_files specified */
|
gboolean has_ring_num_files;/**< TRUE if ring num_files specified */
|
||||||
guint32 ring_num_files; /**< Number of multiple buffer files */
|
guint32 ring_num_files; /**< Number of multiple buffer files */
|
||||||
|
|
||||||
/* autostop conditions */
|
/* autostop conditions */
|
||||||
gboolean has_autostop_files;/**< TRUE if maximum number of capture files
|
gboolean has_autostop_files;/**< TRUE if maximum number of capture files
|
||||||
|
@ -75,13 +75,13 @@ typedef struct capture_options_tag {
|
||||||
|
|
||||||
gboolean has_autostop_packets; /**< TRUE if maximum packet count is
|
gboolean has_autostop_packets; /**< TRUE if maximum packet count is
|
||||||
specified */
|
specified */
|
||||||
int autostop_packets; /**< Maximum packet count */
|
int autostop_packets; /**< Maximum packet count */
|
||||||
gboolean has_autostop_filesize; /**< TRUE if maximum capture file size
|
gboolean has_autostop_filesize; /**< TRUE if maximum capture file size
|
||||||
is specified */
|
is specified */
|
||||||
gint32 autostop_filesize; /**< Maximum capture file size */
|
gint32 autostop_filesize; /**< Maximum capture file size */
|
||||||
gboolean has_autostop_duration; /**< TRUE if maximum capture duration
|
gboolean has_autostop_duration; /**< TRUE if maximum capture duration
|
||||||
is specified */
|
is specified */
|
||||||
gint32 autostop_duration; /**< Maximum capture duration */
|
gint32 autostop_duration; /**< Maximum capture duration */
|
||||||
|
|
||||||
/* internally used (don't touch from outside) */
|
/* internally used (don't touch from outside) */
|
||||||
int fork_child; /**< If not -1, in parent, process ID of child */
|
int fork_child; /**< If not -1, in parent, process ID of child */
|
||||||
|
|
Loading…
Reference in New Issue