#include #include #include "packet.h" #include /// \file /// \fn void SortBySrcAddr(vector &netdata) /// \~English /// \brief Function that sorts by source address /// the packets in the netflow file using the Bubble sort algorithm. /// \param netdata Packet vector that will be sorted. /// \~Spanish /// \brief Funcion que ordena por direccion fuente /// los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja). /// \param netdata Vector de paquetes a ser ordenado. void SortBySrcAddr(vector &netdata){ // Space to implement the Bubble Sort algorithm // YOUR CODE HERE } /// \fn void SortByDstAddr(vector &netdata) /// \~English /// \brief Function that sorts by destination address /// the packets in the netflow file using the Selection sort algorithm. /// \param netdata Packet vector that will be sorted. /// \~Spanish /// \brief Funcion que ordena por direccion destino /// los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Seleccion). /// \param netdata Vector de paquetes a ser ordenado. void SortByDstAddr(vector &netdata){ // Space to implement the Selection Sort algorithm // YOUR CODE HERE } /// \fn void SortBySrcPort(vector &netdata) /// \~English /// \brief Function that sorts by source port /// the packets in the netflow file using the Bubble sort algorithm. /// \param netdata Packet vector that will be sorted. /// \~Spanish /// \brief Funcion que ordena por puerto fuente /// los paquetes en el archivo de netflows usando el algoritmo de Bubble sort (Burbuja). /// \param netdata Vector de paquetes a ser ordenado. void SortBySrcPort(vector &netdata){ // Space to implement the Bubble Sort algorithm // YOUR CODE HERE } /// \fn void SortByDstPort(vector &netdata) /// \~English /// \brief Function that sorts by destination port /// the packets in the netflow file using the Selection sort algorithm. /// \param netdata Packet vector that will be sorted. /// \~Spanish /// \brief Funcion que ordena por puerto destino /// los paquetes en el archivo de netflows usando el algoritmo de Selection sort (Seleccion). /// \param netdata Vector de paquetes a ser ordenado. void SortByDstPort(vector &netdata){ // Space to implement the Selection sort algorithm // YOUR CODE HERE }