This file contains some definitions and helper functions for working with TCP options. More...
#include "Types.hpp"
Namespaces | |
Myra | |
Namespace declaration for all of the Myra Canyon helper functions. | |
Myra::L4_TCP | |
Definitions and helper functions for when layer 4 is TCP. | |
Enumerations | |
enum | Myra::L4_TCP::Options { Myra::L4_TCP::Options::EndOfOption = 0, Myra::L4_TCP::Options::NoOp = 1, Myra::L4_TCP::Options::MaximumSegmentSize = 2, Myra::L4_TCP::Options::WindowScale = 3, Myra::L4_TCP::Options::SACKPermitted = 4, Myra::L4_TCP::Options::SACK = 5, Myra::L4_TCP::Options::Timestamp = 8, Myra::L4_TCP::Options::Unknown = 255 } |
TCP options which may be found between the TCP header and the payload. More... | |
Functions | |
Options | Myra::L4_TCP::get_option (const uint8_t *raw) |
Convert the option at the given location to Myra::L4_TCP::Options. More... | |
const uint8_t * | Myra::L4_TCP::get_next_option (const uint8_t *raw) |
Starting at the location specified by raw , find the location of the next TCP option. More... | |
This file contains some definitions and helper functions for working with TCP options.