author | Kirill Andreev <andreev@iitp.ru> |
Thu, 18 Jun 2009 13:50:43 +0400 | |
changeset 5083 | 5b154b30a8a1 |
parent 5082 | 528da3d1e5a4 |
child 5084 | ddf23699f0b7 |
permissions | -rw-r--r-- |
5079
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
2 |
/* |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
3 |
* Copyright (c) 2009 IITP RAS |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
4 |
* |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
8 |
* |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
13 |
* |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
17 |
* |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
18 |
* Author: Kirill Andreev <andreev@iitp.ru> |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
19 |
*/ |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
20 |
|
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
21 |
#include "flame-protocol.h" |
5082 | 22 |
#include "flame-rtable.h" |
23 |
#include "flame-header.h" |
|
5083
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
24 |
#include "ns3/llc-snap-header.h" |
5082 | 25 |
#include "ns3/log.h" |
26 |
#include "ns3/simulator.h" |
|
27 |
#include "ns3/packet.h" |
|
28 |
#include "ns3/mesh-point-device.h" |
|
29 |
#include "ns3/wifi-net-device.h" |
|
30 |
#include "ns3/mesh-point-device.h" |
|
31 |
#include "ns3/mesh-wifi-interface-mac.h" |
|
32 |
#include "ns3/random-variable.h" |
|
33 |
||
5079
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
34 |
namespace ns3 { |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
35 |
namespace flame { |
5080 | 36 |
//----------------------------------------------------------------------------- |
37 |
// FlameTag |
|
38 |
//----------------------------------------------------------------------------- |
|
39 |
NS_OBJECT_ENSURE_REGISTERED (FlameTag); |
|
40 |
||
41 |
TypeId |
|
42 |
FlameTag::GetTypeId () |
|
43 |
{ |
|
44 |
static TypeId tid = TypeId ("ns3::flame::FlameTag") |
|
45 |
.SetParent<Tag> () |
|
46 |
.AddConstructor<FlameTag> (); |
|
47 |
return tid; |
|
48 |
} |
|
49 |
||
50 |
TypeId |
|
51 |
FlameTag::GetInstanceTypeId () const |
|
52 |
{ |
|
53 |
return GetTypeId (); |
|
54 |
} |
|
55 |
||
56 |
uint32_t |
|
57 |
FlameTag::GetSerializedSize () const |
|
58 |
{ |
|
5082 | 59 |
return 6; |
5080 | 60 |
} |
61 |
||
62 |
void |
|
63 |
FlameTag::Serialize (TagBuffer i) const |
|
64 |
{ |
|
65 |
uint8_t buf[6]; |
|
66 |
address.CopyTo (buf); |
|
67 |
for (int j = 0; j < 6; j ++) |
|
68 |
i.WriteU8 (buf[j]); |
|
69 |
} |
|
70 |
||
71 |
void |
|
72 |
FlameTag::Deserialize (TagBuffer i) |
|
73 |
{ |
|
74 |
uint8_t buf[6]; |
|
75 |
for (int j = 0; j < 6; j ++) |
|
76 |
buf[j] = i.ReadU8 (); |
|
77 |
address.CopyFrom (buf); |
|
78 |
} |
|
79 |
||
80 |
void |
|
81 |
FlameTag::Print (std::ostream &os) const |
|
82 |
{ |
|
5082 | 83 |
os << "address = " << address; |
5080 | 84 |
} |
85 |
||
5082 | 86 |
//----------------------------------------------------------------------------- |
87 |
// FlameTag |
|
88 |
//----------------------------------------------------------------------------- |
|
89 |
TypeId |
|
90 |
FlameProtocol::GetTypeId () |
|
91 |
{ |
|
92 |
static TypeId tid = TypeId ("ns3::flame::FlameProtocol") |
|
93 |
.SetParent<MeshL2RoutingProtocol> () |
|
94 |
.AddConstructor<FlameProtocol> () |
|
95 |
.AddAttribute ("BroadcastInterval", "How often we must send broadcast packets", |
|
96 |
TimeValue (Seconds (5)), |
|
97 |
MakeTimeAccessor (&FlameProtocol::m_broadcastInterval), |
|
98 |
MakeTimeChecker () |
|
99 |
); |
|
100 |
return tid; |
|
101 |
} |
|
102 |
FlameProtocol::FlameProtocol () : |
|
103 |
m_broadcastInterval (Seconds (5)), |
|
104 |
m_lastBroadcast (Simulator::Now ()), |
|
105 |
m_myLastSeqno (0) |
|
106 |
{ |
|
107 |
} |
|
108 |
FlameProtocol::~FlameProtocol () |
|
109 |
{ |
|
110 |
} |
|
111 |
void |
|
112 |
FlameProtocol::DoDispose () |
|
113 |
{ |
|
114 |
} |
|
115 |
bool |
|
116 |
FlameProtocol::RequestRoute (uint32_t sourceIface, const Mac48Address source, const Mac48Address destination, |
|
117 |
Ptr<const Packet> const_packet, uint16_t protocolType, RouteReplyCallback routeReply) |
|
118 |
{ |
|
119 |
Ptr<Packet> packet = const_packet->Copy (); |
|
120 |
if (source == m_address) |
|
121 |
{ |
|
122 |
//Packet from upper layer! |
|
123 |
if(destination == Mac48Address::GetBroadcast ()) |
|
124 |
{ |
|
125 |
//Broadcast always is forwarded as broadcast! |
|
126 |
FlameHeader flameHdr; |
|
127 |
FlameTag tag (Mac48Address::GetBroadcast ()); |
|
128 |
flameHdr.AddCost (0); |
|
129 |
flameHdr.SetSeqno (m_myLastSeqno ++); |
|
130 |
flameHdr.SetProtocol (protocolType); |
|
131 |
flameHdr.SetOrigDst (destination); |
|
132 |
flameHdr.SetOrigSrc (source); |
|
133 |
packet->AddHeader (flameHdr); |
|
134 |
packet->AddPacketTag (tag); |
|
135 |
routeReply (true, packet, source, destination, FLAME_PORT, FlameRtable::INTERFACE_ANY); |
|
136 |
} |
|
137 |
else |
|
5083
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
138 |
NS_FATAL_ERROR ("unicast not done yet!"); |
5082 | 139 |
} |
140 |
else |
|
141 |
{ |
|
5083
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
142 |
FlameHeader flameHdr; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
143 |
packet->RemoveHeader (flameHdr); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
144 |
//if(DropDataFrame(flameHdr.GetSeqno (), source)) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
145 |
// return false; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
146 |
if(destination == Mac48Address::GetBroadcast ()) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
147 |
{ |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
148 |
//Broadcast always is forwarded as broadcast! |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
149 |
//Broadcast was filtered in RemoveRoutingStuff, because mesh |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
150 |
//point device first calss it |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
151 |
FlameTag tag (Mac48Address::GetBroadcast ()); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
152 |
flameHdr.AddCost (1); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
153 |
packet->AddHeader (flameHdr); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
154 |
packet->AddPacketTag (tag); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
155 |
routeReply (true, packet, source, destination, FLAME_PORT, FlameRtable::INTERFACE_ANY); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
156 |
return true; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
157 |
} |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
158 |
else |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
159 |
{ |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
160 |
if(DropDataFrame(flameHdr.GetSeqno (), source)) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
161 |
return false; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
162 |
NS_FATAL_ERROR ("not done yet!"); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
163 |
} |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
164 |
return true; |
5082 | 165 |
} |
5083
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
166 |
return false; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
167 |
} |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
168 |
bool |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
169 |
FlameProtocol::RemoveRoutingStuff (uint32_t fromIface, const Mac48Address source, |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
170 |
const Mac48Address destination, Ptr<Packet> packet, uint16_t& protocolType) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
171 |
{ |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
172 |
//Filter seqno: |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
173 |
FlameHeader flameHdr; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
174 |
packet->RemoveHeader (flameHdr); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
175 |
NS_ASSERT(protocolType == FLAME_PORT); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
176 |
protocolType = flameHdr.GetProtocol (); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
177 |
if(DropDataFrame(flameHdr.GetSeqno (), source)) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
178 |
return false; |
5082 | 179 |
return true; |
180 |
} |
|
181 |
bool |
|
182 |
FlameProtocol::Install (Ptr<MeshPointDevice> mp) |
|
183 |
{ |
|
184 |
m_mp = mp; |
|
185 |
std::vector<Ptr<NetDevice> > interfaces = mp->GetInterfaces (); |
|
186 |
for (std::vector<Ptr<NetDevice> >::const_iterator i = interfaces.begin (); i != interfaces.end(); i++) |
|
187 |
{ |
|
188 |
// Checking for compatible net device |
|
189 |
Ptr<WifiNetDevice> wifiNetDev = (*i)->GetObject<WifiNetDevice> (); |
|
190 |
if (wifiNetDev == 0) |
|
191 |
return false; |
|
192 |
Ptr<MeshWifiInterfaceMac> mac = wifiNetDev->GetMac ()->GetObject<MeshWifiInterfaceMac> (); |
|
193 |
if (mac == 0) |
|
194 |
return false; |
|
195 |
// Installing plugins: |
|
196 |
Ptr<FlameMacPlugin> flameMac = Create<FlameMacPlugin> (wifiNetDev->GetIfIndex (), this); |
|
197 |
m_interfaces[wifiNetDev->GetIfIndex ()] = flameMac; |
|
198 |
mac->InstallPlugin (flameMac); |
|
199 |
} |
|
200 |
mp->SetRoutingProtocol (this); |
|
201 |
// Mesh point aggregates all installed protocols |
|
202 |
mp->AggregateObject (this); |
|
203 |
m_address = Mac48Address::ConvertFrom (mp->GetAddress ());//* address; |
|
204 |
return true; |
|
205 |
} |
|
206 |
Mac48Address |
|
207 |
FlameProtocol::GetAddress () |
|
208 |
{ |
|
209 |
return m_address; |
|
210 |
} |
|
5083
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
211 |
bool |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
212 |
FlameProtocol::DropDataFrame(uint16_t seqno, Mac48Address source) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
213 |
{ |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
214 |
if(source == GetAddress ()) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
215 |
return true; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
216 |
std::map<Mac48Address, uint16_t,std::less<Mac48Address> >::const_iterator i = m_lastSeqno.find (source); |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
217 |
if (i == m_lastSeqno.end ()) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
218 |
m_lastSeqno[source] = seqno; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
219 |
else |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
220 |
{ |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
221 |
if (i->second >= seqno) |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
222 |
return true; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
223 |
m_lastSeqno[source] = seqno; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
224 |
} |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
225 |
return false; |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
226 |
} |
5b154b30a8a1
Restructured L2RoutingProtocol: added cleanup function, which deletes all tags
Kirill Andreev <andreev@iitp.ru>
parents:
5082
diff
changeset
|
227 |
|
5079
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
228 |
} //namespace flame |
245215e5e6ed
Added flame rtable, fixed DoDispose in HwmpRtable
Kirill Andreev <andreev@iitp.ru>
parents:
diff
changeset
|
229 |
} //namespace ns3 |