author | Tommaso Pecorella <tommaso.pecorella@unifi.it> |
Wed, 11 Dec 2013 10:00:06 +0100 | |
changeset 10495 | e877c029ed3e |
parent 10441 | 7f54ed05f8be |
child 10496 | 4218ca3fc829 |
permissions | -rw-r--r-- |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
2 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
3 |
// Copyright (c) 2009 INESC Porto |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
4 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
5 |
// This program is free software; you can redistribute it and/or modify |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
6 |
// it under the terms of the GNU General Public License version 2 as |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
7 |
// published by the Free Software Foundation; |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
8 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
9 |
// This program is distributed in the hope that it will be useful, |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
12 |
// GNU General Public License for more details. |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
13 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
14 |
// You should have received a copy of the GNU General Public License |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
15 |
// along with this program; if not, write to the Free Software |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
16 |
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
17 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
18 |
// Author: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> <gjcarneiro@gmail.com> |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
19 |
// |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
20 |
|
7353
09fccf6195ea
bug 1203: Inconsistently named ifndef/define macros in ns-3 headers
Vedran Miletic <rivanvx@gmail.com>
parents:
7175
diff
changeset
|
21 |
#ifndef IPV4_FLOW_PROBE_H |
09fccf6195ea
bug 1203: Inconsistently named ifndef/define macros in ns-3 headers
Vedran Miletic <rivanvx@gmail.com>
parents:
7175
diff
changeset
|
22 |
#define IPV4_FLOW_PROBE_H |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
23 |
|
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
24 |
#include "ns3/flow-probe.h" |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
25 |
#include "ns3/ipv4-flow-classifier.h" |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
26 |
#include "ns3/ipv4-l3-protocol.h" |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
27 |
|
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
28 |
namespace ns3 { |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
29 |
|
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
30 |
class FlowMonitor; |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
31 |
class Node; |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
32 |
|
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
33 |
/// \ingroup flow-monitor |
5210
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
34 |
/// \brief Class that monitors flows at the IPv4 layer of a Node |
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
35 |
/// |
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
36 |
/// For each node in the simulation, one instance of the class |
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
37 |
/// Ipv4FlowProbe is created to monitor that node. Ipv4FlowProbe |
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
38 |
/// accomplishes this by connecting callbacks to trace sources in the |
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
39 |
/// Ipv4L3Protocol interface of the node. |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
40 |
class Ipv4FlowProbe : public FlowProbe |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
41 |
{ |
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
42 |
|
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
43 |
public: |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
44 |
/// \brief Constructor |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
45 |
/// \param monitor the FlowMonitor this probe is associated with |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
46 |
/// \param classifier the Ipv4FlowClassifier this probe is associated with |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
47 |
/// \param node the Node this probe is associated with |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
48 |
Ipv4FlowProbe (Ptr<FlowMonitor> monitor, Ptr<Ipv4FlowClassifier> classifier, Ptr<Node> node); |
5505
c0ac392289c3
replace RefCountBase with SimpleRefCount<> to avoid duplicate refcounting implementations.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
5210
diff
changeset
|
49 |
virtual ~Ipv4FlowProbe (); |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
50 |
|
5210
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
51 |
/// \brief enumeration of possible reasons why a packet may be dropped |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
52 |
enum DropReason |
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
53 |
{ |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
54 |
/// Packet dropped due to missing route to the destination |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
55 |
DROP_NO_ROUTE = 0, |
6323
2a8ec4aee3b5
Bug 854 - Support DROP_QUEUE reason-code in Ipv4FlowProbe
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents:
6104
diff
changeset
|
56 |
|
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
57 |
/// Packet dropped due to TTL decremented to zero during IPv4 forwarding |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
58 |
DROP_TTL_EXPIRE, |
6323
2a8ec4aee3b5
Bug 854 - Support DROP_QUEUE reason-code in Ipv4FlowProbe
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents:
6104
diff
changeset
|
59 |
|
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
60 |
/// Packet dropped due to invalid checksum in the IPv4 header |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
61 |
DROP_BAD_CHECKSUM, |
5210
2acc35ea1e80
Doxygen documentation for FlowMonitor
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5205
diff
changeset
|
62 |
|
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
63 |
/// Packet dropped due to queue overflow. Note: only works for |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
64 |
/// NetDevices that provide a TxQueue attribute of type Queue |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
65 |
/// with a Drop trace source. It currently works with Csma and |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
66 |
/// PointToPoint devices, but not with WiFi or WiMax. |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
67 |
DROP_QUEUE, |
6476
d95255206be2
Bug 972 - [flow monitor] assertion fails in pv4-flow-probe.cc
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6323
diff
changeset
|
68 |
|
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
69 |
DROP_INTERFACE_DOWN, /**< Interface is down so can not send packet */ |
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
70 |
DROP_ROUTE_ERROR, /**< Route error */ |
7366
838079534ff9
Support to IPv4 fragmentation
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
7353
diff
changeset
|
71 |
DROP_FRAGMENT_TIMEOUT, /**< Fragment timeout exceeded */ |
10495
e877c029ed3e
Bug 1812 - example/stats wifi program manual is erroneous
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
10441
diff
changeset
|
72 |
DROP_MTU_TOO_LITTLE, /**< MTU (or PMTU) lower than minimum */ |
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
73 |
|
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
74 |
DROP_INVALID_REASON, /**< Fallback reason (no known reason) */ |
7175
8fffa1497fba
flow-monitor coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6939
diff
changeset
|
75 |
}; |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
76 |
|
9727
cb763839fc18
bug 1644: dispose of flow monitor objects from FlowMonitorHelper
Tom Henderson <tomh@tomh.org>
parents:
7366
diff
changeset
|
77 |
protected: |
cb763839fc18
bug 1644: dispose of flow monitor objects from FlowMonitorHelper
Tom Henderson <tomh@tomh.org>
parents:
7366
diff
changeset
|
78 |
|
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
79 |
virtual void DoDispose (void); |
9727
cb763839fc18
bug 1644: dispose of flow monitor objects from FlowMonitorHelper
Tom Henderson <tomh@tomh.org>
parents:
7366
diff
changeset
|
80 |
|
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
81 |
private: |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
82 |
/// Log a packet being sent |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
83 |
/// \param ipHeader IP header |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
84 |
/// \param ipPayload IP payload |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
85 |
/// \param interface outgoing interface |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
86 |
void SendOutgoingLogger (const Ipv4Header &ipHeader, Ptr<const Packet> ipPayload, uint32_t interface); |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
87 |
/// Log a packet being forwarded |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
88 |
/// \param ipHeader IP header |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
89 |
/// \param ipPayload IP payload |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
90 |
/// \param interface incoming interface |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
91 |
void ForwardLogger (const Ipv4Header &ipHeader, Ptr<const Packet> ipPayload, uint32_t interface); |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
92 |
/// Log a packet being received by the destination |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
93 |
/// \param ipHeader IP header |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
94 |
/// \param ipPayload IP payload |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
95 |
/// \param interface incoming interface |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
96 |
void ForwardUpLogger (const Ipv4Header &ipHeader, Ptr<const Packet> ipPayload, uint32_t interface); |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
97 |
/// Log a packet being dropped |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
98 |
/// \param ipHeader IP header |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
99 |
/// \param ipPayload IP payload |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
100 |
/// \param reason drop reason |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
101 |
/// \param ipv4 pointer to the IP object dropping the packet |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
102 |
/// \param ifIndex interface index |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
103 |
void DropLogger (const Ipv4Header &ipHeader, Ptr<const Packet> ipPayload, |
6104 | 104 |
Ipv4L3Protocol::DropReason reason, Ptr<Ipv4> ipv4, uint32_t ifIndex); |
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
105 |
/// Log a packet being dropped by a queue |
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
106 |
/// \param ipPayload IP payload |
6323
2a8ec4aee3b5
Bug 854 - Support DROP_QUEUE reason-code in Ipv4FlowProbe
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents:
6104
diff
changeset
|
107 |
void QueueDropLogger (Ptr<const Packet> ipPayload); |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
108 |
|
10441
7f54ed05f8be
Bug 983 - missing Doxygen in ns-3 (flow-monitor model + helper)
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
9727
diff
changeset
|
109 |
Ptr<Ipv4FlowClassifier> m_classifier; //!< the Ipv4FlowClassifier this probe is associated with |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
110 |
}; |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
111 |
|
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
112 |
|
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
113 |
} // namespace ns3 |
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
114 |
|
7353
09fccf6195ea
bug 1203: Inconsistently named ifndef/define macros in ns-3 headers
Vedran Miletic <rivanvx@gmail.com>
parents:
7175
diff
changeset
|
115 |
#endif /* IPV4_FLOW_PROBE_H */ |