Definitions and helper functions for when layer 4 is ICMPv6. More...
Classes | |
struct | Header |
ICMPv6 header. More... | |
Enumerations | |
enum | Type { Type::DestinationUnreachable = 1, Type::PacketTooBig = 2, Type::TimeExceeded = 3, Type::ParameterProblem = 4, Type::EchoRequest = 128, Type::EchoReply = 129, Type::MulticastQuery = 130, Type::MulticastListenerReport = 131, Type::MulticastListenerDone = 132, Type::RouterSolicitation = 133, Type::RouterAdvertisement = 134, Type::NeighbourSolicitation = 135, Type::NeighbourAdvertisement = 136, Type::Unknown = 255 } |
ICMPv6 types. More... | |
Functions | |
const Header * | get_header (const L3_IPv6::Header *l3) |
Get the L4_ICMPv6::Header. More... | |
Type | get_type (const Header *header) |
Get the type from the header. More... | |
uint16_t | get_payload_length (const L3_IPv6::Header *l3) |
Number of bytes in ICMP payload. More... | |
std::string | to_string (const Type &type) |
Convert the type to a short text string. More... | |
bool | is_known_type (const Type &type) |
Determine if the type is a known value. More... | |
bool | is_unknown_type (const Type &type) |
Determine if the type is unknown. More... | |
Definitions and helper functions for when layer 4 is ICMPv6.
|
strong |
ICMPv6 types.
|
inline |
Get the L4_ICMPv6::Header.
|
inline |
Number of bytes in ICMP payload.
|
inline |
Get the type from the header.
|
inline |
Determine if the type is a known value.
|
inline |
Determine if the type is unknown.
|
inline |
Convert the type to a short text string.