From 0f1591a411df15a8c83df71032313971d35dc6bb Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 24 Feb 2015 20:32:00 +0100 Subject: [PATCH] arp protocol --- protocols/osi1-2/arp.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 protocols/osi1-2/arp.yml diff --git a/protocols/osi1-2/arp.yml b/protocols/osi1-2/arp.yml new file mode 100644 index 0000000..5ec47d6 --- /dev/null +++ b/protocols/osi1-2/arp.yml @@ -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 + +