| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-mp2t.h
1/* packet-mp2t.h
2 *
3 * Routines for RFC 2250 MPEG2 (ISO/IEC 13818-1) Transport Stream dissection
4 *
5 * Copyright 2006, Erwin Rol <erwin@erwinrol.com>
6 * Copyright 2012-2014, Guy Martin <gmsoft@tuxicoman.be>
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 */
14
15#ifndef __PACKET_MP2T_H__
16#define __PACKET_MP2T_H__
17
18/* The MPEG2 TS packet size */
19#define MP2T_PACKET_SIZE 188
20#define MP2T_SYNC_BYTE 0x47
21
22 extern void
23mp2t_add_stream_type(packet_info *pinfo, uint32_t pid, uint32_t stream_type);
24
25WS_DLL_PUBLIC uint32_t
26mp2t_get_stream_count(void);
27
28WS_DLL_PUBLIC bool
29mp2t_get_sub_stream_id(unsigned stream, unsigned sub_stream, bool le, unsigned *sub_stream_out);
30
31 extern char *mp2t_follow_conv_filter(epan_dissect_t *edt, packet_info *pinfo, unsigned *stream, unsigned *sub_stream);
32 extern char *mp2t_follow_index_filter(unsigned stream, unsigned sub_stream);
33
34#endif /* __PACKET_MP2T_H__ */
_packet_info
Definition packet_info.h:43
epan_dissect
Definition epan_dissect.h:28
stream
Definition stream.c:41