|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Functions | |
| void | parse_data (unsigned char *start_field, unsigned char *end_field, enum data_encoding encoding) |
| Parses data based on the specified encoding. | |
| void | parse_dir (const unsigned char *start_field, const unsigned char *end_field, const char *in_indicator, const char *out_indicator) |
| Parses directory information from a given field. | |
| void | parse_time (const unsigned char *start_field, const unsigned char *end_field, const char *format) |
| Parses time information from a given field and updates the timestamp. | |
| void | parse_seqno (const unsigned char *start_field, const unsigned char *end_field) |
| Parses sequence number from a given field. | |
| void | flush_packet (void) |
| Flushes the current packet and prepares for the next one. | |
| int | text_import_regex (const text_import_info_t *info) |
| Imports text data using regular expressions. | |
text_import_regex.h Regex based alternative to the state machine for text import February 2021, Paul Weiß pauln.nosp@m.ikla.nosp@m.sweis.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om
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
Based on text_import.h by Jaap Keuter jaap..nosp@m.keut.nosp@m.er@xs.nosp@m.4all.nosp@m..nl
SPDX-License-Identifier: GPL-2.0-or-later*
| void parse_data | ( | unsigned char * | start_field, |
| unsigned char * | end_field, | ||
| enum data_encoding | encoding | ||
| ) |
Parses data based on the specified encoding.
| start_field | Pointer to the start of the field containing the data. |
| end_field | Pointer to the end of the field containing the data. |
| encoding | The encoding type of the data (e.g., HEX, OCT, BIN, BASE64). |
| void parse_dir | ( | const unsigned char * | start_field, |
| const unsigned char * | end_field, | ||
| const char * | in_indicator, | ||
| const char * | out_indicator | ||
| ) |
Parses directory information from a given field.
| start_field | Pointer to the start of the field. |
| end_field | Pointer to the end of the field. |
| in_indicator | Pointer to the input indicator string. |
| out_indicator | Pointer to the output indicator string. |
| void parse_seqno | ( | const unsigned char * | start_field, |
| const unsigned char * | end_field | ||
| ) |
Parses sequence number from a given field.
| start_field | Pointer to the start of the field. |
| end_field | Pointer to the end of the field. |
| void parse_time | ( | const unsigned char * | start_field, |
| const unsigned char * | end_field, | ||
| const char * | format | ||
| ) |
Parses time information from a given field and updates the timestamp.
| start_field | Pointer to the start of the time field in the input data. |
| end_field | Pointer to the end of the time field in the input data. |
| format | The format string specifying how to parse the time field. |
| int text_import_regex | ( | const text_import_info_t * | info | ) |
Imports text data using regular expressions.
| info | Pointer to the import information structure. |