
IPv4 Header
The IPv4 header (RFC 791) for GATE CS: the layout of the 20-byte fixed part and up to 40 bytes of options, each field's width and unit (IHL in 4-byte words, total length in bytes, fragment offset in 8-byte units), the flags, TTL and its decrement, protocol numbers, the header-only checksum and why every router recomputes it, the size limits that follow from field widths, and a solved 2024 past question on which fields every router changes.




