diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-08-12 14:09:35 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-08-18 20:17:20 +0000 |
commit | 0e8cc9ab0ad41d09cbc886d1283266aea989c563 (patch) | |
tree | 4baceddfc9d74c8754dce9226f82678bf4a050ae /ui/mcast_stream.h | |
parent | 9a3d4e6eef9851f7368c89364add3759919b8f95 (diff) | |
download | wireshark-0e8cc9ab0ad41d09cbc886d1283266aea989c563.tar.gz wireshark-0e8cc9ab0ad41d09cbc886d1283266aea989c563.tar.bz2 wireshark-0e8cc9ab0ad41d09cbc886d1283266aea989c563.zip |
UDP multicast stream dialog.
Add the UDP multicast stream dialog. Abuse TapParameterDialog a bit more
so that we can edit parameters.
Remove some unused struct members and an unused function.
Change-Id: I962c70344e792f0959527e4bcba8a20bd7e8acf9
Reviewed-on: https://code.wireshark.org/review/10084
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/mcast_stream.h')
-rw-r--r-- | ui/mcast_stream.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/mcast_stream.h b/ui/mcast_stream.h index f3417aee73..e780f8e885 100644 --- a/ui/mcast_stream.h +++ b/ui/mcast_stream.h @@ -52,7 +52,7 @@ typedef struct buffer{ gint32 buffstatus; /* buffer status */ gint32 numbuffalarms; /* number of alarms triggered by buffer underruns */ gint32 topbuffusage; /* top buffer usage in refresh interval */ - double maxbw; /* maximum bandwidth usage */ + double maxbw; /* Maximum bandwidth usage. Bits/s */ } t_buffer; @@ -63,9 +63,9 @@ typedef struct _mcast_stream_info { address dest_addr; guint16 dest_port; guint32 npackets; - guint32 apackets; + double apackets; guint32 total_bytes; - double average_bw; + double average_bw; /* Bits/s */ guint32 first_frame_num; /* frame number of first frame */ /* start of recording (GMT) of this stream */ @@ -83,13 +83,13 @@ typedef struct _mcast_stream_info { /* structure that holds the information about all detected streams */ /* struct holding all information of the tap */ typedef struct _mcaststream_tapinfo { - tap_draw_cb tap_draw; /**< tap draw callback */ - int nstreams; /* number of streams in the list */ - GList* strinfo_list; /* list with all streams */ + gpointer user_data; /* User data pointer */ + tap_reset_cb tap_reset; /**< tap reset callback */ + tap_draw_cb tap_draw; /**< tap draw callback */ + GList* strinfo_list; /* list of mcast_stream_info_t */ guint32 npackets; /* total number of mcast packets of all streams */ mcast_stream_info_t* allstreams; /* structure holding information common for all streams */ - guint32 launch_count; /* number of times the tap has been run */ gboolean is_registered; /* if the tap listener is currently registered or not */ } mcaststream_tapinfo_t; |