Нет описания

structsniff__ethernet.tex 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. \hypertarget{structsniff__ethernet}{}\section{sniff\+\_\+ethernet Struct Reference}
  2. \label{structsniff__ethernet}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}}
  3. 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.
  4. {\ttfamily \#include $<$ethernet\+\_\+hdr.\+h$>$}
  5. \subsection*{Public Attributes}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. u\+\_\+char \hyperlink{structsniff__ethernet_aefda8dbb54243c93c4d267ada25ba17f}{ether\+\_\+dhost} \mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]}
  9. \item
  10. u\+\_\+char \hyperlink{structsniff__ethernet_afe9a93573af998a8652b2c8b1694dd51}{ether\+\_\+shost} \mbox{[}E\+T\+H\+E\+R\+\_\+\+A\+D\+D\+R\+\_\+\+L\+E\+N\mbox{]}
  11. \item
  12. u\+\_\+short \hyperlink{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb}{ether\+\_\+type}
  13. \end{DoxyCompactItemize}
  14. \subsection{Detailed Description}
  15. 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.
  16. \subsection{Member Data Documentation}
  17. \hypertarget{structsniff__ethernet_aefda8dbb54243c93c4d267ada25ba17f}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+dhost@{ether\+\_\+dhost}}
  18. \index{ether\+\_\+dhost@{ether\+\_\+dhost}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}}
  19. \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}
  20. destination host address / direccion destino \hypertarget{structsniff__ethernet_afe9a93573af998a8652b2c8b1694dd51}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+shost@{ether\+\_\+shost}}
  21. \index{ether\+\_\+shost@{ether\+\_\+shost}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}}
  22. \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}
  23. source host address / direccion fuente \hypertarget{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb}{}\index{sniff\+\_\+ethernet@{sniff\+\_\+ethernet}!ether\+\_\+type@{ether\+\_\+type}}
  24. \index{ether\+\_\+type@{ether\+\_\+type}!sniff\+\_\+ethernet@{sniff\+\_\+ethernet}}
  25. \subsubsection[{ether\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short sniff\+\_\+ethernet\+::ether\+\_\+type}\label{structsniff__ethernet_ae66770fd4e71d27c6a6619670bac2efb}
  26. I\+P? A\+R\+P? R\+A\+R\+P? etc
  27. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
  28. \item
  29. ethernet\+\_\+hdr.\+h\end{DoxyCompactItemize}