LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 15 matching lines...) Expand all Loading... |
26 namespace ns3 { | 26 namespace ns3 { |
27 | 27 |
28 NS_LOG_COMPONENT_DEFINE ("GlobalRoutingHelper"); | 28 NS_LOG_COMPONENT_DEFINE ("GlobalRoutingHelper"); |
29 | 29 |
30 Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper () | 30 Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper () |
31 { | 31 { |
32 } | 32 } |
33 | 33 |
34 Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper (const Ipv4GlobalRoutingHelper
&o) | 34 Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper (const Ipv4GlobalRoutingHelper
&o) |
35 { | 35 { |
36 NS_UNUSED(o); | 36 NS_UNUSED (o); |
37 } | 37 } |
38 | 38 |
39 Ipv4GlobalRoutingHelper* | 39 Ipv4GlobalRoutingHelper* |
40 Ipv4GlobalRoutingHelper::Copy (void) const | 40 Ipv4GlobalRoutingHelper::Copy (void) const |
41 { | 41 { |
42 return new Ipv4GlobalRoutingHelper (*this); | 42 return new Ipv4GlobalRoutingHelper (*this); |
43 } | 43 } |
44 | 44 |
45 Ptr<Ipv4RoutingProtocol> | 45 Ptr<Ipv4RoutingProtocol> |
46 Ipv4GlobalRoutingHelper::Create (Ptr<Node> node) const | 46 Ipv4GlobalRoutingHelper::Create (Ptr<Node> node) const |
(...skipping 20 matching lines...) Expand all Loading... |
67 void· | 67 void· |
68 Ipv4GlobalRoutingHelper::RecomputeRoutingTables (void) | 68 Ipv4GlobalRoutingHelper::RecomputeRoutingTables (void) |
69 { | 69 { |
70 GlobalRouteManager::DeleteGlobalRoutes (); | 70 GlobalRouteManager::DeleteGlobalRoutes (); |
71 GlobalRouteManager::BuildGlobalRoutingDatabase (); | 71 GlobalRouteManager::BuildGlobalRoutingDatabase (); |
72 GlobalRouteManager::InitializeRoutes (); | 72 GlobalRouteManager::InitializeRoutes (); |
73 } | 73 } |
74 | 74 |
75 | 75 |
76 } // namespace ns3 | 76 } // namespace ns3 |
LEFT | RIGHT |