Go to the source code of this file.
|
|
int32_t | mcast_stream_trigger |
| |
|
int32_t | mcast_stream_bufferalarm |
| |
|
uint16_t | mcast_stream_burstint |
| |
|
int32_t | mcast_stream_emptyspeed |
| |
|
int32_t | mcast_stream_cumulemptyspeed |
| |
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_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. |