C/C++ API Reference
Loading...
Searching...
No Matches
pw::multibuf_impl::Entry::View Struct Reference

Overview

Each of the depth - 2 subsequent entries describe the view of that data that makes up part of a MultiBuf "layer".

Public Attributes

size_type offset: 15
 Starting offset within the buffer of the data to present.
 
size_type sealed: 1
 
size_type length: 15
 Amount of data from the buffer to present.
 
size_type boundary: 1
 

Member Data Documentation

◆ boundary

size_type pw::multibuf_impl::Entry::View::boundary

Flag that is set when adding an entry or consolidating several entries in a new layer. It is used to determine how many entries represent a packet or message fragment at a particular protocol layer.

◆ sealed

size_type pw::multibuf_impl::Entry::View::sealed

Flag that is set when a layer should not be modified or removed. This can be used by lower levels of a protocol stack to indicate that upper or application layers should not modify data. This is informational and bypassable, and so should not be considered a security mechanism.


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