Struct end_of_options_t

Inheritance Relationships

Base Type

Struct Documentation

struct libnokogiri::pcapng::options::end_of_options_t : public libnokogiri::pcapng::option_t

Sentinel type for the end of a collection of options.

This special struct is used to signify the end of a collection of options.

Therefore it has no members or methods other than those relating to the base option_t class.

Within the list of options this is represented as 4 bytes of consecutive 0x00’s

The option is represented in file as follows

 0               1               2               3
 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            0x0000U            |            0x0000U            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Public Functions

constexpr end_of_options_t() noexcept