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) 2009 University of Washington | 3 * Copyright (c) 2009 University of Washington |
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 23 matching lines...) Expand all Loading... |
34 namespace ns3 { | 34 namespace ns3 { |
35 | 35 |
36 NS_LOG_COMPONENT_DEFINE ("Ipv6StaticRoutingHelper"); | 36 NS_LOG_COMPONENT_DEFINE ("Ipv6StaticRoutingHelper"); |
37 | 37 |
38 Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper () | 38 Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper () |
39 { | 39 { |
40 } | 40 } |
41 | 41 |
42 Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper (const Ipv6StaticRoutingHelper
&o) | 42 Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper (const Ipv6StaticRoutingHelper
&o) |
43 { | 43 { |
44 NS_UNUSED(o); | 44 NS_UNUSED (o); |
45 } | 45 } |
46 | 46 |
47 Ipv6StaticRoutingHelper* | 47 Ipv6StaticRoutingHelper* |
48 Ipv6StaticRoutingHelper::Copy (void) const | 48 Ipv6StaticRoutingHelper::Copy (void) const |
49 { | 49 { |
50 return new Ipv6StaticRoutingHelper (*this); | 50 return new Ipv6StaticRoutingHelper (*this); |
51 } | 51 } |
52 | 52 |
53 Ptr<Ipv6RoutingProtocol> | 53 Ptr<Ipv6RoutingProtocol> |
54 Ipv6StaticRoutingHelper::Create (Ptr<Node> node) const | 54 Ipv6StaticRoutingHelper::Create (Ptr<Node> node) const |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 std::string nName,· | 206 std::string nName,· |
207 std::string ndName) | 207 std::string ndName) |
208 { | 208 { |
209 Ptr<Node> n = Names::Find<Node> (nName); | 209 Ptr<Node> n = Names::Find<Node> (nName); |
210 Ptr<NetDevice> nd = Names::Find<NetDevice> (ndName); | 210 Ptr<NetDevice> nd = Names::Find<NetDevice> (ndName); |
211 SetDefaultMulticastRoute (n, nd); | 211 SetDefaultMulticastRoute (n, nd); |
212 } | 212 } |
213 #endif | 213 #endif |
214 | 214 |
215 } // namespace ns3 | 215 } // namespace ns3 |
LEFT | RIGHT |