- HTYPE: 1 for Ethernet
- PTYPE: 0x0800 for IPv4
- HLEN: MAC addr length (6)
- PLEN: IP address length (4)
- OPER: operation
- 1 for request, 2 for reply
- SHA: Sender's MAC address
- SPA: Sender's IP address
- THA: Receiver's MAC address
- Ignored in a request, originator's MAC in a reply
- TPA: Receiver's IP address
|
Internet Protocol over Ethernet ARP packet
Octet offset |
0 |
1 |
0 |
Hardware type (HTYPE) |
2 |
Protocol type (PTYPE) |
4 |
Hardware address length (HLEN) |
Protocol address length (PLEN) |
6 |
Operation (OPER) |
8 |
Sender hardware address (SHA) (first 2 bytes) |
10 |
(next 2 bytes) |
12 |
(last 2 bytes) |
14 |
Sender protocol address (SPA) (first 2 bytes) |
16 |
(last 2 bytes) |
18 |
Target hardware address (THA) (first 2 bytes) |
20 |
(next 2 bytes) |
22 |
(last 2 bytes) |
24 |
Target protocol address (TPA) (first 2 bytes) |
26 |
(last 2 bytes) |
|