arp protocol

This commit is contained in:
Marcel 2015-02-24 20:32:00 +01:00
parent 1a3b59ed74
commit 0f1591a411
1 changed files with 35 additions and 0 deletions

35
protocols/osi1-2/arp.yml Normal file
View File

@ -0,0 +1,35 @@
# arp
---
protocol: &arp
name: arp
osilayer: 2
fields:
- field: htype
desc: Hardware type
length: 2
- field: ptype
desc: Protocol type
length: 2
- field: hlen
desc: Hardware address length
length: 1
- field: plen
desc: Protocol address length
length: 1
- field: oper
desc: Operation
length: 2
- field: sha
desc: sender hardware address
reflength: hlen
- field: spa
desc: sender protocol address
reflength: plen
- field: tha
desc: target hardware address
reflength: hlen
- field: tpa
desc: target protocol address
reflength: plen