Definitions and helper functions for when layer 4 is UDP. More...
Classes | |
struct | Header |
UDP header. More... | |
Functions | |
const Header * | get_header (const L3_IPv4::Header *l3) |
Get the L4_UDP::Header. More... | |
const Header * | get_header (const L3_IPv6::Header *l3) |
Get the L4_UDP::Header. More... | |
uint16_t | get_payload_length (const Header *header) |
Get the UDP payload length. More... | |
const uint8_t * | get_payload (const Header *header) |
Get a pointer to the payload. More... | |
Definitions and helper functions for when layer 4 is UDP.
|
inline |
Get the L4_UDP::Header.
|
inline |
|
inline |
Get a pointer to the payload.
|
inline |
Get the UDP payload length.