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{displaymath}
\begin{tabular}{l\vert cccccccccccccccccccccccccccccccc\vert...
...2-33}
\multicolumn{33}{l}{{\tt ip\_nexthdr}} \\
\end{tabular}\end{displaymath}

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{displaymath}
\begin{tabular}{\vert c\vert c\vert c\vert}
\multicolumn{1}...
...ip\_RF} & {\tt ip\_DF} & {\tt ip\_MF} \\
\hline
\end{tabular}\end{displaymath}



Martin A. Brown 2003-11-06