|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include "ws_symbol_export.h"#include <epan/proto.h>#include <epan/to_str.h>#include <epan/tvbuff.h>Go to the source code of this file.
Functions | |
| WS_DLL_PUBLIC unsigned | dvb_analyze_string_charset (tvbuff_t *tvb, int offset, int length, dvb_encoding_e *encoding) |
| Analyzes the character set of a DVB string. | |
| WS_DLL_PUBLIC unsigned | dvb_enc_to_item_enc (dvb_encoding_e encoding) |
| Convert DVB encoding to item encoding. | |
| WS_DLL_PUBLIC void | dvb_add_chartbl (proto_tree *tree, int hf, tvbuff_t *tvb, int offset, int length, dvb_encoding_e encoding) |
| Adds a character table to the protocol tree. | |
Routines for handling DVB-SI character tables (as defined in EN 300 468)
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
| WS_DLL_PUBLIC void dvb_add_chartbl | ( | proto_tree * | tree, |
| int | hf, | ||
| tvbuff_t * | tvb, | ||
| int | offset, | ||
| int | length, | ||
| dvb_encoding_e | encoding | ||
| ) |
Adds a character table to the protocol tree.
This function adds a character table to the protocol tree based on the provided parameters.
| tree | The protocol tree to which the character table will be added. |
| hf | The field ID for the character table. |
| tvb | The TV buffer containing the data. |
| offset | The offset within the TV buffer where the data starts. |
| length | The length of the data in the TV buffer. |
| encoding | The encoding type of the character table. |
| WS_DLL_PUBLIC unsigned dvb_analyze_string_charset | ( | tvbuff_t * | tvb, |
| int | offset, | ||
| int | length, | ||
| dvb_encoding_e * | encoding | ||
| ) |
Analyzes the character set of a DVB string.
Determines the encoding of a DVB string based on its first byte and length.
| tvb | The TVB buffer containing the DVB data. |
| offset | The starting offset within the TVB buffer. |
| length | The length of the DVB string to analyze. |
| encoding | Pointer to store the detected encoding. |
| WS_DLL_PUBLIC unsigned dvb_enc_to_item_enc | ( | dvb_encoding_e | encoding | ) |
Convert DVB encoding to item encoding.
| encoding | The DVB encoding to convert. |