From 7d80804a04ff416f0cafbc3c60f002ab28ba7ee0 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 24 Feb 2015 20:41:33 +0100 Subject: [PATCH] ICMPv4 basic structure --- protocols/osi3/icmp.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 protocols/osi3/icmp.yml diff --git a/protocols/osi3/icmp.yml b/protocols/osi3/icmp.yml new file mode 100644 index 0000000..bffedf2 --- /dev/null +++ b/protocols/osi3/icmp.yml @@ -0,0 +1,18 @@ +# ICMP protocol +--- +protocol: &icmp + name: icmp + longname: Internet Control Message Protocol + osilayer: 3 + fields: + - field: type + length: 1 + - field: code + length: 1 + - field: checksum + length: 2 + - field: roh + desc: rest of header + length: 4 + - field: data + optional: true \ No newline at end of file