Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
mp2t.h File Reference
#include "wtap.h"

Go to the source code of this file.

Functions

wtap_open_return_val mp2t_open (wtap *wth, int *err, char **err_info)
 Opens an MPEG-2 Transport Stream file.
 

Detailed Description

ISO/IEC 13818-1 MPEG2-TS file format decoder for the Wiretap library. Written by Weston Schmidt westo.nosp@m.n_sc.nosp@m.hmidt.nosp@m.@alu.nosp@m.mni.p.nosp@m.urdu.nosp@m.e.edu Copyright 2012 Weston Schmidt

Wiretap Library SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ mp2t_open()

wtap_open_return_val mp2t_open ( wtap wth,
int *  err,
char **  err_info 
)

Opens an MPEG-2 Transport Stream file.

Attempts to open a file as an MPEG-2 Transport Stream and initializes the wtap structure accordingly.

Parameters
wthPointer to the wtap structure that will be initialized.
errError code if the file is not an MPEG-2 Transport Stream.
err_infoError message if the file is not an MPEG-2 Transport Stream.
Returns
wtap_open_return_val The result of opening the file, indicating success or failure.