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