No Description

_sort_8cpp.tex 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. \hypertarget{_sort_8cpp}{}\section{Referencia del Archivo Sort.\+cpp}
  2. \label{_sort_8cpp}\index{Sort.\+cpp@{Sort.\+cpp}}
  3. {\ttfamily \#include $<$string$>$}\\*
  4. {\ttfamily \#include $<$vector$>$}\\*
  5. {\ttfamily \#include \char`\"{}packet.\+h\char`\"{}}\\*
  6. {\ttfamily \#include $<$iostream$>$}\\*
  7. \subsection*{Funciones}
  8. \begin{DoxyCompactItemize}
  9. \item
  10. void \hyperlink{_sort_8cpp_ad2fc2c965f1b9dba889b6f7435c8ffe4}{Sort\+By\+Src\+Addr} (vector$<$ \hyperlink{class_packet}{Packet} $>$ \&netdata)
  11. \begin{DoxyCompactList}\small\item\em Function que ordena por direccion fuente los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja). \end{DoxyCompactList}\item
  12. void \hyperlink{_sort_8cpp_a3965d0285c20667ca88fe8462fd73d06}{Sort\+By\+Dst\+Addr} (vector$<$ \hyperlink{class_packet}{Packet} $>$ \&netdata)
  13. \begin{DoxyCompactList}\small\item\em Function que ordena por direccion destino los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Seleccion). \end{DoxyCompactList}\item
  14. void \hyperlink{_sort_8cpp_a15775a2c4ca51ad037d87b15c7b67bf0}{Sort\+By\+Src\+Port} (vector$<$ \hyperlink{class_packet}{Packet} $>$ \&netdata)
  15. \begin{DoxyCompactList}\small\item\em Function que ordena por puerto fuente los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Burbuja). \end{DoxyCompactList}\item
  16. void \hyperlink{_sort_8cpp_a529786e870ea5cb7f83637588eb002a1}{Sort\+By\+Dst\+Port} (vector$<$ \hyperlink{class_packet}{Packet} $>$ \&netdata)
  17. \begin{DoxyCompactList}\small\item\em Function que ordena por puerto destino los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja). \end{DoxyCompactList}\end{DoxyCompactItemize}
  18. \subsection{Documentación de las funciones}
  19. \hypertarget{_sort_8cpp_a3965d0285c20667ca88fe8462fd73d06}{}\index{Sort.\+cpp@{Sort.\+cpp}!Sort\+By\+Dst\+Addr@{Sort\+By\+Dst\+Addr}}
  20. \index{Sort\+By\+Dst\+Addr@{Sort\+By\+Dst\+Addr}!Sort.\+cpp@{Sort.\+cpp}}
  21. \subsubsection[{Sort\+By\+Dst\+Addr}]{\setlength{\rightskip}{0pt plus 5cm}void Sort\+By\+Dst\+Addr (
  22. \begin{DoxyParamCaption}
  23. \item[{vector$<$ {\bf Packet} $>$ \&}]{netdata}
  24. \end{DoxyParamCaption}
  25. )}\label{_sort_8cpp_a3965d0285c20667ca88fe8462fd73d06}
  26. Function que ordena por direccion destino los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Seleccion).
  27. \begin{DoxyParams}{Parámetros}
  28. {\em netdata} & Vector de paquetes a ser ordenado. \\
  29. \hline
  30. \end{DoxyParams}
  31. \hypertarget{_sort_8cpp_a529786e870ea5cb7f83637588eb002a1}{}\index{Sort.\+cpp@{Sort.\+cpp}!Sort\+By\+Dst\+Port@{Sort\+By\+Dst\+Port}}
  32. \index{Sort\+By\+Dst\+Port@{Sort\+By\+Dst\+Port}!Sort.\+cpp@{Sort.\+cpp}}
  33. \subsubsection[{Sort\+By\+Dst\+Port}]{\setlength{\rightskip}{0pt plus 5cm}void Sort\+By\+Dst\+Port (
  34. \begin{DoxyParamCaption}
  35. \item[{vector$<$ {\bf Packet} $>$ \&}]{netdata}
  36. \end{DoxyParamCaption}
  37. )}\label{_sort_8cpp_a529786e870ea5cb7f83637588eb002a1}
  38. Function que ordena por puerto destino los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja).
  39. \begin{DoxyParams}{Parámetros}
  40. {\em netdata} & Vector de paquetes a ser ordenado. \\
  41. \hline
  42. \end{DoxyParams}
  43. \hypertarget{_sort_8cpp_ad2fc2c965f1b9dba889b6f7435c8ffe4}{}\index{Sort.\+cpp@{Sort.\+cpp}!Sort\+By\+Src\+Addr@{Sort\+By\+Src\+Addr}}
  44. \index{Sort\+By\+Src\+Addr@{Sort\+By\+Src\+Addr}!Sort.\+cpp@{Sort.\+cpp}}
  45. \subsubsection[{Sort\+By\+Src\+Addr}]{\setlength{\rightskip}{0pt plus 5cm}void Sort\+By\+Src\+Addr (
  46. \begin{DoxyParamCaption}
  47. \item[{vector$<$ {\bf Packet} $>$ \&}]{netdata}
  48. \end{DoxyParamCaption}
  49. )}\label{_sort_8cpp_ad2fc2c965f1b9dba889b6f7435c8ffe4}
  50. Function que ordena por direccion fuente los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja).
  51. \begin{DoxyParams}{Parámetros}
  52. {\em netdata} & Vector de paquetes a ser ordenado. \\
  53. \hline
  54. \end{DoxyParams}
  55. \hypertarget{_sort_8cpp_a15775a2c4ca51ad037d87b15c7b67bf0}{}\index{Sort.\+cpp@{Sort.\+cpp}!Sort\+By\+Src\+Port@{Sort\+By\+Src\+Port}}
  56. \index{Sort\+By\+Src\+Port@{Sort\+By\+Src\+Port}!Sort.\+cpp@{Sort.\+cpp}}
  57. \subsubsection[{Sort\+By\+Src\+Port}]{\setlength{\rightskip}{0pt plus 5cm}void Sort\+By\+Src\+Port (
  58. \begin{DoxyParamCaption}
  59. \item[{vector$<$ {\bf Packet} $>$ \&}]{netdata}
  60. \end{DoxyParamCaption}
  61. )}\label{_sort_8cpp_a15775a2c4ca51ad037d87b15c7b67bf0}
  62. Function que ordena por puerto fuente los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Burbuja).
  63. \begin{DoxyParams}{Parámetros}
  64. {\em netdata} & Vector de paquetes a ser ordenado. \\
  65. \hline
  66. \end{DoxyParams}