Which of the following has an offset field that specifies the length of the header and data?
A. IP Header
B. UDP Header
C. ICMP Header
D. TCP Header
5 Comments on “Which of the following has an offset field that specifies the length of the header and data?”
Shadowsays:
“A” ECSAv8 pg. 63
Umbrasays:
D. TCP Header
TCP has the data offset field http://www.networksorcery.com/enp/protocol/tcp.htm#Data%20Offset
Data Offset. 4 bits.
The number of 32-bit words in the TCP header. This indicates where the data begins. The length of the TCP header is always a multiple of 32 bits.
IP and ICMP don’t carry data. UDP has no offset field since it does hold options.
Manosays:
A.
Maybe the word offset is what is confusing here but:
TCP header has an offset which indicates the length of the header ALONE. i.e. it tells you where the data part starts.
IP header has a similar parameter (IHL) which tells you the length of the header. But then also has another field (bits 16-31) which tell you the total length of header + data i.e. total size of the IP packet.
Question asks for offset which specifies length of header and data.
Hence A.
Manosays:
and btw, ofcourse IP and ICMP packets carry data – everything that is passed from the stack above i.e TCP segments etc..
tcwsays:
D is the correct answer according to ECSAv10.
The TCP header has an Offset field that specifies the length of header and data, whereas the UDP header has a UDP Length field that determines the total size of the UDP packet.
“A” ECSAv8 pg. 63
D. TCP Header
TCP has the data offset field
http://www.networksorcery.com/enp/protocol/tcp.htm#Data%20Offset
Data Offset. 4 bits.
The number of 32-bit words in the TCP header. This indicates where the data begins. The length of the TCP header is always a multiple of 32 bits.
IP and ICMP don’t carry data. UDP has no offset field since it does hold options.
A.
Maybe the word offset is what is confusing here but:
TCP header has an offset which indicates the length of the header ALONE. i.e. it tells you where the data part starts.
IP header has a similar parameter (IHL) which tells you the length of the header. But then also has another field (bits 16-31) which tell you the total length of header + data i.e. total size of the IP packet.
Question asks for offset which specifies length of header and data.
Hence A.
and btw, ofcourse IP and ICMP packets carry data – everything that is passed from the stack above i.e TCP segments etc..
D is the correct answer according to ECSAv10.
The TCP header has an Offset field that specifies the length of header and data, whereas the UDP header has a UDP Length field that determines the total size of the UDP packet.