A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
flow-classifier.cc
Go to the documentation of this file.
1
//
2
// Copyright (c) 2009 INESC Porto
3
//
4
// SPDX-License-Identifier: GPL-2.0-only
5
//
6
// Author: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> <gjcarneiro@gmail.com>
7
//
8
9
#include "
flow-classifier.h
"
10
11
namespace
ns3
12
{
13
14
FlowClassifier::FlowClassifier
()
15
: m_lastNewFlowId(0)
16
{
17
}
18
19
FlowClassifier::~FlowClassifier
()
20
{
21
}
22
23
FlowId
24
FlowClassifier::GetNewFlowId
()
25
{
26
return
++
m_lastNewFlowId
;
27
}
28
29
}
// namespace ns3
ns3::FlowClassifier::~FlowClassifier
virtual ~FlowClassifier()
Definition
flow-classifier.cc:19
ns3::FlowClassifier::FlowClassifier
FlowClassifier()
Definition
flow-classifier.cc:14
ns3::FlowClassifier::GetNewFlowId
FlowId GetNewFlowId()
Returns a new, unique Flow Identifier.
Definition
flow-classifier.cc:24
ns3::FlowClassifier::m_lastNewFlowId
FlowId m_lastNewFlowId
Last known Flow ID.
Definition
flow-classifier.h:45
flow-classifier.h
ns3::FlowId
uint32_t FlowId
Abstract identifier of a packet flow.
Definition
flow-classifier.h:23
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
flow-monitor
model
flow-classifier.cc
Generated on Fri Nov 8 2024 13:59:00 for ns-3 by
1.11.0