Describes either a memory location or a view of an associated location.
This module stores byte buffers in queues using sequences of entries. The first entry holds an address, and subsequent entries hold the offset and lengths of ever-narrower views of that data. This provides a compact representation of data encoded using nested or layered protocols.
For example, in a TCP/IP stack:
- The first entry hold addresses to Ethernet frames.
- The second entry holds a zero offset and the whole frame length.
- The third entry holds the offset and length describing the IP data.
- The fourth entry holds the offset and length describing the TCP data.