Wireshark  4.3.0
The Wireshark network protocol analyzer
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
23 mp2t_add_stream_type(packet_info *pinfo, guint32 pid, guint32 stream_type);
24 
25 #endif /* __PACKET_MP2T_H__ */
Definition: packet_info.h:44