13#ifndef __ASCEND_INT_H__
14#define __ASCEND_INT_H__
17#include "ws_symbol_export.h"
24#define ASCEND_MAX_LINE_LEN 1024
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:533
Tracks the full parser state while reading and decoding a single Ascend capture record.
Definition ascend-int.h:50
char * err_info
Definition ascend-int.h:54
struct ascend_phdr * pseudo_header
Definition ascend-int.h:55
uint32_t usecs
Definition ascend-int.h:64
int64_t first_hexbyte
Definition ascend-int.h:60
uint32_t wirelen
Definition ascend-int.h:61
bool saw_timestamp
Definition ascend-int.h:57
int err
Definition ascend-int.h:53
uint32_t caplen
Definition ascend-int.h:62
unsigned line_len
Definition ascend-int.h:59
FILE_T fh
Definition ascend-int.h:51
uint8_t * pkt_data
Definition ascend-int.h:56
ascend_token_t token
Definition ascend-int.h:65
time_t secs
Definition ascend-int.h:63
const char * ascend_parse_error
Definition ascend-int.h:52
time_t timestamp
Definition ascend-int.h:58
Holds per-file state for reading an Ascend capture file.
Definition ascend-int.h:29
bool adjusted
Definition ascend-int.h:31
int64_t next_packet_seek_start
Definition ascend-int.h:32
time_t inittime
Definition ascend-int.h:30
Holds the parsed value of a single token produced by the Ascend file lexer.
Definition ascend-int.h:39
char str_val[ASCEND_MAX_STR_LEN]
Definition ascend-int.h:44
int length
Definition ascend-int.h:40
uint16_t u16_val
Definition ascend-int.h:42
uint32_t u32_val
Definition ascend-int.h:41
uint8_t u8_val
Definition ascend-int.h:43