Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
compute_options_size_t Struct Reference

Accumulator and callback used to compute the total serialized size of a block's options. More...

#include <pcapng_module.h>

Public Attributes

uint32_t size
compute_option_size_func compute_option_size

Detailed Description

Accumulator and callback used to compute the total serialized size of a block's options.

Member Data Documentation

◆ compute_option_size

compute_option_size_func compute_options_size_t::compute_option_size

Callback invoked per option to calculate and add that option's contribution to size.

◆ size

uint32_t compute_options_size_t::size

Running total size in bytes accumulated across all options processed so far.


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