next up previous contents
Next: TCP header Up: TCP/IP header fields Previous: Packet meta data   Contents

IPv4 header

The following fields are defined for the IP version 4 header, as described in [RFC791]:

\begin{tabular}{l\vert cccccccccccccccccccccccccccccccc\vert...
\multicolumn{33}{l}{{\tt ip\_nexthdr}} \\

The definition of the ip_tos octet2.4revised, and is now called the ``Differentiated Services field''. The corresponding definitions are described in section 2.13.2. Additional convenience fields for the traditional and now deprecated use of ip_tos are described in section 2.13.2.

Note that ip_src and ip_dst are of type ``IPv4 address''.

The following flags are used for handling IP fragments:

\begin{tabular}{\vert c\vert c\vert c\vert}
...ip\_RF} & {\tt ip\_DF} & {\tt ip\_MF} \\

Martin A. Brown 2003-11-06