| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
pcapng_block_type_information_t Struct Reference

Dispatch table entry registering the reader, processor, and writer callbacks for a single pcapng block type. More...

`#include <pcapng_module.h>`

## Public Attributes
unsigned | type
block_reader | reader
block_processor | processor
block_writer | writer
bool | internal
GHashTable * | option_handlers

## Detailed Description

Dispatch table entry registering the reader, processor, and writer callbacks for a single pcapng block type.

## Member Data Documentation

## ◆ internal

bool pcapng_block_type_information_t::internal

True if this block type is for internal use only and should not be returned from pcapng_read().

## ◆ option_handlers

GHashTable* pcapng_block_type_information_t::option_handlers

Hash table of option handler callbacks for this block type, keyed by option code.

## ◆ processor

block_processor pcapng_block_type_information_t::processor

Callback invoked to process and validate a deserialized block of this type.

## ◆ reader

block_reader pcapng_block_type_information_t::reader

Callback invoked to read and deserialize this block type from a file.

## ◆ type

unsigned pcapng_block_type_information_t::type

pcapng block type code as defined by the pcapng specification.

## ◆ writer

block_writer pcapng_block_type_information_t::writer

Callback invoked to serialize and write this block type to a file.

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/wiretap/pcapng_module.h