From b0f4af7f9fff8965ffacc8412c484e8b71ad09a7 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 11 Oct 2015 18:25:39 +0000 Subject: [PATCH] forgotten file. git-svn-id: svn://kolibrios.org@5843 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/icmp/ip.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 programs/network/icmp/ip.inc diff --git a/programs/network/icmp/ip.inc b/programs/network/icmp/ip.inc new file mode 100644 index 0000000000..81cc2c277d --- /dev/null +++ b/programs/network/icmp/ip.inc @@ -0,0 +1,15 @@ + +struct IPv4_header + + VersionAndIHL db ? ; Version[0-3 bits] and IHL(header length)[4-7 bits] + TypeOfService db ? ; precedence [7-5] minimize delay [4], maximize throughput [3], maximize riliability [2] minimize momentary cost [1] and zero [0] + TotalLength dw ? + Identification dw ? + FlagsAndFragmentOffset dw ? ; Flags[0-2] and FragmentOffset[3-15] + TimeToLive db ? ; + Protocol db ? + HeaderChecksum dw ? + SourceAddress dd ? + DestinationAddress dd ? + +ends \ No newline at end of file