|
Wireshark 4.7.2
The Wireshark network protocol analyzer
|
A single instance of a pcapng block, holding its type descriptor, mandatory data payload, options, and reference count. More...
#include <wtap_opttypes.h>
Public Attributes | |
| struct wtap_blocktype_t * | info |
| void * | mandatory_data |
| GArray * | options |
| int | ref_count |
A single instance of a pcapng block, holding its type descriptor, mandatory data payload, options, and reference count.
| struct wtap_blocktype_t* wtap_block::info |
Pointer to the type descriptor that defines this block's structure and callbacks.
| void* wtap_block::mandatory_data |
Opaque pointer to the block's mandatory fields, allocated and managed by wtap_blocktype_t::create and wtap_blocktype_t::free_mand.
| GArray* wtap_block::options |
Dynamic array of wtap_option_t entries representing the optional fields present in this block.
| int wtap_block::ref_count |
Reference count governing the lifetime of this block; the block is freed when the count reaches zero.