next up previous contents
Next: ICMP header Up: TCP/IP header fields Previous: TCP header   Contents

UDP header

The following fields are defined for the UDP header, as described in [RFC768]:


\begin{displaymath}
\begin{tabular}{l\vert cccccccccccccccccccccccccccccccc\vert...
...e{2-33}
\multicolumn{33}{l}{{\tt udp\_data}} \\
\end{tabular}\end{displaymath}

All fields listed above are based on udp_hdr, which in turn is defined as follows:

field udp_hdr = ip_nexthdr if ip_proto == IPPROTO_UDP;



Martin A. Brown 2003-11-06