Skip to content

Instantly share code, notes, and snippets.

@krisives
Created December 13, 2016 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisives/819810e2c0d94ea1cac6efe0e0f7ac28 to your computer and use it in GitHub Desktop.
Save krisives/819810e2c0d94ea1cac6efe0e0f7ac28 to your computer and use it in GitHub Desktop.

IP4 Header

Offset Length Notes
0 1 Version & Header Length
1 1 Type of Service (ToS)
2 2 Total Length
4 2 Packet ID
6 2 Fragment Offset
8 1 TTL
9 1 Protocol
10 2 Checksum
12 4 Source IP
16 4 Destination IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment