| 86 | } __attribute__((packed)) mac_address_t; |
| 87 | |
| 88 | struct EthernetFrame { |
| 89 | MACAddress dest; // Destination MAC Address |
| 90 | MACAddress src; // Source MAC Address |
| 91 | BigEndianUInt16 etherType; |
| 92 | uint8_t data[]; |
| 93 | } __attribute__((packed)); |
| 94 | |
| 95 | struct ARPHeader { |
| 96 | BigEndianUInt16 hwType; // Hardware Type |
nothing calls this directly
no outgoing calls
no test coverage detected