Brak opisu

structsniff__tcp.tex 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. \hypertarget{structsniff__tcp}{}\section{sniff\+\_\+tcp Struct Reference}
  2. \label{structsniff__tcp}\index{sniff\+\_\+tcp@{sniff\+\_\+tcp}}
  3. 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.
  4. {\ttfamily \#include $<$tcp\+\_\+hdr.\+h$>$}
  5. \subsection*{Public Attributes}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. \hypertarget{structsniff__tcp_a30dcb7e611d1f0c359e2146a8898dbeb}{}u\+\_\+short {\bfseries th\+\_\+sport}\label{structsniff__tcp_a30dcb7e611d1f0c359e2146a8898dbeb}
  9. \item
  10. \hypertarget{structsniff__tcp_a8e67681937de43161ed5eeecd01272d0}{}u\+\_\+short {\bfseries th\+\_\+dport}\label{structsniff__tcp_a8e67681937de43161ed5eeecd01272d0}
  11. \item
  12. \hypertarget{structsniff__tcp_a3732bf2f28ede2be85a628faa7b9347c}{}tcp\+\_\+seq {\bfseries th\+\_\+seq}\label{structsniff__tcp_a3732bf2f28ede2be85a628faa7b9347c}
  13. \item
  14. \hypertarget{structsniff__tcp_a5d7e4a998411a138b50ca3950c172212}{}tcp\+\_\+seq {\bfseries th\+\_\+ack}\label{structsniff__tcp_a5d7e4a998411a138b50ca3950c172212}
  15. \item
  16. \hypertarget{structsniff__tcp_a96031b46089f404631f459c46b4a9eea}{}u\+\_\+char {\bfseries th\+\_\+offx2}\label{structsniff__tcp_a96031b46089f404631f459c46b4a9eea}
  17. \item
  18. \hypertarget{structsniff__tcp_aaec4001301328a04ff3e653f688d9c19}{}u\+\_\+char {\bfseries th\+\_\+flags}\label{structsniff__tcp_aaec4001301328a04ff3e653f688d9c19}
  19. \item
  20. \hypertarget{structsniff__tcp_ad2e0599bbc042e63260bcd3fd07b55c5}{}u\+\_\+short {\bfseries th\+\_\+win}\label{structsniff__tcp_ad2e0599bbc042e63260bcd3fd07b55c5}
  21. \item
  22. \hypertarget{structsniff__tcp_a1947a34af9e1c1467142c62602e94065}{}u\+\_\+short {\bfseries th\+\_\+sum}\label{structsniff__tcp_a1947a34af9e1c1467142c62602e94065}
  23. \item
  24. \hypertarget{structsniff__tcp_aa9d57ded7709e0c610048df3ac80ab65}{}u\+\_\+short {\bfseries th\+\_\+urp}\label{structsniff__tcp_aa9d57ded7709e0c610048df3ac80ab65}
  25. \end{DoxyCompactItemize}
  26. \subsection{Detailed Description}
  27. 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.
  28. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
  29. \item
  30. tcp\+\_\+hdr.\+h\end{DoxyCompactItemize}