No Description

structsniff__udp.tex 1.5KB

12345678910111213141516171819202122232425262728293031323334
  1. \hypertarget{structsniff__udp}{}\section{sniff\+\_\+udp Struct Reference}
  2. \label{structsniff__udp}\index{sniff\+\_\+udp@{sniff\+\_\+udp}}
  3. 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.
  4. {\ttfamily \#include $<$udp\+\_\+hdr.\+h$>$}
  5. \subsection*{Public Attributes}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. \hypertarget{structsniff__udp_a49a8d651767d716a5cb21f25746c7064}{}u\+\_\+short {\bfseries th\+\_\+sport}\label{structsniff__udp_a49a8d651767d716a5cb21f25746c7064}
  9. \item
  10. \hypertarget{structsniff__udp_a3874575e288e08feaa5998a9eb374ff3}{}u\+\_\+short {\bfseries th\+\_\+dport}\label{structsniff__udp_a3874575e288e08feaa5998a9eb374ff3}
  11. \item
  12. \hypertarget{structsniff__udp_a45fedf3d443e22e5c6bc39358af08428}{}u\+\_\+short {\bfseries th\+\_\+len}\label{structsniff__udp_a45fedf3d443e22e5c6bc39358af08428}
  13. \item
  14. \hypertarget{structsniff__udp_a172ebd36dca0bb977635872b326bbb50}{}u\+\_\+short {\bfseries th\+\_\+sum}\label{structsniff__udp_a172ebd36dca0bb977635872b326bbb50}
  15. \end{DoxyCompactItemize}
  16. \subsection{Detailed Description}
  17. 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.
  18. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
  19. \item
  20. udp\+\_\+hdr.\+h\end{DoxyCompactItemize}