25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

► Destination <strong>IP</strong> Address: The 32-bit <strong>IP</strong> address of the destination host for this<br />

datagram.<br />

► Options: An <strong>IP</strong> implementation is not required to be capable of generating<br />

options in a datagram. However, all <strong>IP</strong> implementations are required to be<br />

able to process datagrams containing options. The Options field is variable in<br />

length (there can be zero or more options). There are two option formats. The<br />

format for each is dependent on the value of the option number found in the<br />

first octet:<br />

– A type octet alone is illustrated in Figure 3-20.<br />

type<br />

1 byte<br />

Figure 3-20 <strong>IP</strong>: A type byte<br />

– A type octet, a length octet, <strong>and</strong> one or more option data octets, as<br />

illustrated in Figure 3-21.<br />

Figure 3-21 <strong>IP</strong>: A type byte, a length byte, <strong>and</strong> one or more option data bytes<br />

The type byte has the same structure in both cases, as illustrated in<br />

Figure 3-22.<br />

Figure 3-22 <strong>IP</strong>: The type byte structure<br />

102 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

type length option data...<br />

1 byte 1 byte<br />

length - 2 bytes<br />

/ /<br />

/ /

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!