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

Layer 2, Ethernet frame. More...

#include "L2.hpp"

Public Attributes

MAC dst_mac
 Destination MAC address. More...
 
MAC src_mac
 Source MAC address. More...
 
uint16_t ethertype
 
uint8_t payload [0]
 Layer 3. More...
 

Detailed Description

Layer 2, Ethernet frame.

Note
Not included in this structure is the 32-bit (4-byte) CRC checksum inserted after the payload.
See also
Header_with_VLAN

Member Data Documentation

MAC Myra::L2::Header::dst_mac

Destination MAC address.

uint16_t Myra::L2::Header::ethertype
See also
Ethertype
uint8_t Myra::L2::Header::payload[0]

Layer 3.

MAC Myra::L2::Header::src_mac

Source MAC address.


The documentation for this struct was generated from the following file: