\hypertarget{structsniff__ethernet}{}\section{sniff\+\_\+ethernet Struct Reference} \label{structsniff__ethernet}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}} The \hyperlink{structsniff__ethernet}{sniff\+\_\+ethernet} struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet. {\ttfamily \#include $<$ethernet\+\_\+hdr.\+h$>$} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item u\+\_\+char \hyperlink{structsniff__ethernet_aefda8dbb54243c93c4d267ada25ba17f}{ether\+\_\+dhost} \mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]} \item u\+\_\+char \hyperlink{structsniff__ethernet_afe9a93573af998a8652b2c8b1694dd51}{ether\+\_\+shost} \mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]} \item u\+\_\+short \hyperlink{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb}{ether\+\_\+type} \end{DoxyCompactItemize} \subsection{Detailed Description} The \hyperlink{structsniff__ethernet}{sniff\+\_\+ethernet} struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet. \subsection{Member Data Documentation} \hypertarget{structsniff__ethernet_aefda8dbb54243c93c4d267ada25ba17f}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+dhost@{ether\+\_\+dhost}} \index{ether\+\_\+dhost@{ether\+\_\+dhost}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}} \subsubsection[{ether\+\_\+dhost}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ethernet\+::ether\+\_\+dhost\mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]}}\label{structsniff__ethernet_aefda8dbb54243c93c4d267ada25ba17f} destination host address / direccion destino \hypertarget{structsniff__ethernet_afe9a93573af998a8652b2c8b1694dd51}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+shost@{ether\+\_\+shost}} \index{ether\+\_\+shost@{ether\+\_\+shost}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}} \subsubsection[{ether\+\_\+shost}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+char sniff\+\_\+ethernet\+::ether\+\_\+shost\mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]}}\label{structsniff__ethernet_afe9a93573af998a8652b2c8b1694dd51} source host address / direccion fuente \hypertarget{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+type@{ether\+\_\+type}} \index{ether\+\_\+type@{ether\+\_\+type}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}} \subsubsection[{ether\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ethernet\+::ether\+\_\+type}\label{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb} I\+P? A\+R\+P? R\+A\+R\+P? etc The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item ethernet\+\_\+hdr.\+h\end{DoxyCompactItemize}