|
Wireshark
4.3.0
The Wireshark network protocol analyzer
|
#include <wireshark.h>Go to the source code of this file.
Classes | |
| struct | ws_mempbrk_pattern |
Functions | |
| WS_DLL_PUBLIC void | ws_mempbrk_compile (ws_mempbrk_pattern *pattern, const char *needles) |
| WS_DLL_PUBLIC const uint8_t * | ws_mempbrk_exec (const uint8_t *haystack, size_t haystacklen, const ws_mempbrk_pattern *pattern, unsigned char *found_needle) |
Wireshark - Network traffic analyzer By Gerald Combs gerald@wireshark.org Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
| WS_DLL_PUBLIC void ws_mempbrk_compile | ( | ws_mempbrk_pattern * | pattern, |
| const char * | needles | ||
| ) |
Compile the pattern for the needles to find using ws_mempbrk_exec().
| WS_DLL_PUBLIC const uint8_t* ws_mempbrk_exec | ( | const uint8_t * | haystack, |
| size_t | haystacklen, | ||
| const ws_mempbrk_pattern * | pattern, | ||
| unsigned char * | found_needle | ||
| ) |
Scan for the needles specified by the compiled pattern.