networking - IP Header: Total Length vs. Internet Header Length -


i have questions w.r.t. ip header.

if correct, total length field shows length of overall packet. internet header length (ihl) shows length of header , whether options set or not.

my question why ihl field needed if there total length field shows total length?

regards

with ipv4, header length variable. ihl pointer start of packet payload. without this, unable know payload starts.

ipv6 has fixed header size, ihl unnecessary, , doesn't exist.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -