Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-mp2t.h
blob4ab78dc186fcfd6a3561110eb525e4e3b9a46450
1 /* packet-mp2t.h
3 * Routines for RFC 2250 MPEG2 (ISO/IEC 13818-1) Transport Stream dissection
5 * Copyright 2006, Erwin Rol <erwin@erwinrol.com>
6 * Copyright 2012-2014, Guy Martin <gmsoft@tuxicoman.be>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #ifndef __PACKET_MP2T_H__
16 #define __PACKET_MP2T_H__
18 /* The MPEG2 TS packet size */
19 #define MP2T_PACKET_SIZE 188
20 #define MP2T_SYNC_BYTE 0x47
22 extern void
23 mp2t_add_stream_type(packet_info *pinfo, uint32_t pid, uint32_t stream_type);
25 WS_DLL_PUBLIC uint32_t
26 mp2t_get_stream_count(void);
28 WS_DLL_PUBLIC bool
29 mp2t_get_sub_stream_id(unsigned stream, unsigned sub_stream, bool le, unsigned *sub_stream_out);
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);
34 #endif /* __PACKET_MP2T_H__ */