Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ascend-int.h
Go to the documentation of this file.
1
13#ifndef __ASCEND_INT_H__
14#define __ASCEND_INT_H__
15
16#include <stdbool.h>
17#include "ws_symbol_export.h"
18
19typedef struct {
20 time_t inittime;
21 bool adjusted;
22 int64_t next_packet_seek_start;
23} ascend_t;
24
25typedef struct {
26 int length;
27 uint32_t u32_val;
28 uint16_t u16_val;
29 uint8_t u8_val;
30 char str_val[ASCEND_MAX_STR_LEN];
32
33typedef struct {
34 FILE_T fh;
35 const char *ascend_parse_error;
36 int err;
37 char *err_info;
38 struct ascend_phdr *pseudo_header;
39 uint8_t *pkt_data;
40
41 bool saw_timestamp;
42 time_t timestamp;
43
44 int64_t first_hexbyte;
45 uint32_t wirelen;
46 uint32_t caplen;
47 time_t secs;
48 uint32_t usecs;
49
50 ascend_token_t token;
52
53extern bool
54run_ascend_parser(uint8_t *pd, ascend_state_t *parser_state, int *err, char **err_info);
55
56#endif /* ! __ASCEND_INT_H__ */
Definition wtap.h:514
Definition ascend-int.h:33
Definition ascend-int.h:19
Definition ascend-int.h:25
Definition file_wrappers.c:215