MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / EthernetFrame

Class EthernetFrame

Kernel/include/net/net.h:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86} __attribute__((packed)) mac_address_t;
87
88struct EthernetFrame {
89 MACAddress dest; // Destination MAC Address
90 MACAddress src; // Source MAC Address
91 BigEndianUInt16 etherType;
92 uint8_t data[];
93} __attribute__((packed));
94
95struct ARPHeader {
96 BigEndianUInt16 hwType; // Hardware Type

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected