Manu-sh / YASU

YASU - Yet another sniffing utility (WIP)
GNU General Public License v3.0
0 stars 0 forks source link

ip header length #1

Closed Manu-sh closed 6 years ago

Manu-sh commented 6 years ago

According to wikipedia (and rfc-791): The Internet Header Length (IHL) field has 4 bits, which is the number of 32-bit words. Since an IPv4 header may contain a variable number of options, this field specifies the size of the header.

https://tools.ietf.org/html/rfc791 IHL: 4 bits Internet Header Length is the length of the internet header in 32 bit words, and thus points to the beginning of the data. Note that the minimum value for a correct header is 5.