| 93 | } __attribute__((packed)); |
| 94 | |
| 95 | struct ARPHeader { |
| 96 | BigEndianUInt16 hwType; // Hardware Type |
| 97 | BigEndianUInt16 prType; // Protocol Type |
| 98 | uint8_t hLength = 6; // Hardware Address Length |
| 99 | uint8_t pLength = 4; // Protocol Address Length |
| 100 | BigEndianUInt16 opcode; // ARP Operation Code |
| 101 | MACAddress srcHwAddr; // Source hardware address |
| 102 | IPv4Address srcPrAddr; // Source protocol address |
| 103 | MACAddress destHwAddr; // Destination hardware address |
| 104 | IPv4Address destPrAddr; // Destination protocol address |
| 105 | } __attribute__((packed)); |
| 106 | |
| 107 | struct UDPHeader { |
| 108 | BigEndianUInt16 srcPort; |
nothing calls this directly
no outgoing calls
no test coverage detected