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 * This program is free software; you can redistribute it and/or modify | 3 * This program is free software; you can redistribute it and/or modify |
4 * it under the terms of the GNU General Public License version 2 as | 4 * it under the terms of the GNU General Public License version 2 as |
5 * published by the Free Software Foundation; | 5 * published by the Free Software Foundation; |
6 * | 6 * |
7 * This program is distributed in the hope that it will be useful, | 7 * This program is distributed in the hope that it will be useful, |
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 * GNU General Public License for more details. | 10 * GNU General Public License for more details. |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 * interfaces on the right side of the dumbbell | 136 * interfaces on the right side of the dumbbell |
137 * | 137 * |
138 * \param routerIp Ipv4AddressHelper to assign Ipv4 addresses to the· | 138 * \param routerIp Ipv4AddressHelper to assign Ipv4 addresses to the· |
139 * interfaces on the bottleneck link | 139 * interfaces on the bottleneck link |
140 */ | 140 */ |
141 void AssignIpv4Addresses (Ipv4AddressHelper leftIp, | 141 void AssignIpv4Addresses (Ipv4AddressHelper leftIp, |
142 Ipv4AddressHelper rightIp, | 142 Ipv4AddressHelper rightIp, |
143 Ipv4AddressHelper routerIp); | 143 Ipv4AddressHelper routerIp); |
144 | 144 |
145 /** | 145 /** |
146 * \param networkBase a 64-bit integer representing the first 64-bits | 146 * \param network an IPv6 address representing the network portion |
147 * of the Ipv6 Addresses (address will be a /64) | 147 * of the IPv6 Address |
| 148 * \param prefix the prefix length |
148 */ | 149 */ |
149 void AssignIpv6Addresses (uint64_t networkBase); | 150 void AssignIpv6Addresses (Ipv6Address network, Ipv6Prefix prefix); |
150 | 151 |
151 /** | 152 /** |
152 * Sets up the node canvas locations for every node in the dumbbell. | 153 * Sets up the node canvas locations for every node in the dumbbell. |
153 * This is needed for use with the animation interface | 154 * This is needed for use with the animation interface |
154 * | 155 * |
155 * \param ulx upper left x value | 156 * \param ulx upper left x value |
156 * \param uly upper left y value | 157 * \param uly upper left y value |
157 * \param lrx lower right x value | 158 * \param lrx lower right x value |
158 * \param lry lower right y value | 159 * \param lry lower right y value |
159 */ | 160 */ |
(...skipping 16 matching lines...) Expand all Loading... |
176 Ipv6InterfaceContainer m_leftLeafInterfaces6; | 177 Ipv6InterfaceContainer m_leftLeafInterfaces6; |
177 Ipv6InterfaceContainer m_leftRouterInterfaces6; | 178 Ipv6InterfaceContainer m_leftRouterInterfaces6; |
178 Ipv6InterfaceContainer m_rightLeafInterfaces6; | 179 Ipv6InterfaceContainer m_rightLeafInterfaces6; |
179 Ipv6InterfaceContainer m_rightRouterInterfaces6; | 180 Ipv6InterfaceContainer m_rightRouterInterfaces6; |
180 Ipv6InterfaceContainer m_routerInterfaces6; | 181 Ipv6InterfaceContainer m_routerInterfaces6; |
181 }; | 182 }; |
182 | 183 |
183 } // namespace ns3 | 184 } // namespace ns3 |
184 | 185 |
185 #endif /* POINT_TO_POINT_DUMBBELL_HELPER_H */ | 186 #endif /* POINT_TO_POINT_DUMBBELL_HELPER_H */ |
LEFT | RIGHT |