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

Iterator over TLVs in an SRH's TLV area. Does not allocate. More...

#include <srv6_header.hxx>

Public Member Functions

constexpr SRv6TlvIterator (const uint8_t *ptr, uint16_t len) noexcept
constexpr bool next (SRv6Tlv &out) noexcept

Detailed Description

Iterator over TLVs in an SRH's TLV area. Does not allocate.

Constructor & Destructor Documentation

◆ SRv6TlvIterator()

vbvx::SRv6TlvIterator::SRv6TlvIterator ( const uint8_t * ptr,
uint16_t len )
inlineconstexprnoexcept

Member Function Documentation

◆ next()

bool vbvx::SRv6TlvIterator::next ( SRv6Tlv & out)
inlineconstexprnoexcept

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