VBVX 0.1.0
Header-only C++23 library for safe, zero-copy parsing of packet buffers.
Loading...
Searching...
No Matches
ArpHeaderBytesFixture Class Reference
Inheritance diagram for ArpHeaderBytesFixture:

Protected Member Functions

void SetUp () override
HeaderView< ArpHeaderhv_view () const

Protected Attributes

ArpHeader tmp {}
std::array< uint8_t, 6 > sha {1, 2, 3, 4, 5, 6}
std::array< uint8_t, 4 > spa {192, 168, 0, 1}
std::array< uint8_t, sizeof(ArpHeader)> raw {}

Member Function Documentation

◆ hv_view()

HeaderView< ArpHeader > ArpHeaderBytesFixture::hv_view ( ) const
inlineprotected

◆ SetUp()

void ArpHeaderBytesFixture::SetUp ( )
inlineoverrideprotected

Member Data Documentation

◆ raw

std::array<uint8_t, sizeof(ArpHeader)> ArpHeaderBytesFixture::raw {}
protected

◆ sha

std::array<uint8_t, 6> ArpHeaderBytesFixture::sha {1, 2, 3, 4, 5, 6}
protected

◆ spa

std::array<uint8_t, 4> ArpHeaderBytesFixture::spa {192, 168, 0, 1}
protected

◆ tmp

ArpHeader ArpHeaderBytesFixture::tmp {}
protected

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