AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
ether_hdr Struct Reference

An Ethernet frame's header. More...

#include <inet.h>

Data Fields

uint8_t dst [6]
uint8_t src [6]
uint16_t type

Detailed Description

An Ethernet frame's header.

Definition at line 21 of file inet.h.

Field Documentation

◆ dst

uint8_t ether_hdr::dst[6]

Definition at line 22 of file inet.h.

Referenced by ether_output(), and inet_checksum_pseudo().

◆ src

uint8_t ether_hdr::src[6]

Definition at line 23 of file inet.h.

Referenced by ether_input(), ether_output(), and inet_checksum_pseudo().

◆ type

uint16_t ether_hdr::type

Definition at line 24 of file inet.h.

Referenced by ether_input(), and ether_output().


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