{
  "slug": "parse-ipv4-header",
  "name": "gizza-ai/parse-ipv4-header",
  "version": "0.1.0",
  "title": "IPv4 Header Parser — decode a raw IPv4 packet header from hex — gizza.ai",
  "description": "IPv4 header parser: paste hex and decode DSCP/ECN, flags, fragment offset, TTL, protocol, checksum validity, and addresses — free, in your browser.",
  "tags": [
    "ipv4 header parser",
    "decode ipv4 header",
    "ip packet header",
    "ip header decoder",
    "dscp",
    "ecn",
    "ttl",
    "ip protocol number",
    "header checksum",
    "fragment offset"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/parse-ipv4-header/",
    "markdown": "https://gizza.ai/tools/parse-ipv4-header/index.md",
    "descriptor": "https://gizza.ai/tools/parse-ipv4-header/tool.json",
    "deep_link_example": "https://gizza.ai/tools/parse-ipv4-header/?header=4500%20003c%201c46%204000%204006%20b1e6%20c0a8%200068%20c0a8%200001"
  },
  "cli": "gizza tool parse-ipv4-header \"4500 003c 1c46 4000 4006 b1e6 c0a8 0068 c0a8 0001\"",
  "tool": {
    "description": "Decode a raw IPv4 packet header given as a hex string into structured fields: version, IHL (header length), DSCP and ECN (from the ToS byte), total length and implied payload length, identification, flags (Don't Fragment / More Fragments), fragment offset (in 8-byte units and bytes), TTL, protocol number (named when known, e.g. TCP/UDP/ICMP/GRE/ESP), the header checksum (with a validity check computed over the header), source and destination IPv4 addresses, and any IP options when IHL > 5. Input may contain spaces, colons, dashes, dots, or a 0x prefix. Returns JSON. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "header": {
          "description": "The IPv4 packet header as a hex string (at least the first 20 bytes). Spaces, colons, dashes, dots, and a 0x prefix are ignored, e.g. '4500003c1c46400040 06 b1e6 c0a80068 c0a80001'.",
          "type": "string"
        }
      },
      "required": [
        "header"
      ],
      "type": "object"
    }
  }
}