Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
summary.h
Go to the documentation of this file.
1
12#ifndef __SUMMARY_H__
13#define __SUMMARY_H__
14
15#ifdef HAVE_LIBPCAP
16#include "ui/capture.h"
17#endif
18
19#ifdef __cplusplus
20extern "C" {
21#endif /* __cplusplus */
22
23typedef struct iface_summary_info_tag {
24 char *name;
25 char *descr;
26 char *cfilter;
27 char *isb_comment;
28 uint64_t drops;
30 int snap;
33
34#define HASH_STR_SIZE (65) /* Max hash size * 2 + '\0' */
35
36typedef struct _summary_tally {
37 uint64_t bytes;
38 double start_time;
39 double stop_time;
40 double elapsed_time;
43 uint32_t marked_count;
44 uint32_t marked_count_ts;
45 uint64_t marked_bytes;
46 double marked_start;
47 double marked_stop;
48 uint32_t ignored_count;
49 uint32_t packet_count;
50 uint32_t packet_count_ts;
51 uint32_t filtered_count;
53 uint64_t filtered_bytes;
56 const char *filename;
57 int64_t file_length;
58 char file_sha256[HASH_STR_SIZE];
59 char file_sha1[HASH_STR_SIZE];
61 wtap_compression_type compression_type;
64 int snap;
66 uint64_t drops;
67 const char *dfilter;
68 bool is_tempfile;
69 /* capture related, use summary_fill_in_capture() to get values */
70 GArray *ifaces;
71 bool legacy;
73
74extern void
75summary_fill_in(capture_file *cf, summary_tally *st);
76
77#ifdef HAVE_LIBPCAP
78extern void
79summary_fill_in_capture(capture_file *cf, capture_options *capture_opts, summary_tally *st);
80#endif
81
82#ifdef __cplusplus
83}
84#endif /* __cplusplus */
85
86#endif /* summary.h */
Definition cfile.h:67
Definition summary.h:36
char file_sha1[HASH_STR_SIZE]
Definition summary.h:59
GArray * packet_encap_types
Definition summary.h:63
uint64_t filtered_bytes
Definition summary.h:53
wtap_compression_type compression_type
Definition summary.h:61
int64_t file_length
Definition summary.h:57
int file_encap_type
Definition summary.h:62
double marked_start
Definition summary.h:46
uint32_t packet_count_ts
Definition summary.h:50
uint32_t filtered_count
Definition summary.h:51
uint32_t marked_count
Definition summary.h:43
uint32_t ignored_count
Definition summary.h:48
uint64_t bytes
Definition summary.h:37
char file_sha256[HASH_STR_SIZE]
Definition summary.h:58
double stop_time
Definition summary.h:39
double filtered_stop
Definition summary.h:55
int snap
Definition summary.h:64
uint64_t marked_bytes
Definition summary.h:45
double start_time
Definition summary.h:38
const char * dfilter
Definition summary.h:67
bool drops_known
Definition summary.h:65
double filtered_start
Definition summary.h:54
double elapsed_time
Definition summary.h:40
double marked_stop
Definition summary.h:47
uint64_t drops
Definition summary.h:66
int file_type
Definition summary.h:60
uint32_t marked_count_ts
Definition summary.h:44
uint32_t packet_count
Definition summary.h:49
const char * filename
Definition summary.h:56
uint32_t filtered_count_ts
Definition summary.h:52
Definition capture_opts.h:248
Definition summary.h:23
bool drops_known
Definition summary.h:29
int snap
Definition summary.h:30
int encap_type
Definition summary.h:31
uint64_t drops
Definition summary.h:28