class RxBuffer
Defined at line 170 of file ../../src/connectivity/network/tun/network-tun/buffer.h
Public Methods
void PushRxSpace (const fuchsia_hardware_network_driver::wire::RxSpaceBuffer & space)
Adds more rx buffer space to this buffer.
Defined at line 173 of file ../../src/connectivity/network/tun/network-tun/buffer.cc
template <typename F>
void WithSpace (F fn)
Calls the provided closure function once for each buffer space in this RxBuffer.
Defined at line 177 of file ../../src/connectivity/network/tun/network-tun/buffer.h
template <typename F>
void WithReturn (size_t written_length, F fn)
Calls the provided closure function once for each return buffer part in this RxBuffer. The
total length of the buffer parts is capped to `written_length` bytes.
Defined at line 189 of file ../../src/connectivity/network/tun/network-tun/buffer.h
Protected Methods
void RxBuffer (VmoStore * vmo_store)
Defined at line 205 of file ../../src/connectivity/network/tun/network-tun/buffer.h
Friends
class VmoStore