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

Defines classes and structures for handling Internet Protocol version 4 (IPv4) packets. More...

#include <cstdint>
#include <net/ethernetframe.h>

Go to the source code of this file.

Classes

struct  MaxOS::net::IPV4Header
 The header of an IPv4 packet. More...
 
class  MaxOS::net::IPV4AddressResolver
 Resolves IP addresses to MAC addresses. More...
 
class  MaxOS::net::IPV4PayloadHandler
 Handles the payload of a specific IP protocol. More...
 
class  MaxOS::net::InternetProtocolHandler
 Handles IPv4 packets over Ethernet frames. More...
 

Typedefs

typedef uint32_t MaxOS::net::InternetProtocolAddress
 An IPv4 address.
 
typedef uint32_t MaxOS::net::SubnetMask
 A subnet mask.
 
typedef struct PACKED MaxOS::net::IPV4Header MaxOS::net::ipv4_header_t
 Alias for IPV4Header struct.
 

Detailed Description

Defines classes and structures for handling Internet Protocol version 4 (IPv4) packets.

Date
22nd November 2022
Author
Max Tyson

Definition in file ipv4.h.

Typedef Documentation

◆ InternetProtocolAddress

An IPv4 address.

Todo:
: Make IPv4Address class and do ip_t

Definition at line 18 of file ipv4.h.

◆ SubnetMask

typedef uint32_t MaxOS::net::SubnetMask

A subnet mask.

Todo:
: Make SubnetMask class and do subnetmask_t

Definition at line 19 of file ipv4.h.