new ARP()
ARP protocol layer
Properties| Name | Type | Description |
|---|---|---|
data.hardwareType | number | Hardware type (HTYPE) |
data.protocolType | number | Protocol type (PTYPE) |
data.hardwareLength | number | Hardware address length (HLEN) |
data.protocolLength | number | Protocol length (PLEN) |
data.opcode | 'who-has' | | Operation: 1 (request) for `who-has`, 2 (reply) for `is-at`. |
data.hardwareSrc | string | Sender hardware address (SHA) |
data.protocolSrc | string | Sender protocol address (SPA) |
data.hardwareDst | string | Target hardware address (THA) |
data.protocolDst | string | Target protocol address (TPA) |
- Implements
- Source