\hypertarget{structsniff__tcp}{}\section{Referencia de la Estructura sniff\+\_\+tcp} \label{structsniff__tcp}\index{sniff\+\_\+tcp@{sniff\+\_\+tcp}} The \hyperlink{structsniff__tcp}{sniff\+\_\+tcp} struct contains the T\+C\+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 $<$tcp\+\_\+hdr.\+h$>$} \subsection*{Atributos públicos} \begin{DoxyCompactItemize} \item \hypertarget{structsniff__tcp_a30dcb7e611d1f0c359e2146a8898dbeb}{}u\+\_\+short {\bfseries th\+\_\+sport}\label{structsniff__tcp_a30dcb7e611d1f0c359e2146a8898dbeb} \item \hypertarget{structsniff__tcp_a8e67681937de43161ed5eeecd01272d0}{}u\+\_\+short {\bfseries th\+\_\+dport}\label{structsniff__tcp_a8e67681937de43161ed5eeecd01272d0} \item \hypertarget{structsniff__tcp_a3732bf2f28ede2be85a628faa7b9347c}{}tcp\+\_\+seq {\bfseries th\+\_\+seq}\label{structsniff__tcp_a3732bf2f28ede2be85a628faa7b9347c} \item \hypertarget{structsniff__tcp_a5d7e4a998411a138b50ca3950c172212}{}tcp\+\_\+seq {\bfseries th\+\_\+ack}\label{structsniff__tcp_a5d7e4a998411a138b50ca3950c172212} \item \hypertarget{structsniff__tcp_a96031b46089f404631f459c46b4a9eea}{}u\+\_\+char {\bfseries th\+\_\+offx2}\label{structsniff__tcp_a96031b46089f404631f459c46b4a9eea} \item \hypertarget{structsniff__tcp_aaec4001301328a04ff3e653f688d9c19}{}u\+\_\+char {\bfseries th\+\_\+flags}\label{structsniff__tcp_aaec4001301328a04ff3e653f688d9c19} \item \hypertarget{structsniff__tcp_ad2e0599bbc042e63260bcd3fd07b55c5}{}u\+\_\+short {\bfseries th\+\_\+win}\label{structsniff__tcp_ad2e0599bbc042e63260bcd3fd07b55c5} \item \hypertarget{structsniff__tcp_a1947a34af9e1c1467142c62602e94065}{}u\+\_\+short {\bfseries th\+\_\+sum}\label{structsniff__tcp_a1947a34af9e1c1467142c62602e94065} \item \hypertarget{structsniff__tcp_aa9d57ded7709e0c610048df3ac80ab65}{}u\+\_\+short {\bfseries th\+\_\+urp}\label{structsniff__tcp_aa9d57ded7709e0c610048df3ac80ab65} \end{DoxyCompactItemize} \subsection{Descripción detallada} The \hyperlink{structsniff__tcp}{sniff\+\_\+tcp} struct contains the T\+C\+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. La documentación para esta estructura fue generada a partir del siguiente fichero\+:\begin{DoxyCompactItemize} \item tcp\+\_\+hdr.\+h\end{DoxyCompactItemize}