Go to the source code of this file.
|
|
int32_t | mcast_stream_trigger |
| | Packet rate threshold (packets/s) above which a burst alarm is triggered.
|
|
int32_t | mcast_stream_bufferalarm |
| | Buffer fill level threshold at which a buffer alarm is triggered.
|
|
uint16_t | mcast_stream_burstint |
| | Burst measurement interval in milliseconds for the sliding window.
|
|
int32_t | mcast_stream_emptyspeed |
| | Drain speed of the buffer during idle periods, in bits per second.
|
|
int32_t | mcast_stream_cumulemptyspeed |
| | Cumulative drain speed of the buffer over time, in bits per second.
|
Copyright 2006, Iskratel , Slovenia By Jakob Bratkovic j.bra.nosp@m.tkov.nosp@m.ic@is.nosp@m.krat.nosp@m.el.si and Miha Jemec m.jem.nosp@m.ec@i.nosp@m.skrat.nosp@m.el.s.nosp@m.i
based on rtp_stream.h Copyright 2003, Alcatel Business Systems By Lars Ruoff lars..nosp@m.ruof.nosp@m.f@gmx.nosp@m..net
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
◆ mcaststream_tap_draw_cb
Callback invoked to redraw or refresh the multicast stream UI.
- Parameters
-
| tapinfo | Pointer to the tap info structure containing current stream data. |
◆ mcaststream_tap_reset_cb
Callback invoked to reset all multicast stream tap state.
- Parameters
-
| tapinfo | Pointer to the tap info structure to reset. |
◆ mcaststream_packet()
Tap packet callback for the mcast_streams tap.
Tap callback (tap_packet_cb) for Mcast stream tap updates. Useful if for some reason you can't register the default listener, but want to make use of the existing Mcast calculations.
- Parameters
-
| tapdata | Pointer to the mcaststream_tapinfo_t to update; cast from void* inside the function. |
| pinfo | Packet metadata for the current packet. |
| edt | The epan dissect context for the current packet. |
| data | Tap-specific data for the current packet. |
| flags | Tap flags for the current packet. |
- Returns
- TAP_PACKET_REDRAW if the display should be refreshed after this packet, TAP_PACKET_DONT_REDRAW otherwise.
◆ mcaststream_reset()
Free all accumulated mcast stream tap data.
- Parameters
-
| tapinfo | The mcast stream tap state structure to clear. |
◆ register_tap_listener_mcast_stream()
Registers the mcast_streams tap listener (if not already done).
From that point on, the Mcast streams list will be updated with every redissection. This function is also the entry point for the initialization routine of the tap system. So whenever mcast_stream.c is added to the list of WIRESHARK_TAP_SRCs, the tap will be registered on startup. If not, it will be registered on demand by the mcast_streams and mcast_analysis functions that need it.
- Parameters
-
| tapinfo | The mcast stream tap state structure to populate. |
- Returns
- NULL on success, or a GString describing the registration error (the caller must free it with g_string_free()).
◆ remove_tap_listener_mcast_stream()
Remove the mcast_streams tap listener.
- Parameters
-
| tapinfo | The mcast stream tap state structure whose listener should be removed. |