13#ifndef __ASCEND_INT_H__
14#define __ASCEND_INT_H__
17#include "ws_symbol_export.h"
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.
Pseudo-header for Ascend WAN capture files carrying session, call, and task metadata.
Definition wtap.h:530
Tracks the full parser state while reading and decoding a single Ascend capture record.
Definition ascend-int.h:43
char * err_info
Definition ascend-int.h:47
struct ascend_phdr * pseudo_header
Definition ascend-int.h:48
uint32_t usecs
Definition ascend-int.h:56
int64_t first_hexbyte
Definition ascend-int.h:52
uint32_t wirelen
Definition ascend-int.h:53
bool saw_timestamp
Definition ascend-int.h:50
int err
Definition ascend-int.h:46
uint32_t caplen
Definition ascend-int.h:54
FILE_T fh
Definition ascend-int.h:44
uint8_t * pkt_data
Definition ascend-int.h:49
ascend_token_t token
Definition ascend-int.h:57
time_t secs
Definition ascend-int.h:55
const char * ascend_parse_error
Definition ascend-int.h:45
time_t timestamp
Definition ascend-int.h:51
Holds per-file state for reading an Ascend capture file.
Definition ascend-int.h:22
bool adjusted
Definition ascend-int.h:24
int64_t next_packet_seek_start
Definition ascend-int.h:25
time_t inittime
Definition ascend-int.h:23
Holds the parsed value of a single token produced by the Ascend file lexer.
Definition ascend-int.h:32
char str_val[ASCEND_MAX_STR_LEN]
Definition ascend-int.h:37
int length
Definition ascend-int.h:33
uint16_t u16_val
Definition ascend-int.h:35
uint32_t u32_val
Definition ascend-int.h:34
uint8_t u8_val
Definition ascend-int.h:36