Go to the source code of this file.
|
#define | PEN_NFLX 10949 |
|
#define | NFLX_OPT_TYPE_VERSION 1 |
|
#define | NFLX_OPT_TYPE_TCPINFO 2 |
|
#define | NFLX_OPT_TYPE_DUMPINFO 4 |
|
#define | NFLX_OPT_TYPE_DUMPTIME 5 |
|
#define | NFLX_OPT_TYPE_STACKNAME 6 |
|
#define | NFLX_TLB_FLAG_RXBUF 0x0001 /* Includes receive buffer info */ |
|
#define | NFLX_TLB_FLAG_TXBUF 0x0002 /* Includes send buffer info */ |
|
#define | NFLX_TLB_FLAG_HDR 0x0004 /* Includes a TCP header */ |
|
#define | NFLX_TLB_FLAG_VERBOSE 0x0008 /* Includes function/line numbers */ |
|
#define | NFLX_TLB_FLAG_STACKINFO 0x0010 /* Includes stack-specific info */ |
|
#define | NFLX_TLB_TF_REQ_SCALE 0x00000020 /* Sent WS option */ |
|
#define | NFLX_TLB_TF_RCVD_SCALE 0x00000040 /* Received WS option */ |
|
#define | NFLX_TLB_TCPS_ESTABLISHED 4 |
|
#define | NFLX_TLB_IS_SYNCHRONIZED(state) (state >= NFLX_TLB_TCPS_ESTABLISHED) |
|
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_add_nflx_custom_option()
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_nflx_custom_option |
( |
wtap_block_t |
block, |
|
|
uint32_t |
nflx_type, |
|
|
const char * |
nflx_custom_data, |
|
|
size_t |
nflx_custom_data_len |
|
) |
| |
Add an NFLX custom option to a block
- Parameters
-
[in] | block | Block to which to add the option |
[in] | nflx_type | NFLX option type |
[in] | nflx_custom_data | pointer to the data |
[in] | nflx_custom_data_len | length of custom_data |
- Returns
- wtap_opttype_return_val - WTAP_OPTTYPE_SUCCESS if successful, error code otherwise
◆ wtap_block_get_nflx_custom_option()
WS_DLL_PUBLIC 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