FreeNOS
Data Fields
Ethernet::Header Struct Reference

Ethernet network packet header. More...

#include <Ethernet.h>

Data Fields

Address destination
 packet destination address More...
 
Address source
 packet source address More...
 
u16 type
 payload type More...
 

Detailed Description

Ethernet network packet header.

This header is prepended to every ethernet packet send on the actual physical link.

Definition at line 64 of file Ethernet.h.

Field Documentation

◆ destination

Address Ethernet::Header::destination

packet destination address

Definition at line 66 of file Ethernet.h.

Referenced by Ethernet::getTransmitPacket(), ARP::sendReply(), and ARP::sendRequest().

◆ source

Address Ethernet::Header::source

packet source address

Definition at line 67 of file Ethernet.h.

Referenced by Ethernet::getTransmitPacket(), ARP::process(), ARP::sendReply(), and ARP::sendRequest().

◆ type

u16 Ethernet::Header::type

payload type

Definition at line 68 of file Ethernet.h.

Referenced by Ethernet::getTransmitPacket(), and Ethernet::process().


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