--- a/src/helper/point-to-point-helper.h Tue Nov 24 14:00:39 2009 +0100
+++ b/src/helper/point-to-point-helper.h Tue Nov 24 10:16:58 2009 -0500
@@ -240,62 +240,6 @@
*/
NetDeviceContainer Install (std::string aNode, std::string bNode);
- /**
- * \brief Make a star network topology.
- *
- * Given a pointer to a node that will become the hub of the star, and a
- * NodeContainer containing pointers to the nodes that will become the
- * spokes; we construct point to point net devices on the hub (corresponding
- * to the spokes) and store them in the hubDevices NetDeviceContainer. We
- * add a net device to each spoke node and store them in the spokeDevices
- * NetDeviceContainer. A point-to-point channel is created for each spoke.
- *
- * The ordering of the devices in the hubDevices container is according to
- * the order of the spokes container -- that is, hubDevices[0] will be the
- * net device used on the hub that talks to spokes[0]. the container entry
- * spokeDevices[0] will have the device that hubDevices[0] talks to -- those
- * two devices are the ones that connect hub to spokes[0].
- *
- * \param hub The central node of the star network
- * \param spokes A NodeContainer of the nodes that will be the spoke (leaf)
- * nodes
- * \param hubDevices A NetDeviceContainer that will be filled with pointers
- * to the point-to-point net devices created on the hub.
- * \param spokeDevices A NetDeviceContainer that will be filled with pointers
- * to the point-to-point net devices created on each of
- * the spokes.
- */
- void InstallStar (Ptr<Node> hub, NodeContainer spokes,
- NetDeviceContainer& hubDevices, NetDeviceContainer& spokeDevices);
-
- /**
- * \brief Make a star network topology.
- *
- * Given a pointer to a node that will become the hub of the star, and a
- * NodeContainer containing pointers to the nodes that will become the
- * spokes; we construct point to point net devices on the hub (corresponding
- * to the spokes) and store them in the hubDevices NetDeviceContainer. We
- * add a net device to each spoke node and store them in the spokeDevices
- * NetDeviceContainer. A point-to-point channel is created for each spoke.
- *
- * The ordering of the devices in the hubDevices container is according to
- * the order of the spokes container -- that is, hubDevices[0] will be the
- * net device used on the hub that talks to spokes[0]. the container entry
- * spokeDevices[0] will have the device that hubDevices[0] talks to -- those
- * two devices are the ones that connect hub to spokes[0].
- *
- * \param hubName The name of the central node of the star network
- * \param spokes A NodeContainer of the nodes that will be the spoke (leaf)
- * nodes
- * \param hubDevices A NetDeviceContainer that will be filled with pointers
- * to the point-to-point net devices created on the hub.
- * \param spokeDevices A NetDeviceContainer that will be filled with pointers
- * to the point-to-point net devices created on each of
- * the spokes.
- */
- void InstallStar (std::string hubName, NodeContainer spokes,
- NetDeviceContainer& hubDevices, NetDeviceContainer& spokeDevices);
-
private:
void EnablePcap (Ptr<Node> node, Ptr<NetDevice> device, Ptr<Queue> queue);
static void SniffEvent (Ptr<PcapWriter> writer, Ptr<const Packet> packet);