Netwhere
 All Classes Pages
Public Member Functions | Public Attributes | List of all members
Flow Struct Reference

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
 

Public Attributes

const
Tins::EthernetII::address_type 
src_hw
 
const Tins::IPv4Address src_ip
 
const
Tins::EthernetII::address_type 
dst_hw
 
const Tins::IPv4Address dst_ip
 
const int dst_port
 
const uint8_t ip_protocol
 

Detailed Description

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.


The documentation for this struct was generated from the following file: