\hypertarget{structsniff__udp}{}\section{sniff\+\_\+udp Struct Reference}
\label{structsniff__udp}\index{sniff\+\_\+udp@{sniff\+\_\+udp}}


The \hyperlink{structsniff__tcp}{sniff\+\_\+tcp} struct contains the U\+D\+P header. We use the first two members to extract the src and dst port. Used to extract T\+C\+P transport layer information from a packet.  




{\ttfamily \#include $<$udp\+\_\+hdr.\+h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structsniff__udp_a49a8d651767d716a5cb21f25746c7064}{}u\+\_\+short {\bfseries th\+\_\+sport}\label{structsniff__udp_a49a8d651767d716a5cb21f25746c7064}

\item 
\hypertarget{structsniff__udp_a3874575e288e08feaa5998a9eb374ff3}{}u\+\_\+short {\bfseries th\+\_\+dport}\label{structsniff__udp_a3874575e288e08feaa5998a9eb374ff3}

\item 
\hypertarget{structsniff__udp_a45fedf3d443e22e5c6bc39358af08428}{}u\+\_\+short {\bfseries th\+\_\+len}\label{structsniff__udp_a45fedf3d443e22e5c6bc39358af08428}

\item 
\hypertarget{structsniff__udp_a172ebd36dca0bb977635872b326bbb50}{}u\+\_\+short {\bfseries th\+\_\+sum}\label{structsniff__udp_a172ebd36dca0bb977635872b326bbb50}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{structsniff__tcp}{sniff\+\_\+tcp} struct contains the U\+D\+P header. We use the first two members to extract the src and dst port. Used to extract T\+C\+P transport layer information from a packet. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
udp\+\_\+hdr.\+h\end{DoxyCompactItemize}