|
CS43 Lab7 - A Router Stack
1.2019
|
Struct of an ARP header. More...
#include <sr_protocol.h>
Public Attributes | |
| unsigned short | ar_hrd |
| format of hardware address | |
| unsigned short | ar_pro |
| format of protocol address | |
| unsigned char | ar_hln |
| length of hardware address | |
| unsigned char | ar_pln |
| length of protocol address | |
| unsigned short | ar_op |
| ARP opcode (command) | |
| unsigned char | ar_sha [ETHER_ADDR_LEN] |
| sender hardware address | |
| uint32_t | ar_sip |
| sender IP address | |
| unsigned char | ar_tha [ETHER_ADDR_LEN] |
| target hardware address | |
| uint32_t | ar_tip |
| target IP address | |
Struct of an ARP header.
1.8.13