I want to calculate IP-header length with following statement:
Header Length is a four-bit field that tells, as the name implies, the
length of the IP header in 32-bit words
Now I’m getting difficulties in calculating IP header length (minimum and maximum), with four-bit field.
Which means whatever value is stored in the IHL, it should be multiplied with 32 to get the total number of bits, or with 4 to get the total number of bytes.