Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ascend-int.h File Reference
#include <stdbool.h>
#include "ws_symbol_export.h"

Go to the source code of this file.

Classes

struct  ascend_t
 Holds per-file state for reading an Ascend capture file. More...
struct  ascend_token_t
 Holds the parsed value of a single token produced by the Ascend file lexer. More...
struct  ascend_state_t
 Tracks the full parser state while reading and decoding a single Ascend capture record. More...

Functions

bool run_ascend_parser (uint8_t *pd, ascend_state_t *parser_state, int *err, char **err_info)
 Runs the Ascend parser on the given packet data.

Detailed Description

Definitions for routines common to multiple modules in the Lucent/Ascend capture file reading code, but not used outside that code.

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

Function Documentation

◆ run_ascend_parser()

bool run_ascend_parser ( uint8_t * pd,
ascend_state_t * parser_state,
int * err,
char ** err_info )
extern

Runs the Ascend parser on the given packet data.

Parameters
pdPointer to the packet data.
parser_statePointer to the parser state structure.
errPointer to an integer where any error code will be stored.
err_infoPointer to a string where any error information will be stored.