representation of a packet flow More...
#include <flow.hpp>
Public Member Functions | |
Flow (const Tins::EthernetII::address_type &src_hw, const Tins::IPv4Address &src_ip, const Tins::EthernetII::address_type &dst_hw, const Tins::IPv4Address &dst_ip, int dst_port, uint8_t ip_protocol) | |
bool | operator== (const Flow &other) const |
representation of a packet flow
A Flow represents communication between a source Host and a destination Host and port. The destination port is retained since it often indicates the service being accessed. Ignoring the source port simplifies aggregating the same network service into a single Flow.