| 0 |
Control. |
| 1 |
Reserved for future use. |
| 2 |
Debugging and measurement. |
| 3 |
Reserved for future use. |
5 bits: Option
number.
Data
IP data
or higher layer protocol header.
Interested
in more details about testing this protocol?
IPv6
RFC1883 http://www.cis.ohio-state.edu/htbin/rfc/rfc1883.html
RFC1827 http://www.cis.ohio-state.edu/htbin/rfc/rfc1827.html
IP version 6
(IPv6) is a new version of the Internet Protocol
based on IPv4. IPv4 and IPv6 are demultiplexed
at the media layer. For example, IPv6 packets
are carried over Ethernet with the content type
86DD (hexadecimal) instead of IPv4s 0800.
IPv6 increases
the IP address size from 32 bits to 128 bits,
to support more levels of addressing hierarchy,
a much greater number of addressable nodes and
simpler auto-configuration of addresses. Scalability
of multicast addresses is introduced. A new
type of address called an anycast address
is also defined, to send a packet to any one
of a group of nodes.
Improved
support for extensions and options
- IPv6 options
are placed in separate headers that are located
between the IPv6 header and the transport layer
header. Changes in the way IP header options
are encoded allow more efficient forwarding,
less stringent limits on the length of options,
and greater flexibility for introducing new
options in the future. The extension headers
are: Hop-by-Hop Option, Routing (Type 0), Fragment,
Destination Option, Authentication, Encapsulation
Payload.
Flow labeling
capability
- A new capability
has been added to enable the labeling of packets
belonging to particular traffic flows for which
the sender requests special handling, such as
non-default Quality of Service or real-time
service.
The IPv6 header
structure is as follows:
|
4 |
4 |
16 |
24 |
32 bits |
|
Ver. |
Priority |
Flow label |
|
Payload length |
Next header |
Hop limit |
Source address
(128 Bits)
|
Destination address
(128 bits)
|
IPv6
header structure |
Version
Internet
Protocol Version number (IPv6 is 6).
Priority
Enables
a source to identify the desired delivery priority
of the packets. Priority values are divided
into ranges: traffic where the source provides
congestion control and non-congestion control
traffic.
Flow label
Used by
a source to label those products for which it
requests special handling by the IPv6 router.
The flow is uniquely identified by the combination
of a source address and a non-zero flow label.
Payload length
Length
of payload (in octets).
Next header
Identifies
the type of header immediately following the
IPv6 header.
Hop limit
8-bit
integer that is decremented by one by each node
that forwards the packet. The packet is discarded
if the Hop Limit is decremented to zero.
Source address
128-bit
address of the originator of the packet.
Destination
address
128-bit
address of the intended recipient of the packet.
Interested
in more details about testing this protocol?
TCP
RFC793 http://www.cis.ohio-state.edu/htbin/rfc/rfc793.html
RFC1146 http://www.cis.ohio-state.edu/htbin/rfc/rfc1146.html
RFC1072 http://www.cis.ohio-state.edu/htbin/rfc/rfc1072.html
This RFC has been replaced by RFC
1323.
The information on this page will be updated
to suit the new RFC in the near future.
RFC1693 http://www.cis.ohio-state.edu/htbin/rfc/rfc1693.html
IETF RFC793
defines the Transmission Control Protocol (TCP).
TCP provides a reliable stream delivery and
virtual connection service to applications through
the use of sequenced acknowledgment with retransmission
of packets when necessary.
The TCP header
structure is as follows:
|
16 |
32 bits |
|
Source port |
Destination
port |
|
Sequence number |
|
Acknowledgement number |
|
Offset |
Resrvd |
U |
A |
P |
R |
S |
F |
Window |
|
Checksum |
Urgent pointer |
|
Option + Padding |
|
Data |
|
TCP
header structure |
Source port
Source
port number.
Destination
port
Destination
port number.
Sequence
number
The sequence
number of the first data octet in this segment
(except when SYN is present). If SYN is present,
the sequence number is the initial sequence
number (ISN) and the first data octet is ISN+1.
Acknowledgment
number
If the
ACK control bit is set, this field contains
the value of the next sequence number which
the sender of the segment is expecting to receive.
Once a connection is established, this value
is always sent.
Data offset
4 bits.
The number of 32-bit words in the TCP header,
which indicates where the data begins. The TCP
header (even one including options) has a length
which is an integral number of 32 bits.
Reserved
6 bits. Reserved
for future use. Must be zero.
Control bits
6 bits. The control
bits may be (from right to left):
| U (URG) |
Urgent pointer field significant. |
| A (ACK) |
Acknowledgment field significant. |
| P (PSH) |
Push function. |
| R (RST) |
Reset the connection. |
| S (SYN) |
Synchronize sequence numbers. |
| F (FIN) |
No more data from sender. |
Window
16 bits. The
number of data octets which the sender of this
segment is willing to accept, beginning with
the octet indicated in the acknowledgment field.
Checksum
16 bits. The
checksum field is the 16 bit ones complement
of the ones complement sum of all 16-bit
words in the header and text. If a segment contains
an odd number of header and text octets to be
checksummed, the last octet is padded on the
right with zeros to form a 16-bit word for checksum
purposes. The pad is not transmitted as part
of the segment. While computing the checksum,
the checksum field itself is replaced with zeros.
Urgent Pointer
16 bits. This
field communicates the current value of the
urgent pointer as a positive offset from the
sequence number in this segment. The urgent
pointer points to the sequence number of the
octet following the urgent data. This field
can only be interpreted in segments for which
the URG control bit has been set.
Options
Options may be
transmitted at the end of the TCP header and
always have a length which is a multiple of
8 bits. All options are included in the checksum.
An option may begin on any octet boundary.
| There are two possible formats for an
option: |
-
A single
octet of option type.
-
An octet
of option type, an octet
of option length, and
the actual option data
octets.
|