This file contains definitions and helper functions for when layer 4 is UDP. More...
Classes | |
struct | Myra::L4_UDP::Header |
UDP header. More... | |
Namespaces | |
Myra | |
Namespace declaration for all of the Myra Canyon helper functions. | |
Myra::L3_IPv4 | |
Layer 3 is IPv4. | |
Myra::L3_IPv6 | |
Layer 3 is IPv6. | |
Myra::L4_UDP | |
Definitions and helper functions for when layer 4 is UDP. | |
Functions | |
const Header * | Myra::L4_UDP::get_header (const L3_IPv4::Header *l3) |
Get the L4_UDP::Header. More... | |
const Header * | Myra::L4_UDP::get_header (const L3_IPv6::Header *l3) |
Get the L4_UDP::Header. More... | |
uint16_t | Myra::L4_UDP::get_payload_length (const Header *header) |
Get the UDP payload length. More... | |
const uint8_t * | Myra::L4_UDP::get_payload (const Header *header) |
Get a pointer to the payload. More... | |
bool | Myra::L3_IPv4::protocol_is_UDP (const Protocol &protocol) |
Determine if a packet's layer 4 is UDP. More... | |
bool | Myra::L3_IPv4::protocol_is_UDP (const L3_IPv4::Header *l3) |
Determine if a packet's layer 4 is UDP. More... | |
bool | Myra::L3_IPv6::protocol_is_UDP (const Protocol &protocol) |
Determine if a packet's layer 4 is UDP. More... | |
bool | Myra::L3_IPv6::protocol_is_UDP (const L3_IPv6::Header *l3) |
Determine if a packet's layer 4 is UDP. More... | |
This file contains definitions and helper functions for when layer 4 is UDP.