Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::net::EthernetFrameHeader Struct Reference

Structure the raw data. This is the header of an Ethernet Frame. More...

#include <ethernetframe.h>

Public Attributes

uint64_t destination_mac: 48
 The mac address of the target (Big Endian)
 
uint64_t source_mac: 48
 The mac address of the sender (Big Endian)
 
uint16_t type
 The type (Big Endian) 0x0800 = IPv4, 0x0806 = ARP, 0x86DD = IPv6.
 

Detailed Description

Structure the raw data. This is the header of an Ethernet Frame.

Definition at line 29 of file ethernetframe.h.

Member Data Documentation

◆ destination_mac

uint64_t MaxOS::net::EthernetFrameHeader::destination_mac

The mac address of the target (Big Endian)

Definition at line 31 of file ethernetframe.h.

◆ source_mac

uint64_t MaxOS::net::EthernetFrameHeader::source_mac

The mac address of the sender (Big Endian)

Definition at line 32 of file ethernetframe.h.

◆ type

uint16_t MaxOS::net::EthernetFrameHeader::type

The type (Big Endian) 0x0800 = IPv4, 0x0806 = ARP, 0x86DD = IPv6.

Definition at line 34 of file ethernetframe.h.


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