Max OS 0.3
Loading...
Searching...
No Matches
ethernetframe.h File Reference

Defines classes for handling Ethernet Frames and their payloads. More...

#include <cstdint>
#include <common/map.h>
#include <drivers/ethernet/ethernet.h>
#include <memory/memorymanagement.h>

Go to the source code of this file.

Classes

struct  MaxOS::net::EthernetFrameHeader
 Structure the raw data. This is the header of an Ethernet Frame. More...
 
struct  MaxOS::net::EthernetFrameFooter
 Structure the raw data. This is the footer of an Ethernet Frame. More...
 
class  MaxOS::net::EthernetFramePayloadHandler
 Handles a specific type of Ethernet Frame payload. More...
 
class  MaxOS::net::EthernetFrameHandler
 Handles incoming Ethernet Frames and routes them to the appropriate payload handlers. More...
 

Typedefs

typedef struct PACKED MaxOS::net::EthernetFrameHeader MaxOS::net::ethernet_frame_header_t
 Alias for EthernetFrameHeader struct.
 
typedef struct PACKED MaxOS::net::EthernetFrameFooter MaxOS::net::ethernet_frame_footer_t
 Alias for EthernetFrameFooter struct.
 

Detailed Description

Defines classes for handling Ethernet Frames and their payloads.

Date
11th May 2022
Author
Max Tyson
Todo:
Make big endian helper functions and clairty (ie be_uint16_t etc)z

Definition in file ethernetframe.h.