Public Types | Public Member Functions

ns3::Ipv4FlowProbe Class Reference

Class that monitors flows at the IPv4 layer of a Node. More...

#include <ipv4-flow-probe.h>

Inheritance diagram for ns3::Ipv4FlowProbe:
Inheritance graph
[legend]
Collaboration diagram for ns3::Ipv4FlowProbe:
Collaboration graph
[legend]

List of all members.

Public Types

enum  DropReason {
  DROP_NO_ROUTE = 0, DROP_TTL_EXPIRE, DROP_BAD_CHECKSUM, DROP_QUEUE,
  DROP_INTERFACE_DOWN, DROP_ROUTE_ERROR, DROP_INVALID_REASON
}
 

enumeration of possible reasons why a packet may be dropped

More...

Public Member Functions

 Ipv4FlowProbe (Ptr< FlowMonitor > monitor, Ptr< Ipv4FlowClassifier > classifier, Ptr< Node > node)

Detailed Description

Class that monitors flows at the IPv4 layer of a Node.

For each node in the simulation, one instance of the class Ipv4FlowProbe is created to monitor that node. Ipv4FlowProbe accomplishes this by connecting callbacks to trace sources in the Ipv4L3Protocol interface of the node.


Member Enumeration Documentation

enumeration of possible reasons why a packet may be dropped

Enumerator:
DROP_NO_ROUTE 

Packet dropped due to missing route to the destination.

DROP_TTL_EXPIRE 

Packet dropped due to TTL decremented to zero during IPv4 forwarding.

DROP_BAD_CHECKSUM 

Packet dropped due to invalid checksum in the IPv4 header.

DROP_QUEUE 

Packet dropped due to queue overflow. Note: only works for NetDevices that provide a TxQueue attribute of type Queue with a Drop trace source. It currently works with Csma and PointToPoint devices, but not with WiFi or WiMax.

DROP_INTERFACE_DOWN 

Interface is down so can not send packet

DROP_ROUTE_ERROR 

Route error


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