Discussion Overview
The discussion revolves around the relationship between the 16-bit total length field in the IPv4 header and the maximum size of an IP datagram, which is stated to be 65535 bytes. Participants explore the implications of this bit representation and seek clarification on how it translates to the byte limit, as well as the concept of memory locations in this context.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- Some participants express confusion about how a 16-bit number can represent a maximum of 65535 bytes, questioning the logic behind this representation.
- One participant suggests that each possible value of the 16-bit field corresponds to a memory location worth 1 byte, leading to the conclusion of 65535 bytes, but they also note that this should account for 65536 bytes if including zero.
- Another participant clarifies that with 16 bits, it is possible to represent 65536 different values, numbered from 0 to 65535, and emphasizes that most programming languages start counting from zero.
- A later reply indicates that the maximum size of an IPv4 datagram is indeed 65535 units, which may be interpreted as bytes, but also speculates on the potential for future enhancements where the unit could change.
- Another participant mentions IPv6, stating that while the basic unit remains bytes (or octets), the maximum payload size differs significantly from IPv4.
Areas of Agreement / Disagreement
Participants generally agree on the numerical representation of the 16-bit field but express differing levels of understanding regarding its implications for the maximum datagram size. The discussion remains unresolved as participants continue to seek clarity on the relationship between bits, bytes, and memory locations.
Contextual Notes
There are limitations in the discussion regarding the assumptions made about memory locations and the interpretation of the total length field. The relationship between the number of values represented by the 16 bits and the maximum datagram size is not fully clarified, leading to ongoing confusion.