\hypertarget{structsniff__ip}{}\section{Referencia de la Estructura sniff\+\_\+ip} \label{structsniff__ip}\index{sniff\+\_\+ip@{sniff\+\_\+ip}} The \hyperlink{structsniff__ip}{sniff\+\_\+ip} struct defines the packet header of a tcp internet packet. Used to extract I\+P layer information from a packet. {\ttfamily \#include $<$ip\+\_\+hdr.\+h$>$} \subsection*{Atributos públicos} \begin{DoxyCompactItemize} \item u\+\_\+char \hyperlink{structsniff__ip_a8ced3d6237cb8b0538e73227843b4edb}{ip\+\_\+vhl} \item u\+\_\+char \hyperlink{structsniff__ip_aa850a52985272f13d6866d14be1ecdf6}{ip\+\_\+tos} \item u\+\_\+short \hyperlink{structsniff__ip_aa4907e31555a52a20bc0eadc46d45044}{ip\+\_\+len} \item u\+\_\+short \hyperlink{structsniff__ip_a9cae00d3f7491ce2bfcb086880b1aa6a}{ip\+\_\+id} \item u\+\_\+short \hyperlink{structsniff__ip_aecf13449d60d1e0b7d78a64fcd3e54de}{ip\+\_\+off} \item u\+\_\+char \hyperlink{structsniff__ip_abed391544944e353d09e85030f423ec8}{ip\+\_\+ttl} \item u\+\_\+char \hyperlink{structsniff__ip_a49d22326de644e4d1158ef7ae4fb22b7}{ip\+\_\+p} \item u\+\_\+short \hyperlink{structsniff__ip_a263384b09865cda4a03e3451de740c84}{ip\+\_\+sum} \item struct in\+\_\+addr ip\+\_\+src \hyperlink{structsniff__ip_ad2db4a1d3fbfb1bcc44e5a26d6c28c2e}{ip\+\_\+dst} \end{DoxyCompactItemize} \subsection{Descripción detallada} The \hyperlink{structsniff__ip}{sniff\+\_\+ip} struct defines the packet header of a tcp internet packet. Used to extract I\+P layer information from a packet. \subsection{Documentación de los datos miembro} \hypertarget{structsniff__ip_ad2db4a1d3fbfb1bcc44e5a26d6c28c2e}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+dst@{ip\+\_\+dst}} \index{ip\+\_\+dst@{ip\+\_\+dst}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+dst}]{\setlength{\rightskip}{0pt plus 5cm}struct in\+\_\+addr ip\+\_\+src sniff\+\_\+ip\+::ip\+\_\+dst}\label{structsniff__ip_ad2db4a1d3fbfb1bcc44e5a26d6c28c2e} source and dest address / direccion fuente y destino \hypertarget{structsniff__ip_a9cae00d3f7491ce2bfcb086880b1aa6a}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+id@{ip\+\_\+id}} \index{ip\+\_\+id@{ip\+\_\+id}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+id}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ip\+::ip\+\_\+id}\label{structsniff__ip_a9cae00d3f7491ce2bfcb086880b1aa6a} identification / identificacion \hypertarget{structsniff__ip_aa4907e31555a52a20bc0eadc46d45044}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+len@{ip\+\_\+len}} \index{ip\+\_\+len@{ip\+\_\+len}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+len}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ip\+::ip\+\_\+len}\label{structsniff__ip_aa4907e31555a52a20bc0eadc46d45044} total length / largo total \hypertarget{structsniff__ip_aecf13449d60d1e0b7d78a64fcd3e54de}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+off@{ip\+\_\+off}} \index{ip\+\_\+off@{ip\+\_\+off}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+off}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ip\+::ip\+\_\+off}\label{structsniff__ip_aecf13449d60d1e0b7d78a64fcd3e54de} fragment offset field / offset del campo de fragmento \hypertarget{structsniff__ip_a49d22326de644e4d1158ef7ae4fb22b7}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+p@{ip\+\_\+p}} \index{ip\+\_\+p@{ip\+\_\+p}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+p}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ip\+::ip\+\_\+p}\label{structsniff__ip_a49d22326de644e4d1158ef7ae4fb22b7} protocol / protocolo \hypertarget{structsniff__ip_a263384b09865cda4a03e3451de740c84}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+sum@{ip\+\_\+sum}} \index{ip\+\_\+sum@{ip\+\_\+sum}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+sum}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ip\+::ip\+\_\+sum}\label{structsniff__ip_a263384b09865cda4a03e3451de740c84} checksum \hypertarget{structsniff__ip_aa850a52985272f13d6866d14be1ecdf6}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+tos@{ip\+\_\+tos}} \index{ip\+\_\+tos@{ip\+\_\+tos}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+tos}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ip\+::ip\+\_\+tos}\label{structsniff__ip_aa850a52985272f13d6866d14be1ecdf6} type of service / tipo de servicio \hypertarget{structsniff__ip_abed391544944e353d09e85030f423ec8}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+ttl@{ip\+\_\+ttl}} \index{ip\+\_\+ttl@{ip\+\_\+ttl}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+ttl}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ip\+::ip\+\_\+ttl}\label{structsniff__ip_abed391544944e353d09e85030f423ec8} time to live / tiempo de vida \hypertarget{structsniff__ip_a8ced3d6237cb8b0538e73227843b4edb}{}\index{sniff\+\_\+ip@{sniff\+\_\+ip}!ip\+\_\+vhl@{ip\+\_\+vhl}} \index{ip\+\_\+vhl@{ip\+\_\+vhl}!sniff\+\_\+ip@{sniff\+\_\+ip}} \subsubsection[{ip\+\_\+vhl}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ip\+::ip\+\_\+vhl}\label{structsniff__ip_a8ced3d6237cb8b0538e73227843b4edb} version $<$$<$ 4 $\vert$ header length $>$$>$ 2 La documentación para esta estructura fue generada a partir del siguiente fichero\+:\begin{DoxyCompactItemize} \item ip\+\_\+hdr.\+h\end{DoxyCompactItemize}