#include "config.h"
#include "wtap-int.h"
#include "wtap_opttypes.h"
#include "pcapng.h"
#include "pcapng_module.h"
#include "pcapng-netflix-custom.h"
|
#define | NFLX_BLOCK_TYPE_EVENT 1 |
|
#define | NFLX_BLOCK_TYPE_SKIP 2 |
|
#define | MIN_NFLX_CB_SIZE ((uint32_t)sizeof(pcapng_nflx_custom_block_t)) |
|
|
wtap_opttype_return_val | wtap_block_get_nflx_custom_option (wtap_block_t block, uint32_t nflx_type, char *nflx_custom_data, size_t nflx_custom_data_len) |
|
bool | pcapng_read_nflx_custom_block (FILE_T fh, uint32_t block_payload_length, section_info_t *section_info, wtapng_block_t *wblock, int *err, char **err_info) |
|
bool | pcapng_process_nflx_custom_option (wtapng_block_t *wblock, section_info_t *section_info, const uint8_t *value, uint16_t length) |
|
bool | pcapng_write_nflx_custom_block (wtap_dumper *wdh, const wtap_rec *rec, int *err, char **err_info) |
|
void | register_nflx_custom (void) |
|
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 2001 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
◆ wtap_block_get_nflx_custom_option()
wtap_opttype_return_val wtap_block_get_nflx_custom_option |
( |
wtap_block_t |
block, |
|
|
uint32_t |
nflx_type, |
|
|
char * |
nflx_custom_data, |
|
|
size_t |
nflx_custom_data_len |
|
) |
| |
Get an NFLX custom option value from a block
- Parameters
-
[in] | block | Block from which to get the option value |
[in] | nflx_type | type of the option |
[out] | nflx_custom_data | Returned value of NFLX custom option value |
[in] | nflx_custom_data_len | size of buffer provided in nflx_custom_data |
- Returns
- wtap_opttype_return_val - WTAP_OPTTYPE_SUCCESS if successful, error code otherwise