Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Myra::L4_UDP Namespace Reference

Definitions and helper functions for when layer 4 is UDP. More...

Classes

struct  Header
 UDP header. More...
 

Functions

const Headerget_header (const L3_IPv4::Header *l3)
 Get the L4_UDP::Header. More...
 
const Headerget_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...
 

Detailed Description

Definitions and helper functions for when layer 4 is UDP.

Function Documentation

const Header* Myra::L4_UDP::get_header ( const L3_IPv4::Header *  l3)
inline

Get the L4_UDP::Header.

Here is the call graph for this function:

Here is the caller graph for this function:

const Header* Myra::L4_UDP::get_header ( const L3_IPv6::Header *  l3)
inline

Get the L4_UDP::Header.

Here is the call graph for this function:

const uint8_t* Myra::L4_UDP::get_payload ( const Header *  header)
inline

Get a pointer to the payload.

Here is the caller graph for this function:

uint16_t Myra::L4_UDP::get_payload_length ( const Header *  header)
inline

Get the UDP payload length.

Here is the caller graph for this function: