|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include "wtap.h"Go to the source code of this file.
Classes | |
| struct | logger_entry |
| struct | logger_entry_v2 |
Macros | |
| #define | LOGGER_ENTRY_MAX_PAYLOAD 4076 |
Functions | |
| wtap_open_return_val | logcat_open (wtap *wth, int *err, char **err_info) |
| Opens a logcat capture file for reading. | |
| int | logcat_exported_pdu_length (const uint8_t *pd) |
| Calculate the length of a PDU (Protocol Data Unit) in a Logcat packet. | |
Copyright 2014, Michal Labedzki for Tieto Corporation
SPDX-License-Identifier: GPL-2.0-or-later
| int logcat_exported_pdu_length | ( | const uint8_t * | pd | ) |
Calculate the length of a PDU (Protocol Data Unit) in a Logcat packet.
This function calculates the total length of a PDU by iterating through the tags and their lengths.
| pd | Pointer to the beginning of the PDU data. |
| wtap_open_return_val logcat_open | ( | wtap * | wth, |
| int * | err, | ||
| char ** | err_info | ||
| ) |
Opens a logcat capture file for reading.
This function initializes the wtap structure to read from a JSON log file.
| wth | Pointer to the wtap structure that will be initialized. |
| err | Pointer to an integer where error codes can be stored. |
| err_info | Pointer to a string where error information can be stored. |