equal
deleted
inserted
replaced
92 Eui48Address addr); |
92 Eui48Address addr); |
93 |
93 |
94 |
94 |
95 |
95 |
96 /** |
96 /** |
97 * \param n1 Node |
97 * \brief Create an Ipv4 interface for a net device and assign an |
98 * \param ndNum NetDevice number with which to associate address |
98 * Ipv4Address to that interface. |
99 * \param addr1 Ipv4 Address for ndNum of n1 |
99 * |
100 * \param network network mask for ndNum of node n1 |
100 * \param node The node to which to add the new address and corresponding |
|
101 * interface. |
|
102 * \param netDeviceNumber The NetDevice index number with which to associate |
|
103 * the address. |
|
104 * \param address The Ipv4 Address for the interface. |
|
105 * \param network The network mask for the interface |
101 * |
106 * |
102 * Add an Ipv4Address to the Ipv4 interface associated with the |
107 * Add an Ipv4Address to the Ipv4 interface associated with the |
103 * ndNum CsmaIpv4NetDevices on the provided |
108 * ndNum CsmaIpv4NetDevices on the provided CsmaIpv4Channel |
104 * CsmaIpv4Channel |
|
105 */ |
109 */ |
106 static void AddIpv4Address(Ptr<Node> n1, int ndNum, |
110 static uint32_t AddIpv4Address(Ptr<Node> node, |
107 const Ipv4Address& addr1, |
111 uint32_t netDeviceNumber, |
108 const Ipv4Mask& netmask1); |
112 const Ipv4Address address, |
|
113 const Ipv4Mask mask); |
109 |
114 |
110 /** |
115 /** |
111 * \param nd1 Node |
116 * \param nd1 Node |
112 * \param nd2 Node |
117 * \param nd2 Node |
113 * |
118 * |